Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.conf.json 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) 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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) 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) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test77,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|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77") translateModel(ModelicaTest.Tables.CombiTimeTable.Test77,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|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008847/0.0008847, allocations: 178.7 kB / 18.09 MB, free: 3.742 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.275/1.275, allocations: 223.3 MB / 242.1 MB, free: 11.66 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007781/0.0007779, allocations: 91.38 kB / 293.3 MB, free: 10.75 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3593/0.3593, allocations: 44.15 MB / 388.5 MB, free: 38.79 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003718/0.0003718, allocations: 16 kB / 461.1 MB, free: 1.285 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3682/0.3686, allocations: 61.88 MB / 0.5107 GB, free: 38.03 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.117/0.4856, allocations: 89.57 MB / 0.5982 GB, free: 5.473 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000229/0.4859, allocations: 83.94 kB / 0.5983 GB, free: 5.395 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02167/0.5076, allocations: 8.089 MB / 0.6062 GB, free: 13.29 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.076e-06/0.5077, allocations: 0 / 0.6062 GB, free: 13.29 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.147e-05/0.5077, allocations: 7.938 kB / 0.6062 GB, free: 13.29 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008749/0.5086, allocations: 0.5256 MB / 0.6067 GB, free: 12.71 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.792e-05/0.5086, allocations: 12.03 kB / 0.6067 GB, free: 12.7 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.961e-05/0.5087, allocations: 20.66 kB / 0.6067 GB, free: 12.68 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004881/0.5092, allocations: 291.5 kB / 0.607 GB, free: 12.35 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.056e-05/0.5093, allocations: 12.36 kB / 0.607 GB, free: 12.34 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.115e-05/0.5093, allocations: 4.375 kB / 0.607 GB, free: 12.34 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002424/0.5096, allocations: 111.9 kB / 0.6071 GB, free: 12.21 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/0.5096, allocations: 192 / 0.6071 GB, free: 12.21 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.914e-05/0.5096, allocations: 11.94 kB / 0.6072 GB, free: 12.2 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.167e-06/0.5097, allocations: 4 kB / 0.6072 GB, free: 12.2 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001373/0.5098, allocations: 59.88 kB / 0.6072 GB, free: 12.14 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007019/0.5105, allocations: 480.7 kB / 0.6077 GB, free: 11.62 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003769/0.5109, allocations: 125.2 kB / 0.6078 GB, free: 11.48 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001054/0.511, allocations: 45.81 kB / 0.6078 GB, free: 11.43 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.626e-05/0.511, allocations: 8 kB / 0.6078 GB, free: 11.42 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002365/0.5113, allocations: 126.4 kB / 0.608 GB, free: 11.28 MB / 426.7 MB Notification: Performance of pre-optimization done (n=14): time 1.644e-06/0.5113, allocations: 0 / 0.608 GB, free: 11.28 MB / 426.7 MB Notification: Performance of matching and sorting (n=22): time 0.001336/0.5126, allocations: 497.1 kB / 0.6084 GB, free: 10.79 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.652e-05/0.5127, allocations: 85.05 kB / 0.6085 GB, free: 10.68 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004018/0.5131, allocations: 347 kB / 0.6088 GB, free: 10.33 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.688e-05/0.5132, allocations: 29.7 kB / 0.6089 GB, free: 10.3 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.059e-05/0.5133, allocations: 144.5 kB / 0.609 GB, free: 10.15 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.782e-05/0.5133, allocations: 71.09 kB / 0.6091 GB, free: 10.08 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.374e-06/0.5133, allocations: 0 / 0.6091 GB, free: 10.08 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001518/0.5135, allocations: 342.8 kB / 0.6094 GB, free: 9.738 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001364/0.5136, allocations: 63.91 kB / 0.6095 GB, free: 9.676 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001377/0.5138, allocations: 92.48 kB / 0.6096 GB, free: 9.574 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002711/0.5141, allocations: 163.5 kB / 0.6097 GB, free: 9.402 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.5141, allocations: 4 kB / 0.6097 GB, free: 9.398 MB / 426.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003966/0.5145, allocations: 229.1 kB / 0.6099 GB, free: 9.168 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.249e-05/0.5145, allocations: 9.875 kB / 0.6099 GB, free: 9.16 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.5145, allocations: 0 / 0.6099 GB, free: 9.16 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.754e-05/0.5146, allocations: 4 kB / 0.61 GB, free: 9.156 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001404/0.5147, allocations: 47.84 kB / 0.61 GB, free: 9.109 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/0.5147, allocations: 4 kB / 0.61 GB, free: 9.105 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.208e-05/0.5148, allocations: 8 kB / 0.61 GB, free: 9.098 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.369e-05/0.5148, allocations: 20 kB / 0.61 GB, free: 9.078 MB / 426.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001535/0.515, allocations: 166.2 kB / 0.6102 GB, free: 8.906 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.719e-05/0.5151, allocations: 23.72 kB / 0.6102 GB, free: 8.883 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004961/0.5156, allocations: 275.3 kB / 0.6105 GB, free: 8.609 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5e-06/0.5156, allocations: 7.938 kB / 0.6105 GB, free: 8.602 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.5156, allocations: 0 / 0.6105 GB, free: 8.602 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.855e-06/0.5156, allocations: 8 kB / 0.6105 GB, free: 8.594 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009681/0.5166, allocations: 0.7701 MB / 0.6112 GB, free: 7.754 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.5166, allocations: 0 / 0.6112 GB, free: 7.754 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.999e-05/0.5167, allocations: 36.11 kB / 0.6113 GB, free: 7.719 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.5167, allocations: 4 kB / 0.6113 GB, free: 7.715 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.542e-05/0.5167, allocations: 4 kB / 0.6113 GB, free: 7.711 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.245e-05/0.5168, allocations: 11.92 kB / 0.6113 GB, free: 7.699 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.5168, allocations: 0 / 0.6113 GB, free: 7.699 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004872/0.5173, allocations: 430.5 kB / 0.6117 GB, free: 7.25 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001008/0.5174, allocations: 120.7 kB / 0.6118 GB, free: 7.113 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.182e-05/0.5174, allocations: 8 kB / 0.6118 GB, free: 7.105 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001365/0.5176, allocations: 11.98 kB / 0.6118 GB, free: 7.094 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.991e-05/0.5176, allocations: 19.92 kB / 0.6119 GB, free: 7.074 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.045e-05/0.5177, allocations: 15.98 kB / 0.6119 GB, free: 7.059 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000289/0.518, allocations: 261.9 kB / 0.6121 GB, free: 6.801 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.518, allocations: 3.938 kB / 0.6121 GB, free: 6.797 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003761/0.5183, allocations: 63.92 kB / 0.6122 GB, free: 6.734 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * 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.001247/0.5196, allocations: 0.5261 MB / 0.6127 GB, free: 6.414 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003444/0.52, allocations: 171.3 kB / 0.6129 GB, free: 6.25 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.52, allocations: 4.125 kB / 0.6129 GB, free: 6.246 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001598/0.5201, allocations: 95.77 kB / 0.613 GB, free: 6.152 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005494/0.5207, allocations: 50.34 kB / 0.613 GB, free: 6.102 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009212/0.5216, allocations: 0.5549 MB / 0.6135 GB, free: 5.508 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003436/0.522, allocations: 0.7602 MB / 0.6143 GB, free: 4.723 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001361/0.5221, allocations: 41.92 kB / 0.6143 GB, free: 4.684 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.007e-05/0.5222, allocations: 35.42 kB / 0.6144 GB, free: 4.648 MB / 426.7 MB Notification: Performance of SimCode: time 2.11e-07/0.5222, allocations: 0 / 0.6144 GB, free: 4.648 MB / 426.7 MB Notification: Performance of Templates: time 0.007189/0.5294, allocations: 3.151 MB / 0.6174 GB, free: 1.531 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches