Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test84.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.Test84,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test84") translateModel(ModelicaTest.Tables.CombiTimeTable.Test84,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test84") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001293/0.001293, allocations: 181.3 kB / 17.41 MB, free: 4.41 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.688/1.688, allocations: 205.4 MB / 223.6 MB, free: 8.953 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.0007759/0.0007762, allocations: 92.41 kB / 271.9 MB, free: 8.246 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.3713/0.3713, allocations: 43.57 MB / 363.8 MB, free: 51.85 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004147/0.000415, allocations: 20 kB / 432.6 MB, free: 5.645 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1253/0.1257, allocations: 58.85 MB / 491.5 MB, free: 10.71 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3171/0.4428, allocations: 87.98 MB / 0.5659 GB, free: 14.3 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002376/0.4431, allocations: 71.97 kB / 0.5659 GB, free: 14.23 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0161/0.4592, allocations: 5.982 MB / 0.5718 GB, free: 8.289 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.264e-06/0.4593, allocations: 0 / 0.5718 GB, free: 8.289 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.159e-05/0.4593, allocations: 0 / 0.5718 GB, free: 8.289 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005616/0.4599, allocations: 414.1 kB / 0.5722 GB, free: 7.836 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.4599, allocations: 12.03 kB / 0.5722 GB, free: 7.824 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.167e-05/0.46, allocations: 8.844 kB / 0.5722 GB, free: 7.816 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000299/0.4603, allocations: 212 kB / 0.5724 GB, free: 7.57 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.659e-05/0.4603, allocations: 4.375 kB / 0.5724 GB, free: 7.566 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.527e-05/0.4603, allocations: 4.375 kB / 0.5724 GB, free: 7.562 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001603/0.4605, allocations: 71.89 kB / 0.5725 GB, free: 7.48 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.4605, allocations: 4.188 kB / 0.5725 GB, free: 7.477 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.487e-05/0.4605, allocations: 3.938 kB / 0.5725 GB, free: 7.473 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.4606, allocations: 0 / 0.5725 GB, free: 7.473 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.633e-05/0.4606, allocations: 23.98 kB / 0.5725 GB, free: 7.449 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003973/0.461, allocations: 288.8 kB / 0.5728 GB, free: 7.117 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001626/0.4612, allocations: 66.55 kB / 0.5728 GB, free: 7.043 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.585e-05/0.4613, allocations: 20.84 kB / 0.5728 GB, free: 7.02 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.792e-05/0.4613, allocations: 8 kB / 0.5729 GB, free: 7.012 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001568/0.4615, allocations: 64.27 kB / 0.5729 GB, free: 6.938 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.342e-06/0.4615, allocations: 0 / 0.5729 GB, free: 6.938 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005585/0.4621, allocations: 165.5 kB / 0.5731 GB, free: 6.77 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.613e-05/0.4621, allocations: 89.09 kB / 0.5732 GB, free: 6.664 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001552/0.4623, allocations: 159.7 kB / 0.5733 GB, free: 6.504 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.936e-05/0.4623, allocations: 25.7 kB / 0.5733 GB, free: 6.473 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.647e-05/0.4624, allocations: 100.1 kB / 0.5734 GB, free: 6.371 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.853e-05/0.4624, allocations: 19.7 kB / 0.5735 GB, free: 6.352 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.833e-06/0.4624, allocations: 4 kB / 0.5735 GB, free: 6.348 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001256/0.4626, allocations: 322.8 kB / 0.5738 GB, free: 6.023 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.129e-05/0.4626, allocations: 23.98 kB / 0.5738 GB, free: 6 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.81e-05/0.4627, allocations: 47.25 kB / 0.5738 GB, free: 5.945 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001102/0.4628, allocations: 57.7 kB / 0.5739 GB, free: 5.883 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.4628, allocations: 0 / 0.5739 GB, free: 5.883 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001902/0.463, allocations: 109.6 kB / 0.574 GB, free: 5.77 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.4631, allocations: 8.188 kB / 0.574 GB, free: 5.762 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.4631, allocations: 128 / 0.574 GB, free: 5.762 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.4631, allocations: 8 kB / 0.574 GB, free: 5.754 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.81e-05/0.4632, allocations: 19.98 kB / 0.574 GB, free: 5.734 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/0.4632, allocations: 4 kB / 0.574 GB, free: 5.73 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.639e-05/0.4633, allocations: 4 kB / 0.574 GB, free: 5.727 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.887e-06/0.4633, allocations: 4 kB / 0.574 GB, free: 5.723 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 9.288e-05/0.4634, allocations: 129.7 kB / 0.5742 GB, free: 5.586 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.997e-05/0.4634, allocations: 7.906 kB / 0.5742 GB, free: 5.578 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002439/0.4637, allocations: 118.2 kB / 0.5743 GB, free: 5.457 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.4637, allocations: 8 kB / 0.5743 GB, free: 5.449 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.4637, allocations: 3.984 kB / 0.5743 GB, free: 5.445 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.4637, allocations: 0 / 0.5743 GB, free: 5.445 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004566/0.4642, allocations: 411.1 kB / 0.5747 GB, free: 4.984 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-06/0.4642, allocations: 4 kB / 0.5747 GB, free: 4.98 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.648e-05/0.4642, allocations: 8 kB / 0.5747 GB, free: 4.973 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.4642, allocations: 0 / 0.5747 GB, free: 4.973 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.948e-06/0.4642, allocations: 0 / 0.5747 GB, free: 4.973 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.4643, allocations: 8.031 kB / 0.5747 GB, free: 4.965 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.4643, allocations: 3.938 kB / 0.5747 GB, free: 4.961 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002345/0.4645, allocations: 208.2 kB / 0.5749 GB, free: 4.738 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.124e-05/0.4646, allocations: 93 kB / 0.575 GB, free: 4.629 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.451e-05/0.4646, allocations: 0 / 0.575 GB, free: 4.629 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.284e-05/0.4647, allocations: 4 kB / 0.575 GB, free: 4.625 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.559e-05/0.4647, allocations: 19.92 kB / 0.575 GB, free: 4.605 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.536e-06/0.4647, allocations: 0 / 0.575 GB, free: 4.605 MB / 394.7 MB Notification: Performance of sorting global known variables: time 9.684e-05/0.4649, allocations: 120.5 kB / 0.5751 GB, free: 4.488 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4649, allocations: 0 / 0.5751 GB, free: 4.488 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002955/0.4652, allocations: 36 kB / 0.5752 GB, free: 4.453 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * 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 (9): * Single equations (assignments): 7 * 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.001108/0.4663, allocations: 0.5079 MB / 0.5757 GB, free: 4.043 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001879/0.4665, allocations: 59.92 kB / 0.5757 GB, free: 3.984 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.4665, allocations: 4 kB / 0.5757 GB, free: 3.98 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001012/0.4666, allocations: 36.03 kB / 0.5758 GB, free: 3.945 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003399/0.4669, allocations: 27.97 kB / 0.5758 GB, free: 3.918 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005026/0.4675, allocations: 253.8 kB / 0.576 GB, free: 3.641 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002955/0.4678, allocations: 0.6965 MB / 0.5767 GB, free: 2.918 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.977e-05/0.4678, allocations: 19.42 kB / 0.5767 GB, free: 2.902 MB / 394.7 MB Notification: Performance of SimCode: time 2.3e-07/0.4678, allocations: 0 / 0.5767 GB, free: 2.902 MB / 394.7 MB Notification: Performance of Templates: time 0.003884/0.4717, allocations: 2.035 MB / 0.5787 GB, free: 0.8789 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test84.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test84.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test84.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test84 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test84.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test84/Test84.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test84.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches