Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001563/0.001563, allocations: 117.1 kB / 16.63 MB, free: 6.812 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001747/0.001747, allocations: 185.8 kB / 17.55 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.36/1.36, allocations: 222.9 MB / 241.2 MB, free: 15.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009807/0.0009807, allocations: 46.95 kB / 300.1 MB, free: 6.191 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1104/0.1114, allocations: 49.45 MB / 349.6 MB, free: 4.73 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked): time 0.003445/0.1149, allocations: 1.6 MB / 351.2 MB, free: 3.113 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007796/0.1157, allocations: 462.9 kB / 351.6 MB, free: 2.656 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.848e-05/0.1158, allocations: 0 / 351.6 MB, free: 2.656 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 4.845e-05/0.1159, allocations: 3.938 kB / 351.6 MB, free: 2.652 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000145/0.116, allocations: 11.94 kB / 351.7 MB, free: 2.641 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002548/0.1163, allocations: 45.89 kB / 351.7 MB, free: 2.598 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 8.784e-05/0.1164, allocations: 39.84 kB / 351.7 MB, free: 2.559 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001035/0.1165, allocations: 8 kB / 351.7 MB, free: 2.551 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.701e-05/0.1166, allocations: 23.86 kB / 351.8 MB, free: 2.527 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.004e-05/0.1166, allocations: 11.94 kB / 351.8 MB, free: 2.516 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.769e-05/0.1166, allocations: 4 kB / 351.8 MB, free: 2.512 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.161e-05/0.1166, allocations: 4 kB / 351.8 MB, free: 2.508 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.558e-05/0.1167, allocations: 19.91 kB / 351.8 MB, free: 2.488 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.406e-05/0.1167, allocations: 23.81 kB / 351.8 MB, free: 2.465 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001099/0.1169, allocations: 47.81 kB / 351.9 MB, free: 2.418 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.1169, allocations: 0 / 351.9 MB, free: 2.418 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1169, allocations: 0 / 351.9 MB, free: 2.418 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.25e-06/0.1169, allocations: 0 / 351.9 MB, free: 2.418 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004732/0.1174, allocations: 367.5 kB / 352.2 MB, free: 2.012 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.1174, allocations: 8.031 kB / 352.2 MB, free: 2.004 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.345e-05/0.1175, allocations: 8.844 kB / 352.2 MB, free: 1.996 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001939/0.1177, allocations: 196.1 kB / 352.4 MB, free: 1.766 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.287e-06/0.1177, allocations: 384 / 352.4 MB, free: 1.766 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.824e-05/0.1177, allocations: 12.3 kB / 352.5 MB, free: 1.754 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002449/0.1179, allocations: 97.41 kB / 352.5 MB, free: 1.641 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.118, allocations: 3.938 kB / 352.6 MB, free: 1.637 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.769e-06/0.118, allocations: 0 / 352.6 MB, free: 1.637 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.118, allocations: 8 kB / 352.6 MB, free: 1.629 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.665e-05/0.1181, allocations: 15.92 kB / 352.6 MB, free: 1.613 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003389/0.1184, allocations: 257.8 kB / 352.8 MB, free: 1.309 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.189e-05/0.1185, allocations: 49.14 kB / 352.9 MB, free: 1.242 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.092e-05/0.1186, allocations: 21.77 kB / 352.9 MB, free: 1.215 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.951e-05/0.1186, allocations: 0 / 352.9 MB, free: 1.215 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.693e-05/0.1186, allocations: 38.56 kB / 352.9 MB, free: 1.168 MB / 286.1 MB Notification: Performance of pre-optimization done (n=2): time 8.41e-07/0.1186, allocations: 3.938 kB / 352.9 MB, free: 1.164 MB / 286.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002323/0.1189, allocations: 65.73 kB / 353 MB, free: 1.094 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.809e-05/0.1189, allocations: 85.14 kB / 353.1 MB, free: 0.9922 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000123/0.1191, allocations: 137 kB / 353.2 MB, free: 0.8516 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.258e-05/0.1191, allocations: 29.64 kB / 353.2 MB, free: 0.8164 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.803e-05/0.1191, allocations: 84.14 kB / 353.3 MB, free: 0.7305 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.922e-05/0.1192, allocations: 7.891 kB / 353.3 MB, free: 0.7227 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.271e-05/0.1192, allocations: 17.72 kB / 353.4 MB, free: 0.6992 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001115/0.1193, allocations: 318.8 kB / 353.7 MB, free: 388 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.044e-05/0.1194, allocations: 15.98 kB / 353.7 MB, free: 372 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.68e-05/0.1194, allocations: 13.72 kB / 353.7 MB, free: 352 kB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.224e-05/0.1195, allocations: 29.7 kB / 353.7 MB, free: 316 kB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.1195, allocations: 0 / 353.7 MB, free: 316 kB / 286.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001191/0.1196, allocations: 65.58 kB / 353.8 MB, free: 244 kB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.1197, allocations: 4 kB / 353.8 MB, free: 240 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.962e-06/0.1197, allocations: 4 kB / 353.8 MB, free: 236 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.125e-05/0.1197, allocations: 0 / 353.8 MB, free: 236 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.801e-05/0.1198, allocations: 4 kB / 353.8 MB, free: 232 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.852e-06/0.1198, allocations: 0 / 353.8 MB, free: 232 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.481e-05/0.1198, allocations: 4 kB / 353.8 MB, free: 228 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.377e-06/0.1198, allocations: 3.984 kB / 353.8 MB, free: 224 kB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.179e-05/0.1199, allocations: 125.8 kB / 353.9 MB, free: 88 kB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.524e-05/0.12, allocations: 37.64 kB / 354 MB, free: 44 kB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.484e-05/0.1201, allocations: 15.86 kB / 354 MB, free: 24 kB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-06/0.1201, allocations: 0 / 354 MB, free: 24 kB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.1201, allocations: 0 / 354 MB, free: 24 kB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.1201, allocations: 0 / 354 MB, free: 24 kB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002156/0.1203, allocations: 169.6 kB / 354.1 MB, free: 15.81 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.1203, allocations: 4 kB / 354.2 MB, free: 15.8 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.721e-05/0.1204, allocations: 4 kB / 354.2 MB, free: 15.8 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.1204, allocations: 0 / 354.2 MB, free: 15.8 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.326e-06/0.1204, allocations: 32 / 354.2 MB, free: 15.8 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.1204, allocations: 4 kB / 354.2 MB, free: 15.8 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1204, allocations: 3.938 kB / 354.2 MB, free: 15.79 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000201/0.1206, allocations: 164.2 kB / 354.3 MB, free: 15.61 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.118e-05/0.1207, allocations: 93 kB / 354.4 MB, free: 15.5 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.839e-05/0.1207, allocations: 3.938 kB / 354.4 MB, free: 15.5 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.847e-05/0.1208, allocations: 12.03 kB / 354.4 MB, free: 15.49 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.102e-05/0.1209, allocations: 3.984 kB / 354.4 MB, free: 15.48 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.28e-06/0.1209, allocations: 4 kB / 354.4 MB, free: 15.48 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.817e-05/0.121, allocations: 103.3 kB / 354.5 MB, free: 15.38 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.121, allocations: 0 / 354.5 MB, free: 15.38 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002244/0.1212, allocations: 4 kB / 354.5 MB, free: 15.38 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00012/0.1213, allocations: 106.7 kB / 354.6 MB, free: 15.27 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001365/0.1215, allocations: 27.92 kB / 354.7 MB, free: 15.24 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1215, allocations: 0 / 354.7 MB, free: 15.24 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.971e-05/0.1215, allocations: 12 kB / 354.7 MB, free: 15.23 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003458/0.1219, allocations: 18.36 kB / 354.7 MB, free: 15.21 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00035/0.1222, allocations: 183.6 kB / 354.9 MB, free: 15 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002557/0.1225, allocations: 0.6846 MB / 355.6 MB, free: 14.29 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.666e-05/0.1225, allocations: 15.91 kB / 355.6 MB, free: 14.27 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.763e-05/0.1226, allocations: 7.438 kB / 355.6 MB, free: 14.27 MB / 302.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1226, allocations: 0 / 355.6 MB, free: 14.27 MB / 302.1 MB Notification: Performance of Templates: time 0.002766/0.1254, allocations: 443 kB / 356 MB, free: 13.84 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches