Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.conf.json 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/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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00153/0.00153, allocations: 113.4 kB / 17.78 MB, free: 5.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001414/0.001414, allocations: 188.9 kB / 18.71 MB, free: 4.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.432/1.432, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2225/0.2225, allocations: 44.19 MB / 336.8 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001252, allocations: 63.91 kB / 470.5 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3667/0.3679, allocations: 60.82 MB / 0.5189 GB, free: 3.609 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test7): time 0.002572/0.3705, allocations: 1.582 MB / 0.5204 GB, free: 2.512 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006485/0.3712, allocations: 430.9 kB / 0.5209 GB, free: 2.234 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.743e-05/0.3713, allocations: 1.156 kB / 0.5209 GB, free: 2.234 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006035/0.3719, allocations: 446.1 kB / 0.5213 GB, free: 2.215 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003909/0.3723, allocations: 261.7 kB / 0.5215 GB, free: 2.18 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004091/0.3727, allocations: 168.7 kB / 0.5217 GB, free: 2.098 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002484/0.373, allocations: 158.7 kB / 0.5218 GB, free: 2.07 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000102/0.3731, allocations: 16.25 kB / 0.5219 GB, free: 2.062 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001344/0.3732, allocations: 107.4 kB / 0.522 GB, free: 2.051 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000249/0.3735, allocations: 201.6 kB / 0.5222 GB, free: 2.035 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.195e-05/0.3735, allocations: 6.562 kB / 0.5222 GB, free: 2.031 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.934e-05/0.3736, allocations: 32.67 kB / 0.5222 GB, free: 2.016 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.605e-05/0.3737, allocations: 73.14 kB / 0.5223 GB, free: 1.996 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.745e-05/0.3738, allocations: 103.4 kB / 0.5224 GB, free: 1.91 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002962/0.3741, allocations: 243 kB / 0.5226 GB, free: 1.805 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.3741, allocations: 0 / 0.5226 GB, free: 1.805 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.055e-06/0.3741, allocations: 1.062 kB / 0.5226 GB, free: 1.805 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.454e-06/0.3741, allocations: 0 / 0.5226 GB, free: 1.805 MB / 382.1 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.0005993/0.3747, allocations: 0.6182 MB / 0.5232 GB, free: 1.262 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.3747, allocations: 9.844 kB / 0.5232 GB, free: 1.262 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.879e-05/0.3748, allocations: 49.61 kB / 0.5233 GB, free: 1.23 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002241/0.375, allocations: 288.7 kB / 0.5235 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.056e-05/0.375, allocations: 2.406 kB / 0.5235 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.304e-05/0.3751, allocations: 9.906 kB / 0.5235 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001417/0.3752, allocations: 50.27 kB / 0.5236 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.116e-06/0.3752, allocations: 0 / 0.5236 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.926e-06/0.3752, allocations: 1.062 kB / 0.5236 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.3753, allocations: 4 kB / 0.5236 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.192e-05/0.3753, allocations: 31.98 kB / 0.5236 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004793/0.3758, allocations: 387.5 kB / 0.524 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.791e-05/0.3759, allocations: 36.69 kB / 0.524 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.685e-05/0.376, allocations: 14.31 kB / 0.524 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.721e-05/0.376, allocations: 0.9375 kB / 0.524 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.926e-05/0.376, allocations: 40.34 kB / 0.5241 GB, free: 496 kB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.373e-06/0.3761, allocations: 0 / 0.5241 GB, free: 496 kB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002698/0.3763, allocations: 94.28 kB / 0.5242 GB, free: 440 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.308e-05/0.3764, allocations: 55.86 kB / 0.5242 GB, free: 372 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009101/0.3773, allocations: 0.8637 MB / 0.5251 GB, free: 40 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.043e-05/0.3773, allocations: 26.77 kB / 0.5251 GB, free: 8 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002238/0.3775, allocations: 221.6 kB / 0.5253 GB, free: 15.83 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.937e-05/0.3776, allocations: 6.203 kB / 0.5253 GB, free: 15.82 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.161e-05/0.3776, allocations: 16.98 kB / 0.5253 GB, free: 15.8 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001814/0.3778, allocations: 364.9 kB / 0.5257 GB, free: 15.47 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.49e-05/0.3779, allocations: 8.141 kB / 0.5257 GB, free: 15.47 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.785e-05/0.3779, allocations: 13.33 kB / 0.5257 GB, free: 15.46 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.219e-05/0.378, allocations: 27.31 kB / 0.5257 GB, free: 15.45 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.378, allocations: 0 / 0.5257 GB, free: 15.45 MB / 398.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001542/0.3782, allocations: 95.36 kB / 0.5258 GB, free: 15.39 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.3782, allocations: 5.625 kB / 0.5258 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.3782, allocations: 0.8906 kB / 0.5258 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.3782, allocations: 0.875 kB / 0.5258 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.888e-05/0.3783, allocations: 5.328 kB / 0.5258 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.3783, allocations: 0 / 0.5258 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.237e-05/0.3784, allocations: 3.688 kB / 0.5258 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.883e-06/0.3784, allocations: 0.8438 kB / 0.5258 GB, free: 15.39 MB / 398.1 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 (2): * Single equations (assignments): 2 * 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 0.0002196/0.3786, allocations: 221.2 kB / 0.526 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.024e-05/0.3787, allocations: 41.53 kB / 0.5261 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002146/0.3789, allocations: 107.2 kB / 0.5262 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.3789, allocations: 1.781 kB / 0.5262 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.3789, allocations: 0 / 0.5262 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.3789, allocations: 0 / 0.5262 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003491/0.3793, allocations: 290.9 kB / 0.5265 GB, free: 14.87 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.3793, allocations: 7.875 kB / 0.5265 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.55e-05/0.3793, allocations: 9.344 kB / 0.5265 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.252e-05/0.3794, allocations: 0 / 0.5265 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.686e-06/0.3794, allocations: 5.156 kB / 0.5265 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.3794, allocations: 0 / 0.5265 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.3794, allocations: 0 / 0.5265 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00021/0.3796, allocations: 189.4 kB / 0.5267 GB, free: 14.69 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.209e-05/0.3797, allocations: 105.4 kB / 0.5268 GB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.878e-05/0.3798, allocations: 5.406 kB / 0.5268 GB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.302e-05/0.3798, allocations: 13.14 kB / 0.5268 GB, free: 14.56 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.548e-05/0.3799, allocations: 1.594 kB / 0.5268 GB, free: 14.56 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.667e-06/0.3799, allocations: 1.625 kB / 0.5268 GB, free: 14.56 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007227/0.3806, allocations: 0.6465 MB / 0.5274 GB, free: 14.25 MB / 398.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.3806, allocations: 0 / 0.5274 GB, free: 14.25 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002569/0.3809, allocations: 14.59 kB / 0.5274 GB, free: 14.25 MB / 398.1 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 (2): * Single equations (assignments): 2 * 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.0008363/0.3818, allocations: 356.2 kB / 0.5278 GB, free: 14.07 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001549/0.3819, allocations: 22.11 kB / 0.5278 GB, free: 14.06 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.3819, allocations: 0 / 0.5278 GB, free: 14.06 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 4.987e-05/0.382, allocations: 16.02 kB / 0.5278 GB, free: 14.05 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003774/0.3824, allocations: 33.41 kB / 0.5278 GB, free: 14.03 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001435/0.3838, allocations: 0.7667 MB / 0.5286 GB, free: 13.62 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005256/0.3844, allocations: 0.8259 MB / 0.5294 GB, free: 12.86 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.212e-05/0.3844, allocations: 9.516 kB / 0.5294 GB, free: 12.85 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.7e-05/0.3845, allocations: 15.3 kB / 0.5294 GB, free: 12.84 MB / 398.1 MB Notification: Performance of SimCode: time 2.104e-06/0.3845, allocations: 3.938 kB / 0.5294 GB, free: 12.84 MB / 398.1 MB Notification: Performance of Templates: time 0.00634/0.3908, allocations: 1.29 MB / 0.5307 GB, free: 12.19 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test7/Test7.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches