Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.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.Test24,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.Test24") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test24,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.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001394/0.001394, allocations: 186.9 kB / 17.97 MB, free: 3.797 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.347/1.347, allocations: 222.9 MB / 241.6 MB, free: 10.99 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.0009725/0.0009726, allocations: 100.2 kB / 291.9 MB, free: 10.96 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.3743/0.3743, allocations: 44.13 MB / 386.1 MB, free: 38.04 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001025/0.001025, allocations: 55.92 kB / 457.7 MB, free: 2.328 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4644/0.4654, allocations: 60.81 MB / 0.5064 GB, free: 38.22 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test24): time 0.003983/0.4694, allocations: 1.616 MB / 0.508 GB, free: 37.12 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001429/0.4709, allocations: 1.009 MB / 0.509 GB, free: 36.41 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.589e-05/0.471, allocations: 3.938 kB / 0.509 GB, free: 36.41 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002023/0.4712, allocations: 23.3 kB / 0.509 GB, free: 36.39 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001629/0.4714, allocations: 37.39 kB / 0.509 GB, free: 36.37 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002715/0.4717, allocations: 96.64 kB / 0.5091 GB, free: 36.32 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000133/0.4718, allocations: 62.95 kB / 0.5092 GB, free: 36.3 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.36e-05/0.4719, allocations: 5.219 kB / 0.5092 GB, free: 36.3 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.387e-05/0.472, allocations: 19.12 kB / 0.5092 GB, free: 36.29 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001464/0.4721, allocations: 33.53 kB / 0.5092 GB, free: 36.27 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.884e-05/0.4721, allocations: 0 / 0.5092 GB, free: 36.27 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001169/0.4723, allocations: 46.78 kB / 0.5093 GB, free: 36.26 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.125e-05/0.4723, allocations: 14.8 kB / 0.5093 GB, free: 36.25 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.834e-05/0.4724, allocations: 18.53 kB / 0.5093 GB, free: 36.23 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001515/0.4725, allocations: 90.06 kB / 0.5094 GB, free: 36.2 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.4725, allocations: 2.938 kB / 0.5094 GB, free: 36.2 MB / 378.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.4725, allocations: 0 / 0.5094 GB, free: 36.2 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.116e-06/0.4726, allocations: 0 / 0.5094 GB, free: 36.2 MB / 378.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.0003609/0.4729, allocations: 382.5 kB / 0.5098 GB, free: 35.8 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.473, allocations: 12.62 kB / 0.5098 GB, free: 35.8 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.083e-05/0.473, allocations: 11.83 kB / 0.5098 GB, free: 35.79 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001378/0.4732, allocations: 183.7 kB / 0.51 GB, free: 35.59 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.466e-06/0.4732, allocations: 384 / 0.51 GB, free: 35.59 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.653e-05/0.4732, allocations: 3.031 kB / 0.51 GB, free: 35.59 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001305/0.4733, allocations: 69.66 kB / 0.51 GB, free: 35.53 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.4733, allocations: 2.688 kB / 0.51 GB, free: 35.53 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.797e-06/0.4734, allocations: 0 / 0.51 GB, free: 35.53 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.4734, allocations: 4 kB / 0.51 GB, free: 35.52 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.25e-05/0.4735, allocations: 25.34 kB / 0.5101 GB, free: 35.52 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002862/0.4738, allocations: 275.7 kB / 0.5103 GB, free: 35.24 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001742/0.4739, allocations: 50.59 kB / 0.5104 GB, free: 35.2 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.38e-05/0.474, allocations: 18.67 kB / 0.5104 GB, free: 35.19 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.587e-05/0.474, allocations: 2.938 kB / 0.5104 GB, free: 35.19 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.455e-05/0.474, allocations: 41.78 kB / 0.5104 GB, free: 35.14 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.474, allocations: 0 / 0.5104 GB, free: 35.14 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004837/0.4745, allocations: 141.5 kB / 0.5106 GB, free: 35.08 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.718e-05/0.4746, allocations: 77.11 kB / 0.5106 GB, free: 34.98 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001038/0.4747, allocations: 137.7 kB / 0.5108 GB, free: 34.87 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.187e-06/0.4747, allocations: 25.7 kB / 0.5108 GB, free: 34.84 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.768e-05/0.4747, allocations: 95.02 kB / 0.5109 GB, free: 34.75 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.771e-05/0.4748, allocations: 21.77 kB / 0.5109 GB, free: 34.73 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.977e-05/0.4748, allocations: 15 kB / 0.5109 GB, free: 34.71 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.353e-05/0.4749, allocations: 324.8 kB / 0.5112 GB, free: 34.39 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.53e-05/0.4749, allocations: 18.47 kB / 0.5112 GB, free: 34.39 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.366e-05/0.475, allocations: 38.58 kB / 0.5113 GB, free: 34.37 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001175/0.4751, allocations: 61.67 kB / 0.5113 GB, free: 34.34 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.4751, allocations: 0 / 0.5113 GB, free: 34.34 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001661/0.4753, allocations: 84.86 kB / 0.5114 GB, free: 34.29 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/0.4753, allocations: 3.938 kB / 0.5114 GB, free: 34.29 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.356e-06/0.4753, allocations: 0 / 0.5114 GB, free: 34.29 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.4753, allocations: 4.031 kB / 0.5114 GB, free: 34.29 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.632e-05/0.4754, allocations: 14.91 kB / 0.5114 GB, free: 34.29 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.148e-06/0.4754, allocations: 0 / 0.5114 GB, free: 34.29 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.815e-05/0.4755, allocations: 2.906 kB / 0.5114 GB, free: 34.29 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.472e-06/0.4755, allocations: 2.844 kB / 0.5114 GB, free: 34.29 MB / 378.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.042e-05/0.4755, allocations: 120.5 kB / 0.5116 GB, free: 34.17 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.976e-05/0.4756, allocations: 6.969 kB / 0.5116 GB, free: 34.16 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001954/0.4758, allocations: 99.97 kB / 0.5117 GB, free: 34.11 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.4758, allocations: 2.781 kB / 0.5117 GB, free: 34.11 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.4758, allocations: 0 / 0.5117 GB, free: 34.11 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.4758, allocations: 0 / 0.5117 GB, free: 34.11 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003293/0.4761, allocations: 358 kB / 0.512 GB, free: 33.77 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.4761, allocations: 2.969 kB / 0.512 GB, free: 33.77 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.976e-05/0.4762, allocations: 11.91 kB / 0.512 GB, free: 33.77 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.4762, allocations: 4 kB / 0.512 GB, free: 33.77 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.4762, allocations: 4.188 kB / 0.512 GB, free: 33.77 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.4762, allocations: 11.88 kB / 0.512 GB, free: 33.75 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.4762, allocations: 2.938 kB / 0.512 GB, free: 33.75 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003739/0.4766, allocations: 0.753 MB / 0.5128 GB, free: 33.02 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.614e-05/0.4766, allocations: 83.98 kB / 0.5129 GB, free: 32.92 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.576e-05/0.4767, allocations: 4 kB / 0.5129 GB, free: 32.91 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.7e-05/0.4767, allocations: 8.859 kB / 0.5129 GB, free: 32.91 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.475e-05/0.4768, allocations: 3.984 kB / 0.5129 GB, free: 32.91 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.119e-06/0.4768, allocations: 6.266 kB / 0.5129 GB, free: 32.91 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.735e-05/0.4769, allocations: 102.9 kB / 0.513 GB, free: 32.83 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4769, allocations: 3.938 kB / 0.513 GB, free: 32.82 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003368/0.4772, allocations: 25.61 kB / 0.513 GB, free: 32.82 MB / 378.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008734/0.4781, allocations: 435.9 kB / 0.5134 GB, free: 32.62 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001819/0.4783, allocations: 57.39 kB / 0.5135 GB, free: 32.6 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.4783, allocations: 7.938 kB / 0.5135 GB, free: 32.59 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.767e-05/0.4784, allocations: 24.83 kB / 0.5135 GB, free: 32.59 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003202/0.4787, allocations: 19.81 kB / 0.5135 GB, free: 32.58 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003222/0.479, allocations: 294.4 kB / 0.5138 GB, free: 32.31 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001028/0.4791, allocations: 0.6909 MB / 0.5145 GB, free: 31.61 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.099e-05/0.4792, allocations: 21.16 kB / 0.5145 GB, free: 31.61 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.979e-05/0.4792, allocations: 13.09 kB / 0.5145 GB, free: 31.61 MB / 378.7 MB Notification: Performance of SimCode: time 2.2e-07/0.4792, allocations: 0 / 0.5145 GB, free: 31.61 MB / 378.7 MB Notification: Performance of Templates: time 0.003075/0.4823, allocations: 1.34 MB / 0.5158 GB, free: 31.43 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test24/Test24.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches