Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.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.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001012/0.001012, allocations: 176.7 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.228/1.228, allocations: 223.2 MB / 241 MB, free: 10.15 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.0009944/0.0009944, allocations: 101.6 kB / 292.2 MB, free: 10.7 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.3053/0.3053, allocations: 44.2 MB / 387.5 MB, free: 38.49 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002847/0.0002847, allocations: 8 kB / 459.9 MB, free: 1.508 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3134/0.3137, allocations: 61.9 MB / 0.5096 GB, free: 37.59 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1097/0.4235, allocations: 88.23 MB / 0.5957 GB, free: 6.891 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002051/0.4238, allocations: 79.94 kB / 0.5958 GB, free: 6.816 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0104/0.4342, allocations: 4.452 MB / 0.6001 GB, free: 2.371 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.734e-06/0.4342, allocations: 0 / 0.6001 GB, free: 2.371 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.476e-06/0.4342, allocations: 0 / 0.6001 GB, free: 2.371 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003562/0.4346, allocations: 391 kB / 0.6005 GB, free: 1.941 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.368e-05/0.4346, allocations: 8.562 kB / 0.6005 GB, free: 1.934 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.384e-05/0.4347, allocations: 7.906 kB / 0.6005 GB, free: 1.926 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001772/0.4349, allocations: 186.9 kB / 0.6007 GB, free: 1.703 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.114e-05/0.4349, allocations: 4 kB / 0.6007 GB, free: 1.699 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.748e-05/0.4349, allocations: 4 kB / 0.6007 GB, free: 1.695 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001393/0.435, allocations: 67.34 kB / 0.6008 GB, free: 1.617 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.4351, allocations: 0 / 0.6008 GB, free: 1.617 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.177e-06/0.4351, allocations: 0 / 0.6008 GB, free: 1.617 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.4351, allocations: 4 kB / 0.6008 GB, free: 1.613 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.91e-05/0.4352, allocations: 35.92 kB / 0.6008 GB, free: 1.578 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003019/0.4355, allocations: 268.9 kB / 0.6011 GB, free: 1.266 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001751/0.4357, allocations: 50.44 kB / 0.6011 GB, free: 1.207 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.647e-05/0.4357, allocations: 3.984 kB / 0.6011 GB, free: 1.203 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.038e-05/0.4357, allocations: 34.56 kB / 0.6012 GB, free: 1.16 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.4357, allocations: 3.938 kB / 0.6012 GB, free: 1.156 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004924/0.4362, allocations: 149.5 kB / 0.6013 GB, free: 1.004 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.413e-05/0.4363, allocations: 81.11 kB / 0.6014 GB, free: 0.9062 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001094/0.4364, allocations: 132.3 kB / 0.6015 GB, free: 0.7734 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.378e-05/0.4364, allocations: 33.7 kB / 0.6015 GB, free: 0.7344 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.227e-05/0.4365, allocations: 84.14 kB / 0.6016 GB, free: 0.6484 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.025e-05/0.4365, allocations: 23.73 kB / 0.6017 GB, free: 0.625 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.196e-06/0.4365, allocations: 0 / 0.6017 GB, free: 0.625 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.607e-05/0.4366, allocations: 314.8 kB / 0.602 GB, free: 316 kB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.304e-05/0.4367, allocations: 23.98 kB / 0.602 GB, free: 292 kB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.317e-05/0.4367, allocations: 33.7 kB / 0.602 GB, free: 252 kB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.449e-05/0.4368, allocations: 27.98 kB / 0.602 GB, free: 224 kB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.4368, allocations: 7.984 kB / 0.602 GB, free: 216 kB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001609/0.437, allocations: 85.56 kB / 0.6021 GB, free: 124 kB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.08e-05/0.437, allocations: 4 kB / 0.6021 GB, free: 120 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.437, allocations: 4 kB / 0.6021 GB, free: 116 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.927e-06/0.437, allocations: 0 / 0.6021 GB, free: 116 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.014e-05/0.4371, allocations: 19.94 kB / 0.6022 GB, free: 96 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.069e-06/0.4371, allocations: 0 / 0.6022 GB, free: 96 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.575e-05/0.4372, allocations: 7.984 kB / 0.6022 GB, free: 88 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.501e-06/0.4372, allocations: 0 / 0.6022 GB, free: 88 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 (5): * Single equations (assignments): 5 * 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.789e-05/0.4373, allocations: 113.9 kB / 0.6023 GB, free: 15.96 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.03e-05/0.4373, allocations: 11.86 kB / 0.6023 GB, free: 15.95 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002129/0.4375, allocations: 101.6 kB / 0.6024 GB, free: 15.84 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.4375, allocations: 0 / 0.6024 GB, free: 15.84 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.4375, allocations: 0 / 0.6024 GB, free: 15.84 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.4375, allocations: 0 / 0.6024 GB, free: 15.84 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003539/0.4379, allocations: 362.4 kB / 0.6027 GB, free: 15.43 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.4379, allocations: 4.375 kB / 0.6027 GB, free: 15.43 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.073e-05/0.438, allocations: 11.98 kB / 0.6027 GB, free: 15.42 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.891e-06/0.438, allocations: 8 kB / 0.6027 GB, free: 15.41 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.815e-06/0.438, allocations: 0 / 0.6027 GB, free: 15.41 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.438, allocations: 3.938 kB / 0.6027 GB, free: 15.41 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.438, allocations: 0 / 0.6027 GB, free: 15.41 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001903/0.4382, allocations: 191.3 kB / 0.6029 GB, free: 15.2 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.117e-05/0.4383, allocations: 81.09 kB / 0.603 GB, free: 15.11 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.805e-05/0.4383, allocations: 8 kB / 0.603 GB, free: 15.1 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.684e-05/0.4383, allocations: 7.984 kB / 0.603 GB, free: 15.09 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.105e-05/0.4384, allocations: 0 / 0.603 GB, free: 15.09 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.09e-06/0.4384, allocations: 11.94 kB / 0.603 GB, free: 15.08 MB / 426.7 MB Notification: Performance of sorting global known variables: time 6.452e-05/0.4385, allocations: 99.27 kB / 0.6031 GB, free: 14.98 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4385, allocations: 0 / 0.6031 GB, free: 14.98 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002309/0.4387, allocations: 35.89 kB / 0.6032 GB, free: 14.95 MB / 426.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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.0008703/0.4396, allocations: 461.9 kB / 0.6036 GB, free: 14.66 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001777/0.4398, allocations: 55.91 kB / 0.6037 GB, free: 14.61 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.4398, allocations: 0 / 0.6037 GB, free: 14.61 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.117e-05/0.4399, allocations: 31.98 kB / 0.6037 GB, free: 14.57 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002014/0.4401, allocations: 15.94 kB / 0.6037 GB, free: 14.56 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003026/0.4404, allocations: 168.8 kB / 0.6039 GB, free: 14.36 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001993/0.4406, allocations: 0.6887 MB / 0.6045 GB, free: 13.65 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 4.871e-05/0.4406, allocations: 8.188 kB / 0.6045 GB, free: 13.64 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.127e-05/0.4407, allocations: 19.42 kB / 0.6046 GB, free: 13.62 MB / 426.7 MB Notification: Performance of SimCode: time 2.41e-07/0.4407, allocations: 0 / 0.6046 GB, free: 13.62 MB / 426.7 MB Notification: Performance of Templates: time 0.003112/0.4438, allocations: 1.272 MB / 0.6058 GB, free: 12.36 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test23/Test23.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches