Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test63.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.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test63") translateModel(ModelicaTest.Tables.CombiTimeTable.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test63") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001067/0.001068, allocations: 181.5 kB / 17.41 MB, free: 4.391 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.705/1.705, allocations: 205.4 MB / 223.6 MB, free: 9.02 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.0008021/0.0008023, allocations: 90.36 kB / 271.9 MB, free: 8.262 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.3049/0.3049, allocations: 43.55 MB / 363.7 MB, free: 52.12 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003661/0.0003661, allocations: 16 kB / 432.6 MB, free: 5.879 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1142/0.1146, allocations: 58.85 MB / 491.5 MB, free: 10.94 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3022/0.4168, allocations: 87.6 MB / 0.5655 GB, free: 14.82 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002195/0.4171, allocations: 75.95 kB / 0.5656 GB, free: 14.75 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01422/0.4313, allocations: 5.54 MB / 0.571 GB, free: 9.246 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.4314, allocations: 0 / 0.571 GB, free: 9.246 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.371e-05/0.4314, allocations: 4 kB / 0.571 GB, free: 9.242 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.0004743/0.4319, allocations: 433.8 kB / 0.5714 GB, free: 8.77 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.668e-05/0.4319, allocations: 12.03 kB / 0.5714 GB, free: 8.758 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.228e-05/0.432, allocations: 12.75 kB / 0.5714 GB, free: 8.746 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002871/0.4323, allocations: 245.8 kB / 0.5716 GB, free: 8.469 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.373e-05/0.4323, allocations: 384 / 0.5716 GB, free: 8.469 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.449e-05/0.4323, allocations: 7.562 kB / 0.5716 GB, free: 8.465 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000113/0.4324, allocations: 50.23 kB / 0.5717 GB, free: 8.41 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.532e-06/0.4324, allocations: 4.188 kB / 0.5717 GB, free: 8.406 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.4325, allocations: 3.938 kB / 0.5717 GB, free: 8.402 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.506e-06/0.4325, allocations: 0 / 0.5717 GB, free: 8.402 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.263e-05/0.4325, allocations: 19.98 kB / 0.5717 GB, free: 8.383 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001875/0.4327, allocations: 189.7 kB / 0.5719 GB, free: 8.148 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001423/0.4329, allocations: 58.55 kB / 0.572 GB, free: 8.082 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.122e-05/0.4329, allocations: 24.84 kB / 0.572 GB, free: 8.055 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.35e-05/0.433, allocations: 0 / 0.572 GB, free: 8.055 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001408/0.4331, allocations: 67.3 kB / 0.572 GB, free: 7.977 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 1.122e-06/0.4331, allocations: 0 / 0.572 GB, free: 7.977 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002577/0.4334, allocations: 106.3 kB / 0.5721 GB, free: 7.867 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.329e-05/0.4334, allocations: 55.41 kB / 0.5722 GB, free: 7.801 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002581/0.4337, allocations: 255.7 kB / 0.5724 GB, free: 7.539 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.492e-05/0.4337, allocations: 33.64 kB / 0.5725 GB, free: 7.5 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.976e-05/0.4338, allocations: 112.1 kB / 0.5726 GB, free: 7.387 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.484e-05/0.4338, allocations: 11.81 kB / 0.5726 GB, free: 7.375 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.04e-06/0.4338, allocations: 4 kB / 0.5726 GB, free: 7.371 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001179/0.4339, allocations: 322.8 kB / 0.5729 GB, free: 7.047 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.757e-05/0.434, allocations: 15.98 kB / 0.5729 GB, free: 7.031 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.189e-05/0.4341, allocations: 29.7 kB / 0.5729 GB, free: 6.996 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.824e-05/0.4342, allocations: 49.91 kB / 0.573 GB, free: 6.941 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.4342, allocations: 0 / 0.573 GB, free: 6.941 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001471/0.4343, allocations: 89.48 kB / 0.5731 GB, free: 6.848 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.205e-05/0.4343, allocations: 7.938 kB / 0.5731 GB, free: 6.84 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.87e-06/0.4344, allocations: 0 / 0.5731 GB, free: 6.84 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.638e-06/0.4344, allocations: 7.938 kB / 0.5731 GB, free: 6.832 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.513e-05/0.4344, allocations: 11.98 kB / 0.5731 GB, free: 6.82 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.4345, allocations: 0 / 0.5731 GB, free: 6.82 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.475e-05/0.4345, allocations: 8.031 kB / 0.5731 GB, free: 6.812 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.777e-06/0.4345, allocations: 8 kB / 0.5731 GB, free: 6.805 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 8.746e-05/0.4346, allocations: 128.8 kB / 0.5732 GB, free: 6.672 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.388e-05/0.4346, allocations: 19.75 kB / 0.5733 GB, free: 6.652 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000204/0.4349, allocations: 103.5 kB / 0.5734 GB, free: 6.551 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.4349, allocations: 0 / 0.5734 GB, free: 6.551 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.4349, allocations: 4 kB / 0.5734 GB, free: 6.547 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-06/0.4349, allocations: 0 / 0.5734 GB, free: 6.547 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001593/0.435, allocations: 209.5 kB / 0.5736 GB, free: 6.293 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.4351, allocations: 0 / 0.5736 GB, free: 6.293 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.575e-05/0.4351, allocations: 8 kB / 0.5736 GB, free: 6.285 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.4351, allocations: 3.938 kB / 0.5736 GB, free: 6.281 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.568e-06/0.4351, allocations: 7.922 kB / 0.5736 GB, free: 6.273 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.4351, allocations: 3.984 kB / 0.5736 GB, free: 6.27 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.4351, allocations: 0 / 0.5736 GB, free: 6.27 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001791/0.4353, allocations: 116.9 kB / 0.5737 GB, free: 6.137 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.298e-05/0.4354, allocations: 100.9 kB / 0.5738 GB, free: 6.02 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.969e-05/0.4354, allocations: 11.92 kB / 0.5738 GB, free: 6.008 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.06e-05/0.4355, allocations: 3.938 kB / 0.5738 GB, free: 6.004 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.067e-05/0.4355, allocations: 8.188 kB / 0.5738 GB, free: 5.996 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.738e-06/0.4355, allocations: 4 kB / 0.5738 GB, free: 5.992 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001674/0.4357, allocations: 199.2 kB / 0.574 GB, free: 5.797 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4357, allocations: 0 / 0.574 GB, free: 5.797 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002057/0.4359, allocations: 27.98 kB / 0.574 GB, free: 5.77 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.0008053/0.4367, allocations: 415.5 kB / 0.5744 GB, free: 5.453 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001567/0.4369, allocations: 43.92 kB / 0.5745 GB, free: 5.41 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.4369, allocations: 0 / 0.5745 GB, free: 5.41 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 6.017e-05/0.437, allocations: 23.98 kB / 0.5745 GB, free: 5.387 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002511/0.4372, allocations: 26.44 kB / 0.5745 GB, free: 5.363 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004523/0.4377, allocations: 318 kB / 0.5748 GB, free: 5.027 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000263/0.438, allocations: 0.716 MB / 0.5755 GB, free: 4.285 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.837e-05/0.438, allocations: 19.44 kB / 0.5755 GB, free: 4.266 MB / 394.7 MB Notification: Performance of SimCode: time 2.5e-07/0.438, allocations: 0 / 0.5755 GB, free: 4.266 MB / 394.7 MB Notification: Performance of Templates: time 0.003196/0.4412, allocations: 1.923 MB / 0.5774 GB, free: 2.352 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test63.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test63.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test63.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test63 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test63.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test63_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test63/Test63.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test63.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches