Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test11.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test11") translateModel(ModelicaTest.Tables.CombiTimeTable.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008845/0.0008844, allocations: 177.3 kB / 17.41 MB, free: 4.414 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.451/1.451, allocations: 205.4 MB / 223.6 MB, free: 9.039 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007792/0.0007792, allocations: 82.44 kB / 271.9 MB, free: 8.277 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3413/0.3413, allocations: 43.56 MB / 363.7 MB, free: 51.93 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003834/0.0003836, allocations: 20 kB / 432.6 MB, free: 5.676 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1294/0.1298, allocations: 58.85 MB / 491.5 MB, free: 10.74 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3682/0.4981, allocations: 88.75 MB / 0.5666 GB, free: 13.55 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00026/0.4984, allocations: 75.95 kB / 0.5667 GB, free: 13.48 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0115/0.5099, allocations: 4.26 MB / 0.5708 GB, free: 9.254 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.5099, allocations: 0 / 0.5708 GB, free: 9.254 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.583e-05/0.51, allocations: 4 kB / 0.5708 GB, free: 9.25 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005696/0.5105, allocations: 489.5 kB / 0.5713 GB, free: 8.719 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/0.5106, allocations: 8.031 kB / 0.5713 GB, free: 8.711 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.616e-05/0.5106, allocations: 16.75 kB / 0.5713 GB, free: 8.695 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000294/0.5109, allocations: 232.4 kB / 0.5716 GB, free: 8.43 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.542e-05/0.511, allocations: 12.36 kB / 0.5716 GB, free: 8.418 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.57e-05/0.511, allocations: 4.375 kB / 0.5716 GB, free: 8.414 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002186/0.5112, allocations: 114 kB / 0.5717 GB, free: 8.293 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.5113, allocations: 192 / 0.5717 GB, free: 8.293 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.845e-05/0.5113, allocations: 7.938 kB / 0.5717 GB, free: 8.285 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.5113, allocations: 4 kB / 0.5717 GB, free: 8.281 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001473/0.5114, allocations: 55.91 kB / 0.5717 GB, free: 8.227 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005886/0.512, allocations: 0.5131 MB / 0.5722 GB, free: 7.656 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002995/0.5124, allocations: 94.66 kB / 0.5723 GB, free: 7.555 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.518e-05/0.5125, allocations: 36.84 kB / 0.5724 GB, free: 7.516 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.637e-05/0.5125, allocations: 0 / 0.5724 GB, free: 7.516 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001823/0.5127, allocations: 103.2 kB / 0.5725 GB, free: 7.406 MB / 394.7 MB Notification: Performance of pre-optimization done (n=9): time 1.253e-06/0.5127, allocations: 0 / 0.5725 GB, free: 7.406 MB / 394.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003832/0.5131, allocations: 145.5 kB / 0.5726 GB, free: 7.258 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.625e-05/0.5131, allocations: 51.41 kB / 0.5727 GB, free: 7.195 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001871/0.5133, allocations: 199.4 kB / 0.5728 GB, free: 6.984 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.835e-05/0.5134, allocations: 25.7 kB / 0.5729 GB, free: 6.953 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.914e-05/0.5134, allocations: 124 kB / 0.573 GB, free: 6.828 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.333e-05/0.5135, allocations: 23.66 kB / 0.573 GB, free: 6.805 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.961e-06/0.5135, allocations: 0 / 0.573 GB, free: 6.805 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001253/0.5136, allocations: 330.8 kB / 0.5733 GB, free: 6.473 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.086e-05/0.5137, allocations: 31.97 kB / 0.5734 GB, free: 6.441 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.913e-05/0.5138, allocations: 68.44 kB / 0.5734 GB, free: 6.359 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002001/0.514, allocations: 117.2 kB / 0.5735 GB, free: 6.23 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.514, allocations: 0 / 0.5735 GB, free: 6.23 MB / 394.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002605/0.5143, allocations: 145.3 kB / 0.5737 GB, free: 6.082 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.5143, allocations: 8 kB / 0.5737 GB, free: 6.074 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.5143, allocations: 2.969 kB / 0.5737 GB, free: 6.074 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.5143, allocations: 7.984 kB / 0.5737 GB, free: 6.066 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.036e-05/0.5144, allocations: 20.12 kB / 0.5737 GB, free: 6.047 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.5145, allocations: 7.984 kB / 0.5737 GB, free: 6.039 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.744e-05/0.5145, allocations: 11.91 kB / 0.5737 GB, free: 6.027 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.478e-05/0.5146, allocations: 11.94 kB / 0.5737 GB, free: 6.016 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001024/0.5147, allocations: 121.8 kB / 0.5739 GB, free: 5.887 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.347e-05/0.5147, allocations: 19.8 kB / 0.5739 GB, free: 5.867 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002914/0.515, allocations: 139 kB / 0.574 GB, free: 5.73 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.515, allocations: 0 / 0.574 GB, free: 5.73 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.515, allocations: 0 / 0.574 GB, free: 5.73 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.515, allocations: 0 / 0.574 GB, free: 5.73 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000173/0.5152, allocations: 213.5 kB / 0.5742 GB, free: 5.473 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.5152, allocations: 7.984 kB / 0.5742 GB, free: 5.465 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.585e-05/0.5153, allocations: 12 kB / 0.5742 GB, free: 5.453 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.5153, allocations: 3.984 kB / 0.5742 GB, free: 5.449 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.549e-05/0.5153, allocations: 4 kB / 0.5742 GB, free: 5.445 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.5153, allocations: 4 kB / 0.5742 GB, free: 5.441 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.5153, allocations: 0 / 0.5742 GB, free: 5.441 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000367/0.5157, allocations: 202.7 kB / 0.5744 GB, free: 5.227 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.308e-05/0.5158, allocations: 89.03 kB / 0.5745 GB, free: 5.121 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.618e-05/0.5158, allocations: 8.344 kB / 0.5745 GB, free: 5.113 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.201e-05/0.5159, allocations: 8 kB / 0.5745 GB, free: 5.105 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.247e-05/0.5159, allocations: 11.92 kB / 0.5745 GB, free: 5.094 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.019e-05/0.516, allocations: 7.938 kB / 0.5746 GB, free: 5.086 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001178/0.5161, allocations: 145.1 kB / 0.5747 GB, free: 4.945 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5161, allocations: 0 / 0.5747 GB, free: 4.945 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000235/0.5163, allocations: 43.95 kB / 0.5747 GB, free: 4.902 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008869/0.5172, allocations: 430.8 kB / 0.5751 GB, free: 4.57 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002999/0.5175, allocations: 87.83 kB / 0.5752 GB, free: 4.484 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.399e-06/0.5175, allocations: 0 / 0.5752 GB, free: 4.484 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001051/0.5177, allocations: 39.92 kB / 0.5753 GB, free: 4.445 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002776/0.5179, allocations: 32.22 kB / 0.5753 GB, free: 4.414 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005101/0.5185, allocations: 333.8 kB / 0.5756 GB, free: 4.066 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002568/0.5187, allocations: 0.7165 MB / 0.5763 GB, free: 3.324 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.099e-05/0.5188, allocations: 15.44 kB / 0.5763 GB, free: 3.312 MB / 394.7 MB Notification: Performance of SimCode: time 2.31e-07/0.5188, allocations: 0 / 0.5763 GB, free: 3.312 MB / 394.7 MB Notification: Performance of Templates: time 0.003705/0.5225, allocations: 2.172 MB / 0.5785 GB, free: 1.148 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test11.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test11.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test11 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test11/Test11.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches