Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.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.Test3,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.Test3") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test3,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.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001058/0.001058, allocations: 176.5 kB / 17.06 MB, free: 5.098 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.24/1.24, allocations: 223.2 MB / 241 MB, free: 10.14 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.000821/0.000821, allocations: 97.41 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.3069/0.3069, allocations: 44.21 MB / 387.5 MB, free: 38.55 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003153/0.0003155, allocations: 8 kB / 459.9 MB, free: 1.523 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3364/0.3368, allocations: 61.9 MB / 0.5096 GB, free: 37.88 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1026/0.4394, allocations: 88.16 MB / 0.5956 GB, free: 6.973 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002016/0.4396, allocations: 83.89 kB / 0.5957 GB, free: 6.895 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01016/0.4498, allocations: 4.21 MB / 0.5998 GB, free: 2.688 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.4498, allocations: 0 / 0.5998 GB, free: 2.688 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.658e-06/0.4498, allocations: 0 / 0.5998 GB, free: 2.688 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.000381/0.4502, allocations: 410.7 kB / 0.6002 GB, free: 2.238 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.544e-05/0.4503, allocations: 8.562 kB / 0.6002 GB, free: 2.23 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.418e-05/0.4503, allocations: 7.906 kB / 0.6002 GB, free: 2.223 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002083/0.4505, allocations: 209 kB / 0.6004 GB, free: 1.98 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.767e-05/0.4506, allocations: 8 kB / 0.6004 GB, free: 1.973 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.656e-05/0.4506, allocations: 0 / 0.6004 GB, free: 1.973 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001263/0.4507, allocations: 65.61 kB / 0.6005 GB, free: 1.902 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.4507, allocations: 0 / 0.6005 GB, free: 1.902 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.518e-06/0.4508, allocations: 0 / 0.6005 GB, free: 1.902 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.057e-06/0.4508, allocations: 0 / 0.6005 GB, free: 1.902 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.671e-05/0.4509, allocations: 39.91 kB / 0.6006 GB, free: 1.863 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003971/0.4513, allocations: 300.8 kB / 0.6008 GB, free: 1.52 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001148/0.4514, allocations: 46.56 kB / 0.6009 GB, free: 1.465 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.839e-05/0.4514, allocations: 96 / 0.6009 GB, free: 1.465 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.651e-05/0.4515, allocations: 42.48 kB / 0.6009 GB, free: 1.414 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 9.22e-07/0.4515, allocations: 0 / 0.6009 GB, free: 1.414 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008344/0.4523, allocations: 261.5 kB / 0.6012 GB, free: 1.152 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.211e-05/0.4523, allocations: 55.41 kB / 0.6012 GB, free: 1.086 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001512/0.4525, allocations: 176.4 kB / 0.6014 GB, free: 0.9102 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.399e-05/0.4525, allocations: 29.7 kB / 0.6014 GB, free: 0.875 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.733e-05/0.4526, allocations: 96.12 kB / 0.6015 GB, free: 0.7773 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.45e-05/0.4526, allocations: 27.56 kB / 0.6015 GB, free: 0.75 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.869e-06/0.4526, allocations: 4 kB / 0.6015 GB, free: 0.7461 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.923e-05/0.4527, allocations: 326.8 kB / 0.6019 GB, free: 428 kB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.731e-05/0.4528, allocations: 31.97 kB / 0.6019 GB, free: 396 kB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.88e-05/0.4529, allocations: 35.98 kB / 0.6019 GB, free: 360 kB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.824e-05/0.453, allocations: 39.98 kB / 0.602 GB, free: 320 kB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.453, allocations: 0 / 0.602 GB, free: 320 kB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000197/0.4532, allocations: 117.5 kB / 0.6021 GB, free: 196 kB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.4532, allocations: 7.984 kB / 0.6021 GB, free: 188 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.507e-06/0.4532, allocations: 0 / 0.6021 GB, free: 188 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.968e-06/0.4532, allocations: 4.094 kB / 0.6021 GB, free: 184 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.103e-05/0.4533, allocations: 19.98 kB / 0.6021 GB, free: 164 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.4533, allocations: 3.984 kB / 0.6021 GB, free: 160 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.566e-05/0.4534, allocations: 12 kB / 0.6021 GB, free: 148 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.213e-06/0.4534, allocations: 11.94 kB / 0.6021 GB, free: 136 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 8.868e-05/0.4535, allocations: 125.8 kB / 0.6022 GB, free: 0 / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.603e-05/0.4535, allocations: 7.953 kB / 0.6023 GB, free: 15.99 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002719/0.4538, allocations: 146.5 kB / 0.6024 GB, free: 15.84 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.4538, allocations: 0 / 0.6024 GB, free: 15.84 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.4538, allocations: 4 kB / 0.6024 GB, free: 15.84 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.4539, allocations: 3.984 kB / 0.6024 GB, free: 15.84 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005237/0.4544, allocations: 439.1 kB / 0.6028 GB, free: 15.35 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.4544, allocations: 4.031 kB / 0.6028 GB, free: 15.34 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.673e-05/0.4545, allocations: 19.98 kB / 0.6028 GB, free: 15.32 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.4545, allocations: 0 / 0.6028 GB, free: 15.32 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.024e-05/0.4545, allocations: 8 kB / 0.6029 GB, free: 15.32 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.4545, allocations: 0 / 0.6029 GB, free: 15.32 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.4545, allocations: 0 / 0.6029 GB, free: 15.32 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000261/0.4548, allocations: 233.9 kB / 0.6031 GB, free: 15.06 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.675e-05/0.4548, allocations: 93 kB / 0.6032 GB, free: 14.95 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.614e-05/0.4549, allocations: 0 / 0.6032 GB, free: 14.95 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.1e-05/0.4549, allocations: 8 kB / 0.6032 GB, free: 14.95 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.446e-05/0.455, allocations: 11.94 kB / 0.6032 GB, free: 14.93 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.172e-06/0.455, allocations: 8 kB / 0.6032 GB, free: 14.93 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001057/0.4551, allocations: 147.1 kB / 0.6033 GB, free: 14.78 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4551, allocations: 0 / 0.6033 GB, free: 14.78 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002449/0.4554, allocations: 31.84 kB / 0.6034 GB, free: 14.75 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.0009033/0.4563, allocations: 466.8 kB / 0.6038 GB, free: 14.47 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002115/0.4565, allocations: 83.89 kB / 0.6039 GB, free: 14.39 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.4565, allocations: 0 / 0.6039 GB, free: 14.39 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 9.428e-05/0.4566, allocations: 51.97 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.0001888/0.4568, allocations: 15.92 kB / 0.6039 GB, free: 14.32 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004257/0.4572, allocations: 262.1 kB / 0.6042 GB, free: 14.03 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002508/0.4575, allocations: 0.7082 MB / 0.6049 GB, free: 13.29 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 7.363e-05/0.4576, allocations: 24.95 kB / 0.6049 GB, free: 13.27 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.82e-05/0.4576, allocations: 15.42 kB / 0.6049 GB, free: 13.25 MB / 426.7 MB Notification: Performance of SimCode: time 3.31e-07/0.4576, allocations: 7.875 kB / 0.6049 GB, free: 13.24 MB / 426.7 MB Notification: Performance of Templates: time 0.003233/0.4609, allocations: 1.343 MB / 0.6062 GB, free: 11.91 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test3/Test3.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches