Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.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.Test73,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73") translateModel(ModelicaTest.Tables.CombiTimeTable.Test73,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001263/0.001263, allocations: 185.7 kB / 13.19 MB, free: 2.121 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.37/1.37, allocations: 205.2 MB / 218.9 MB, free: 9.203 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.000799/0.0007991, allocations: 91.53 kB / 267.1 MB, free: 9.281 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.3377/0.3377, allocations: 43.46 MB / 358.6 MB, free: 52.35 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.485e-05/2.486e-05, allocations: 4 kB / 425.3 MB, free: 8.875 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1108/0.1109, allocations: 58.84 MB / 484.2 MB, free: 13.93 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3433/0.4542, allocations: 87.73 MB / 0.5585 GB, free: 1.281 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002167/0.4545, allocations: 73.28 kB / 0.5586 GB, free: 1.211 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0187/0.4732, allocations: 7.514 MB / 0.5659 GB, free: 9.746 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.4732, allocations: 0 / 0.5659 GB, free: 9.746 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.713e-05/0.4733, allocations: 4 kB / 0.5659 GB, free: 9.742 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005444/0.4738, allocations: 476 kB / 0.5664 GB, free: 9.238 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/0.4739, allocations: 12.03 kB / 0.5664 GB, free: 9.227 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.548e-05/0.4739, allocations: 23.16 kB / 0.5664 GB, free: 9.207 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004121/0.4743, allocations: 274.5 kB / 0.5667 GB, free: 8.898 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.916e-05/0.4744, allocations: 4 kB / 0.5667 GB, free: 8.895 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.776e-05/0.4744, allocations: 11.94 kB / 0.5667 GB, free: 8.883 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001969/0.4746, allocations: 95.36 kB / 0.5668 GB, free: 8.777 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.4746, allocations: 4 kB / 0.5668 GB, free: 8.773 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.415e-05/0.4746, allocations: 1.375 kB / 0.5668 GB, free: 8.773 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.4747, allocations: 0 / 0.5668 GB, free: 8.773 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.551e-05/0.4747, allocations: 39.97 kB / 0.5668 GB, free: 8.734 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000529/0.4753, allocations: 464.8 kB / 0.5672 GB, free: 8.227 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001749/0.4755, allocations: 113.4 kB / 0.5674 GB, free: 8.098 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.911e-05/0.4755, allocations: 41.83 kB / 0.5674 GB, free: 8.051 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.512e-05/0.4756, allocations: 0 / 0.5674 GB, free: 8.051 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001822/0.4758, allocations: 113 kB / 0.5675 GB, free: 7.922 MB / 394.7 MB Notification: Performance of pre-optimization done (n=12): time 1.072e-06/0.4758, allocations: 0 / 0.5675 GB, free: 7.922 MB / 394.7 MB Notification: Performance of matching and sorting (n=16): time 0.0006736/0.4764, allocations: 324.1 kB / 0.5678 GB, free: 7.598 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.662e-05/0.4765, allocations: 81.09 kB / 0.5679 GB, free: 7.5 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003211/0.4768, allocations: 319.4 kB / 0.5682 GB, free: 7.188 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.521e-05/0.4769, allocations: 29.7 kB / 0.5682 GB, free: 7.152 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.416e-05/0.477, allocations: 140.3 kB / 0.5684 GB, free: 7.008 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.622e-05/0.477, allocations: 60.12 kB / 0.5684 GB, free: 6.949 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.816e-06/0.477, allocations: 4 kB / 0.5684 GB, free: 6.945 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001176/0.4772, allocations: 342.8 kB / 0.5687 GB, free: 6.602 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.359e-05/0.4772, allocations: 32 kB / 0.5688 GB, free: 6.57 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.062e-05/0.4773, allocations: 68.62 kB / 0.5688 GB, free: 6.492 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.959e-05/0.4774, allocations: 47.97 kB / 0.5689 GB, free: 6.445 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.4774, allocations: 4 kB / 0.5689 GB, free: 6.441 MB / 394.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002333/0.4776, allocations: 173.5 kB / 0.5691 GB, free: 6.266 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.4777, allocations: 8 kB / 0.5691 GB, free: 6.258 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.4777, allocations: 0.9375 kB / 0.5691 GB, free: 6.258 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.4777, allocations: 4 kB / 0.5691 GB, free: 6.254 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001447/0.4778, allocations: 35.92 kB / 0.5691 GB, free: 6.219 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/0.4779, allocations: 0 / 0.5691 GB, free: 6.219 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.505e-05/0.4779, allocations: 8.375 kB / 0.5691 GB, free: 6.211 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.515e-05/0.478, allocations: 16.05 kB / 0.5691 GB, free: 6.195 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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 7.373e-05/0.4781, allocations: 112.9 kB / 0.5692 GB, free: 6.078 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.919e-05/0.4781, allocations: 31.67 kB / 0.5693 GB, free: 6.047 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003384/0.4784, allocations: 215.2 kB / 0.5695 GB, free: 5.828 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.4785, allocations: 0 / 0.5695 GB, free: 5.828 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.4785, allocations: 7.938 kB / 0.5695 GB, free: 5.82 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.4785, allocations: 0 / 0.5695 GB, free: 5.82 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007133/0.4792, allocations: 0.6554 MB / 0.5701 GB, free: 5.102 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.4792, allocations: 0 / 0.5701 GB, free: 5.102 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.855e-05/0.4793, allocations: 23.98 kB / 0.5701 GB, free: 5.078 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.4793, allocations: 0 / 0.5701 GB, free: 5.078 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.496e-05/0.4793, allocations: 4 kB / 0.5701 GB, free: 5.074 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.4793, allocations: 0 / 0.5701 GB, free: 5.074 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.4793, allocations: 4 kB / 0.5701 GB, free: 5.07 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003642/0.4797, allocations: 409.4 kB / 0.5705 GB, free: 4.629 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001033/0.4798, allocations: 116.7 kB / 0.5706 GB, free: 4.496 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.64e-05/0.4798, allocations: 8 kB / 0.5707 GB, free: 4.488 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001301/0.48, allocations: 11.98 kB / 0.5707 GB, free: 4.477 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.275e-05/0.48, allocations: 19.94 kB / 0.5707 GB, free: 4.457 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.455e-05/0.4801, allocations: 8 kB / 0.5707 GB, free: 4.449 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000241/0.4803, allocations: 259.1 kB / 0.5709 GB, free: 4.195 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4803, allocations: 0 / 0.5709 GB, free: 4.195 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000305/0.4806, allocations: 55.92 kB / 0.571 GB, free: 4.141 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0009659/0.4816, allocations: 449.3 kB / 0.5714 GB, free: 3.777 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002142/0.4818, allocations: 111.9 kB / 0.5715 GB, free: 3.668 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.4818, allocations: 0 / 0.5715 GB, free: 3.668 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001024/0.4819, allocations: 68.06 kB / 0.5716 GB, free: 3.602 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000372/0.4823, allocations: 45.86 kB / 0.5716 GB, free: 3.555 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005905/0.4829, allocations: 343.6 kB / 0.572 GB, free: 3.191 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003058/0.4832, allocations: 0.7598 MB / 0.5727 GB, free: 2.406 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 9.078e-05/0.4833, allocations: 38.16 kB / 0.5727 GB, free: 2.371 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.188e-05/0.4834, allocations: 27.42 kB / 0.5728 GB, free: 2.344 MB / 394.7 MB Notification: Performance of SimCode: time 2.5e-07/0.4834, allocations: 0 / 0.5728 GB, free: 2.344 MB / 394.7 MB Notification: Performance of Templates: time 0.005504/0.4889, allocations: 2.789 MB / 0.5755 GB, free: 15.57 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test73/Test73.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches