Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test62.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.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test62") translateModel(ModelicaTest.Tables.CombiTimeTable.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test62") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001511/0.00151, allocations: 186 kB / 16.41 MB, free: 5.727 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.944/1.944, allocations: 205.4 MB / 222.5 MB, free: 9.141 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.001153/0.001152, allocations: 92.73 kB / 270.9 MB, free: 8.387 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.5193/0.5193, allocations: 43.55 MB / 362.7 MB, free: 51.91 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009321/0.0009321, allocations: 23.98 kB / 431.4 MB, free: 5.957 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1535/0.1545, allocations: 58.84 MB / 490.2 MB, free: 11.03 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4643/0.6188, allocations: 87.55 MB / 0.5642 GB, free: 15.03 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003341/0.6192, allocations: 79.95 kB / 0.5643 GB, free: 14.95 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02477/0.644, allocations: 5.551 MB / 0.5697 GB, free: 9.449 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.304e-06/0.6441, allocations: 0.75 kB / 0.5697 GB, free: 9.449 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.718e-05/0.6441, allocations: 0 / 0.5697 GB, free: 9.449 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0007052/0.6448, allocations: 439 kB / 0.5701 GB, free: 8.977 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.708e-05/0.6449, allocations: 15.97 kB / 0.5702 GB, free: 8.961 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.781e-05/0.6449, allocations: 11.81 kB / 0.5702 GB, free: 8.949 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004166/0.6454, allocations: 232.3 kB / 0.5704 GB, free: 8.688 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.242e-05/0.6454, allocations: 4 kB / 0.5704 GB, free: 8.684 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.702e-05/0.6454, allocations: 4 kB / 0.5704 GB, free: 8.68 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000174/0.6456, allocations: 52.95 kB / 0.5705 GB, free: 8.625 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.226e-06/0.6456, allocations: 0 / 0.5705 GB, free: 8.625 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.321e-05/0.6457, allocations: 0 / 0.5705 GB, free: 8.625 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.6457, allocations: 0 / 0.5705 GB, free: 8.625 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001015/0.6458, allocations: 17.02 kB / 0.5705 GB, free: 8.609 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002738/0.6461, allocations: 205.5 kB / 0.5707 GB, free: 8.359 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002373/0.6463, allocations: 50.62 kB / 0.5707 GB, free: 8.301 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.655e-05/0.6464, allocations: 0 / 0.5707 GB, free: 8.301 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001954/0.6466, allocations: 68.3 kB / 0.5708 GB, free: 8.223 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 1.663e-06/0.6466, allocations: 0 / 0.5708 GB, free: 8.223 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004199/0.647, allocations: 105.6 kB / 0.5709 GB, free: 8.113 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.701e-05/0.6471, allocations: 51.41 kB / 0.5709 GB, free: 8.051 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004071/0.6475, allocations: 245.7 kB / 0.5712 GB, free: 7.801 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.938e-05/0.6475, allocations: 25.7 kB / 0.5712 GB, free: 7.77 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.64e-05/0.6477, allocations: 166.6 kB / 0.5713 GB, free: 7.605 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.012e-05/0.6477, allocations: 7.906 kB / 0.5714 GB, free: 7.598 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.891e-06/0.6477, allocations: 3.938 kB / 0.5714 GB, free: 7.594 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001381/0.6479, allocations: 314.8 kB / 0.5717 GB, free: 7.277 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.327e-05/0.648, allocations: 15.98 kB / 0.5717 GB, free: 7.262 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.781e-05/0.6481, allocations: 29.7 kB / 0.5717 GB, free: 7.227 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.589e-05/0.6482, allocations: 24.06 kB / 0.5717 GB, free: 7.203 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.169e-06/0.6482, allocations: 3.953 kB / 0.5717 GB, free: 7.199 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002416/0.6484, allocations: 81.52 kB / 0.5718 GB, free: 7.113 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.6485, allocations: 4 kB / 0.5718 GB, free: 7.109 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.187e-06/0.6485, allocations: 4 kB / 0.5718 GB, free: 7.105 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.6485, allocations: 0 / 0.5718 GB, free: 7.105 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001219/0.6487, allocations: 8 kB / 0.5718 GB, free: 7.098 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.348e-06/0.6487, allocations: 3.938 kB / 0.5718 GB, free: 7.094 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.716e-05/0.6488, allocations: 16.02 kB / 0.5718 GB, free: 7.078 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.276e-05/0.6488, allocations: 4 kB / 0.5718 GB, free: 7.074 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 (7): * Single equations (assignments): 7 * 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.0001527/0.649, allocations: 133.8 kB / 0.572 GB, free: 6.934 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.885e-05/0.649, allocations: 19.77 kB / 0.572 GB, free: 6.914 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003239/0.6494, allocations: 98.66 kB / 0.5721 GB, free: 6.816 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.09e-05/0.6494, allocations: 4 kB / 0.5721 GB, free: 6.812 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.6494, allocations: 0 / 0.5721 GB, free: 6.812 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.6494, allocations: 0.75 kB / 0.5721 GB, free: 6.812 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000243/0.6497, allocations: 209.5 kB / 0.5723 GB, free: 6.559 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.6497, allocations: 0 / 0.5723 GB, free: 6.559 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.001e-05/0.6497, allocations: 11.89 kB / 0.5723 GB, free: 6.547 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.6498, allocations: 0 / 0.5723 GB, free: 6.547 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.139e-05/0.6498, allocations: 0 / 0.5723 GB, free: 6.547 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.529e-06/0.6498, allocations: 3.984 kB / 0.5723 GB, free: 6.543 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.6498, allocations: 0 / 0.5723 GB, free: 6.543 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002941/0.6501, allocations: 120.9 kB / 0.5724 GB, free: 6.406 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000107/0.6502, allocations: 100.9 kB / 0.5725 GB, free: 6.289 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.314e-05/0.6503, allocations: 12.12 kB / 0.5725 GB, free: 6.277 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.262e-05/0.6504, allocations: 8 kB / 0.5725 GB, free: 6.27 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.156e-05/0.6504, allocations: 4 kB / 0.5725 GB, free: 6.266 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.237e-05/0.6504, allocations: 4 kB / 0.5725 GB, free: 6.262 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002947/0.6507, allocations: 192.2 kB / 0.5727 GB, free: 6.074 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.6508, allocations: 0 / 0.5727 GB, free: 6.074 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003159/0.6511, allocations: 27.94 kB / 0.5728 GB, free: 6.047 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.001232/0.6523, allocations: 420.9 kB / 0.5732 GB, free: 5.73 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002661/0.6526, allocations: 47.91 kB / 0.5732 GB, free: 5.684 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.6526, allocations: 0 / 0.5732 GB, free: 5.684 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001157/0.6528, allocations: 31.92 kB / 0.5732 GB, free: 5.652 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003237/0.6531, allocations: 21.66 kB / 0.5732 GB, free: 5.633 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007415/0.6538, allocations: 322 kB / 0.5736 GB, free: 5.289 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00036/0.6542, allocations: 0.716 MB / 0.5743 GB, free: 4.547 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.197e-05/0.6543, allocations: 19.42 kB / 0.5743 GB, free: 4.531 MB / 394.7 MB Notification: Performance of SimCode: time 1.052e-06/0.6543, allocations: 4 kB / 0.5743 GB, free: 4.527 MB / 394.7 MB Notification: Performance of Templates: time 0.005447/0.6598, allocations: 1.919 MB / 0.5762 GB, free: 2.609 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test62.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test62.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test62 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test62/Test62.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test62.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches