Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.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.Test12,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.CombiTable1Dv.Test12") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test12,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.CombiTable1Dv.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009916/0.0009916, allocations: 183.8 kB / 17.06 MB, free: 5.074 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.251/1.251, allocations: 223.2 MB / 241 MB, free: 11.84 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.0008285/0.0008286, allocations: 95.91 kB / 292.2 MB, free: 10.88 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.3129/0.3129, allocations: 44.22 MB / 387.5 MB, free: 39.02 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000322/0.000322, allocations: 8 kB / 459.9 MB, free: 1.738 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.319/0.3193, allocations: 61.9 MB / 0.5096 GB, free: 37.86 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1119/0.4313, allocations: 88.07 MB / 0.5956 GB, free: 7.074 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002385/0.4316, allocations: 79.92 kB / 0.5956 GB, free: 7 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009373/0.441, allocations: 3.765 MB / 0.5993 GB, free: 3.234 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.441, allocations: 0 / 0.5993 GB, free: 3.234 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.043e-05/0.441, allocations: 0 / 0.5993 GB, free: 3.234 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.0004469/0.4415, allocations: 402.8 kB / 0.5997 GB, free: 2.793 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.023e-05/0.4415, allocations: 12.56 kB / 0.5997 GB, free: 2.781 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.202e-05/0.4416, allocations: 7.906 kB / 0.5997 GB, free: 2.773 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002324/0.4418, allocations: 188.5 kB / 0.5999 GB, free: 2.551 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.559e-05/0.4418, allocations: 7.953 kB / 0.5999 GB, free: 2.543 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.261e-05/0.4419, allocations: 4 kB / 0.5999 GB, free: 2.539 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001457/0.442, allocations: 57.66 kB / 0.6 GB, free: 2.477 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.397e-05/0.442, allocations: 0 / 0.6 GB, free: 2.477 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.4421, allocations: 0 / 0.6 GB, free: 2.477 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.4421, allocations: 4 kB / 0.6 GB, free: 2.473 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001003/0.4422, allocations: 31.92 kB / 0.6 GB, free: 2.441 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004284/0.4426, allocations: 288.9 kB / 0.6003 GB, free: 2.109 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001927/0.4428, allocations: 46.56 kB / 0.6003 GB, free: 2.055 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.7e-05/0.4428, allocations: 0 / 0.6003 GB, free: 2.055 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.191e-05/0.4429, allocations: 34.5 kB / 0.6003 GB, free: 2.012 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 2.074e-06/0.4429, allocations: 0 / 0.6003 GB, free: 2.012 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005401/0.4434, allocations: 173.3 kB / 0.6005 GB, free: 1.836 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.889e-05/0.4435, allocations: 55.34 kB / 0.6006 GB, free: 1.77 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001573/0.4436, allocations: 155.5 kB / 0.6007 GB, free: 1.613 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.381e-05/0.4436, allocations: 25.7 kB / 0.6007 GB, free: 1.582 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.622e-05/0.4437, allocations: 100.1 kB / 0.6008 GB, free: 1.48 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.424e-05/0.4437, allocations: 19.73 kB / 0.6009 GB, free: 1.461 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.487e-06/0.4437, allocations: 4 kB / 0.6009 GB, free: 1.457 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001094/0.4439, allocations: 326.8 kB / 0.6012 GB, free: 1.129 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.174e-05/0.4439, allocations: 23.98 kB / 0.6012 GB, free: 1.105 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.624e-05/0.444, allocations: 23.98 kB / 0.6012 GB, free: 1.082 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.223e-05/0.4441, allocations: 31.97 kB / 0.6012 GB, free: 1.051 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.62e-07/0.4441, allocations: 0 / 0.6012 GB, free: 1.051 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001754/0.4443, allocations: 89.58 kB / 0.6013 GB, free: 0.957 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.4443, allocations: 6.031 kB / 0.6013 GB, free: 0.9531 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.4443, allocations: 4 kB / 0.6013 GB, free: 0.9492 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.4443, allocations: 0 / 0.6013 GB, free: 0.9492 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.522e-05/0.4444, allocations: 23.92 kB / 0.6014 GB, free: 0.9258 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/0.4444, allocations: 0 / 0.6014 GB, free: 0.9258 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.027e-05/0.4445, allocations: 4 kB / 0.6014 GB, free: 0.9219 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.342e-06/0.4445, allocations: 0 / 0.6014 GB, free: 0.9219 MB / 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 0.0001032/0.4446, allocations: 129.8 kB / 0.6015 GB, free: 0.7852 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.908e-05/0.4446, allocations: 7.906 kB / 0.6015 GB, free: 0.7773 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002403/0.4449, allocations: 110 kB / 0.6016 GB, free: 0.6641 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.4449, allocations: 0 / 0.6016 GB, free: 0.6641 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.4449, allocations: 0 / 0.6016 GB, free: 0.6641 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.4449, allocations: 0 / 0.6016 GB, free: 0.6641 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004371/0.4453, allocations: 370.8 kB / 0.602 GB, free: 252 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.4454, allocations: 4.062 kB / 0.602 GB, free: 248 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.543e-05/0.4454, allocations: 15.98 kB / 0.602 GB, free: 232 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.4454, allocations: 0 / 0.602 GB, free: 232 kB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.025e-06/0.4454, allocations: 4 kB / 0.602 GB, free: 228 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.4454, allocations: 0 / 0.602 GB, free: 228 kB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.4455, allocations: 0 / 0.602 GB, free: 228 kB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002198/0.4457, allocations: 203.3 kB / 0.6022 GB, free: 8 kB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.736e-05/0.4458, allocations: 85.02 kB / 0.6023 GB, free: 15.91 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.618e-05/0.4458, allocations: 3.938 kB / 0.6023 GB, free: 15.9 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.636e-05/0.4459, allocations: 7.984 kB / 0.6023 GB, free: 15.89 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.045e-05/0.4459, allocations: 12 kB / 0.6023 GB, free: 15.88 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.717e-06/0.4459, allocations: 0 / 0.6023 GB, free: 15.88 MB / 426.7 MB Notification: Performance of sorting global known variables: time 8.884e-05/0.446, allocations: 131.2 kB / 0.6024 GB, free: 15.75 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.446, allocations: 0 / 0.6024 GB, free: 15.75 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002173/0.4462, allocations: 16 kB / 0.6024 GB, free: 15.74 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.0008196/0.4471, allocations: 412.4 kB / 0.6028 GB, free: 15.49 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001842/0.4473, allocations: 63.91 kB / 0.6029 GB, free: 15.43 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.4473, allocations: 0 / 0.6029 GB, free: 15.43 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.898e-05/0.4473, allocations: 31.98 kB / 0.6029 GB, free: 15.39 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001867/0.4475, allocations: 11.92 kB / 0.6029 GB, free: 15.38 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003782/0.4479, allocations: 217.2 kB / 0.6031 GB, free: 15.14 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002436/0.4482, allocations: 0.7004 MB / 0.6038 GB, free: 14.41 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.46e-05/0.4482, allocations: 20.17 kB / 0.6038 GB, free: 14.39 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.322e-05/0.4483, allocations: 15.42 kB / 0.6038 GB, free: 14.38 MB / 426.7 MB Notification: Performance of SimCode: time 2.41e-07/0.4483, allocations: 0 / 0.6038 GB, free: 14.38 MB / 426.7 MB Notification: Performance of Templates: time 0.002953/0.4512, allocations: 1.08 MB / 0.6049 GB, free: 13.3 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test12/Test12.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches