Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.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.CombiTable1Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009331/0.0009332, allocations: 177 kB / 17.06 MB, free: 5.094 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.25/1.25, allocations: 223.2 MB / 241 MB, free: 11.88 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.0008492/0.0008492, allocations: 90.89 kB / 292.1 MB, free: 10.93 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.2909/0.2909, allocations: 44.21 MB / 387.5 MB, free: 38.8 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003209/0.0003208, allocations: 12 kB / 459.9 MB, free: 1.543 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3247/0.325, allocations: 61.89 MB / 0.5096 GB, free: 38.14 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1027/0.4278, allocations: 88.06 MB / 0.5956 GB, free: 7.09 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002053/0.4281, allocations: 75.94 kB / 0.5956 GB, free: 7.02 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01048/0.4386, allocations: 4.327 MB / 0.5998 GB, free: 2.699 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.898e-06/0.4386, allocations: 0 / 0.5998 GB, free: 2.699 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.428e-05/0.4387, allocations: 4 kB / 0.5999 GB, free: 2.695 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006141/0.4393, allocations: 418.8 kB / 0.6003 GB, free: 2.238 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.81e-05/0.4394, allocations: 8.562 kB / 0.6003 GB, free: 2.23 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.589e-05/0.4394, allocations: 11.81 kB / 0.6003 GB, free: 2.219 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002981/0.4397, allocations: 212.2 kB / 0.6005 GB, free: 1.969 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.207e-05/0.4397, allocations: 8 kB / 0.6005 GB, free: 1.961 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.935e-05/0.4398, allocations: 4 kB / 0.6005 GB, free: 1.957 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001417/0.4399, allocations: 57.58 kB / 0.6005 GB, free: 1.895 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.4399, allocations: 0 / 0.6005 GB, free: 1.895 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.497e-06/0.44, allocations: 4 kB / 0.6005 GB, free: 1.891 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.44, allocations: 4 kB / 0.6005 GB, free: 1.887 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.065e-05/0.4401, allocations: 27.97 kB / 0.6006 GB, free: 1.859 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003583/0.4404, allocations: 296.8 kB / 0.6009 GB, free: 1.52 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.57e-05/0.4405, allocations: 50.5 kB / 0.6009 GB, free: 1.461 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.877e-05/0.4406, allocations: 4 kB / 0.6009 GB, free: 1.457 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.033e-05/0.4406, allocations: 30.56 kB / 0.6009 GB, free: 1.418 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.4406, allocations: 0 / 0.6009 GB, free: 1.418 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008435/0.4414, allocations: 253.3 kB / 0.6012 GB, free: 1.164 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.473e-05/0.4415, allocations: 55.41 kB / 0.6012 GB, free: 1.098 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002009/0.4417, allocations: 207.9 kB / 0.6014 GB, free: 0.8867 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.329e-05/0.4417, allocations: 25.7 kB / 0.6015 GB, free: 0.8555 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.297e-05/0.4418, allocations: 116 kB / 0.6016 GB, free: 0.7383 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.397e-05/0.4418, allocations: 23.66 kB / 0.6016 GB, free: 0.7148 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.817e-06/0.4418, allocations: 0 / 0.6016 GB, free: 0.7148 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001037/0.4419, allocations: 330.8 kB / 0.6019 GB, free: 392 kB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.564e-05/0.442, allocations: 31.92 kB / 0.6019 GB, free: 360 kB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.348e-05/0.4421, allocations: 27.97 kB / 0.602 GB, free: 332 kB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.057e-05/0.4422, allocations: 28 kB / 0.602 GB, free: 304 kB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.4422, allocations: 0 / 0.602 GB, free: 304 kB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001977/0.4424, allocations: 113.5 kB / 0.6021 GB, free: 184 kB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.4424, allocations: 9.562 kB / 0.6021 GB, free: 176 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-06/0.4424, allocations: 0 / 0.6021 GB, free: 176 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.4424, allocations: 0 / 0.6021 GB, free: 176 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.452e-05/0.4425, allocations: 19.98 kB / 0.6021 GB, free: 156 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.4425, allocations: 4 kB / 0.6021 GB, free: 152 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.077e-05/0.4426, allocations: 7.938 kB / 0.6021 GB, free: 144 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.447e-06/0.4426, allocations: 4 kB / 0.6021 GB, free: 140 kB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.0001006/0.4427, allocations: 137.8 kB / 0.6023 GB, free: 15.99 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.308e-05/0.4428, allocations: 7.906 kB / 0.6023 GB, free: 15.98 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002452/0.443, allocations: 131.4 kB / 0.6024 GB, free: 15.84 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.387e-06/0.443, allocations: 4 kB / 0.6024 GB, free: 15.84 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.443, allocations: 0 / 0.6024 GB, free: 15.84 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.443, allocations: 0 / 0.6024 GB, free: 15.84 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004955/0.4435, allocations: 435.2 kB / 0.6028 GB, free: 15.36 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.4435, allocations: 3.984 kB / 0.6028 GB, free: 15.35 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.382e-05/0.4436, allocations: 23.92 kB / 0.6028 GB, free: 15.33 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.4436, allocations: 0 / 0.6028 GB, free: 15.33 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.828e-06/0.4436, allocations: 4 kB / 0.6029 GB, free: 15.32 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.4437, allocations: 0 / 0.6029 GB, free: 15.32 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.4437, allocations: 480 / 0.6029 GB, free: 15.32 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002305/0.4439, allocations: 230 kB / 0.6031 GB, free: 15.07 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.32e-05/0.444, allocations: 96.91 kB / 0.6032 GB, free: 14.96 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.932e-05/0.444, allocations: 0 / 0.6032 GB, free: 14.96 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.408e-05/0.4441, allocations: 20 kB / 0.6032 GB, free: 14.94 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.624e-05/0.4441, allocations: 7.938 kB / 0.6032 GB, free: 14.93 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.709e-06/0.4441, allocations: 7.938 kB / 0.6032 GB, free: 14.93 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001289/0.4443, allocations: 168.2 kB / 0.6034 GB, free: 14.76 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4443, allocations: 0 / 0.6034 GB, free: 14.76 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002385/0.4445, allocations: 28 kB / 0.6034 GB, free: 14.73 MB / 426.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.0009398/0.4455, allocations: 475.2 kB / 0.6038 GB, free: 14.45 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000208/0.4457, allocations: 71.95 kB / 0.6039 GB, free: 14.38 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.4457, allocations: 0 / 0.6039 GB, free: 14.38 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.863e-05/0.4458, allocations: 35.92 kB / 0.6039 GB, free: 14.34 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001887/0.446, allocations: 17.53 kB / 0.604 GB, free: 14.33 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004404/0.4464, allocations: 286.2 kB / 0.6042 GB, free: 14.02 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000241/0.4467, allocations: 0.716 MB / 0.6049 GB, free: 13.28 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.571e-05/0.4467, allocations: 20.97 kB / 0.605 GB, free: 13.26 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.787e-05/0.4468, allocations: 23.36 kB / 0.605 GB, free: 13.23 MB / 426.7 MB Notification: Performance of SimCode: time 2.31e-07/0.4468, allocations: 0 / 0.605 GB, free: 13.23 MB / 426.7 MB Notification: Performance of Templates: time 0.003355/0.4501, allocations: 1.359 MB / 0.6063 GB, free: 11.88 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test5/Test5.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches