Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.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.CombiTable1Dv.Test5") translateModel(ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009818/0.0009818, allocations: 176 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.226/1.226, allocations: 223.2 MB / 241 MB, free: 11.89 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.0008176/0.0008178, allocations: 90.48 kB / 292.2 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.2893/0.2893, allocations: 44.22 MB / 387.5 MB, free: 38.82 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002728/0.0002729, allocations: 8 kB / 459.9 MB, free: 1.547 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3447/0.345, allocations: 61.9 MB / 0.5096 GB, free: 37.98 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1009/0.4459, allocations: 88.17 MB / 0.5957 GB, free: 6.988 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002104/0.4462, allocations: 79.94 kB / 0.5957 GB, free: 6.914 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01035/0.4566, allocations: 4.335 MB / 0.6 GB, free: 2.586 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.4566, allocations: 0 / 0.6 GB, free: 2.586 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.347e-06/0.4566, allocations: 4 kB / 0.6 GB, free: 2.582 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.0003786/0.457, allocations: 422.8 kB / 0.6004 GB, free: 2.121 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.197e-05/0.457, allocations: 8.562 kB / 0.6004 GB, free: 2.113 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.642e-05/0.4571, allocations: 11.81 kB / 0.6004 GB, free: 2.102 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002186/0.4573, allocations: 212.2 kB / 0.6006 GB, free: 1.852 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.799e-06/0.4573, allocations: 3.938 kB / 0.6006 GB, free: 1.848 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.738e-05/0.4574, allocations: 8 kB / 0.6006 GB, free: 1.84 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001234/0.4575, allocations: 53.62 kB / 0.6007 GB, free: 1.781 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.4575, allocations: 4 kB / 0.6007 GB, free: 1.777 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.033e-05/0.4575, allocations: 8 kB / 0.6007 GB, free: 1.77 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.527e-06/0.4575, allocations: 0 / 0.6007 GB, free: 1.77 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.213e-05/0.4576, allocations: 31.97 kB / 0.6007 GB, free: 1.738 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003847/0.458, allocations: 300.8 kB / 0.601 GB, free: 1.395 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.335e-05/0.4581, allocations: 58.48 kB / 0.601 GB, free: 1.328 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.579e-05/0.4581, allocations: 0 / 0.601 GB, free: 1.328 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.712e-05/0.4582, allocations: 30.56 kB / 0.6011 GB, free: 1.289 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.4582, allocations: 0 / 0.6011 GB, free: 1.289 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008104/0.459, allocations: 273.2 kB / 0.6013 GB, free: 1.016 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.429e-05/0.459, allocations: 51.41 kB / 0.6014 GB, free: 0.9531 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001823/0.4592, allocations: 204 kB / 0.6016 GB, free: 0.7461 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.064e-05/0.4593, allocations: 25.7 kB / 0.6016 GB, free: 0.7148 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.346e-05/0.4593, allocations: 112 kB / 0.6017 GB, free: 0.6016 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.407e-05/0.4593, allocations: 31.58 kB / 0.6017 GB, free: 0.5703 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.837e-06/0.4594, allocations: 0 / 0.6017 GB, free: 0.5703 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001102/0.4595, allocations: 334.8 kB / 0.6021 GB, free: 240 kB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.724e-05/0.4596, allocations: 27.98 kB / 0.6021 GB, free: 212 kB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.726e-05/0.4596, allocations: 35.97 kB / 0.6021 GB, free: 176 kB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.299e-05/0.4597, allocations: 43.98 kB / 0.6022 GB, free: 132 kB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.4597, allocations: 0 / 0.6022 GB, free: 132 kB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002055/0.4599, allocations: 117.5 kB / 0.6023 GB, free: 8 kB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.883e-05/0.46, allocations: 11.98 kB / 0.6023 GB, free: 15.99 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.536e-06/0.46, allocations: 0 / 0.6023 GB, free: 15.99 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.46, allocations: 0 / 0.6023 GB, free: 15.99 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.512e-05/0.4601, allocations: 27.94 kB / 0.6023 GB, free: 15.97 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.349e-06/0.4601, allocations: 3.938 kB / 0.6023 GB, free: 15.96 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.36e-05/0.4602, allocations: 7.984 kB / 0.6023 GB, free: 15.96 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.147e-06/0.4602, allocations: 11.94 kB / 0.6023 GB, free: 15.95 MB / 426.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 8.142e-05/0.4603, allocations: 125.8 kB / 0.6025 GB, free: 15.81 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.324e-05/0.4603, allocations: 11.89 kB / 0.6025 GB, free: 15.8 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002736/0.4606, allocations: 139 kB / 0.6026 GB, free: 15.65 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.4606, allocations: 0 / 0.6026 GB, free: 15.65 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.4606, allocations: 0 / 0.6026 GB, free: 15.65 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.4606, allocations: 0 / 0.6026 GB, free: 15.65 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000533/0.4611, allocations: 459.5 kB / 0.603 GB, free: 15.14 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.4612, allocations: 0 / 0.603 GB, free: 15.14 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.798e-05/0.4612, allocations: 24.34 kB / 0.6031 GB, free: 15.12 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.4612, allocations: 0 / 0.6031 GB, free: 15.12 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.945e-06/0.4613, allocations: 0 / 0.6031 GB, free: 15.12 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.4613, allocations: 4 kB / 0.6031 GB, free: 15.12 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.4613, allocations: 0 / 0.6031 GB, free: 15.12 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002415/0.4615, allocations: 234 kB / 0.6033 GB, free: 14.86 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.087e-05/0.4616, allocations: 100.9 kB / 0.6034 GB, free: 14.75 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.836e-05/0.4616, allocations: 7.984 kB / 0.6034 GB, free: 14.74 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.818e-05/0.4617, allocations: 4 kB / 0.6034 GB, free: 14.73 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.813e-05/0.4617, allocations: 19.88 kB / 0.6034 GB, free: 14.71 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.923e-06/0.4618, allocations: 4 kB / 0.6034 GB, free: 14.71 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001297/0.4619, allocations: 164.2 kB / 0.6036 GB, free: 14.55 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4619, allocations: 0 / 0.6036 GB, free: 14.55 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002294/0.4621, allocations: 31.98 kB / 0.6036 GB, free: 14.52 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.0008798/0.463, allocations: 475.3 kB / 0.6041 GB, free: 14.24 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002043/0.4632, allocations: 83.89 kB / 0.6041 GB, free: 14.16 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.4632, allocations: 0 / 0.6041 GB, free: 14.16 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 9.3e-05/0.4633, allocations: 39.98 kB / 0.6042 GB, free: 14.12 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001838/0.4635, allocations: 15.98 kB / 0.6042 GB, free: 14.1 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000428/0.464, allocations: 298.1 kB / 0.6045 GB, free: 13.78 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002541/0.4642, allocations: 0.7199 MB / 0.6052 GB, free: 13.04 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.671e-05/0.4643, allocations: 28.94 kB / 0.6052 GB, free: 13.01 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.659e-05/0.4643, allocations: 15.44 kB / 0.6052 GB, free: 12.99 MB / 426.7 MB Notification: Performance of SimCode: time 3.01e-07/0.4644, allocations: 3.938 kB / 0.6052 GB, free: 12.99 MB / 426.7 MB Notification: Performance of Templates: time 0.003296/0.4677, allocations: 1.401 MB / 0.6066 GB, free: 11.59 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test5/Test5.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches