Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.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.CombiTable2Ds.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00151/0.001509, allocations: 113.8 kB / 17.78 MB, free: 5.285 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.001563/0.001564, allocations: 183.9 kB / 18.71 MB, free: 4.371 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.439/1.439, allocations: 222.9 MB / 242.4 MB, free: 15.1 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.2521/0.2521, allocations: 44.18 MB / 336.7 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 63.89 kB / 470.5 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3634/0.3646, allocations: 60.82 MB / 0.5189 GB, free: 3.609 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test8): time 0.003784/0.3684, allocations: 1.576 MB / 0.5205 GB, free: 2.52 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008136/0.3693, allocations: 402.6 kB / 0.5208 GB, free: 2.258 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.673e-05/0.3694, allocations: 1.281 kB / 0.5208 GB, free: 2.258 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001091/0.3705, allocations: 444.7 kB / 0.5213 GB, free: 2.238 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005701/0.3711, allocations: 257.1 kB / 0.5215 GB, free: 2.207 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003452/0.3714, allocations: 127.4 kB / 0.5216 GB, free: 2.145 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002719/0.3717, allocations: 154.6 kB / 0.5218 GB, free: 2.117 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001147/0.3718, allocations: 11.61 kB / 0.5218 GB, free: 2.113 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001624/0.372, allocations: 115 kB / 0.5219 GB, free: 2.094 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003163/0.3723, allocations: 199.9 kB / 0.5221 GB, free: 2.078 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.918e-05/0.3723, allocations: 2.781 kB / 0.5221 GB, free: 2.078 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.293e-05/0.3724, allocations: 19.23 kB / 0.5221 GB, free: 2.074 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001176/0.3725, allocations: 80.59 kB / 0.5222 GB, free: 2.047 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.172e-05/0.3726, allocations: 99.86 kB / 0.5223 GB, free: 1.965 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002772/0.3729, allocations: 240.5 kB / 0.5225 GB, free: 1.859 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.3729, allocations: 0 / 0.5225 GB, free: 1.859 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.3729, allocations: 4 kB / 0.5225 GB, free: 1.855 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.251e-06/0.3729, allocations: 3.938 kB / 0.5225 GB, free: 1.852 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.0005828/0.3735, allocations: 0.6215 MB / 0.5231 GB, free: 1.305 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/0.3736, allocations: 9.125 kB / 0.5231 GB, free: 1.305 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.509e-05/0.3736, allocations: 38.8 kB / 0.5232 GB, free: 1.285 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003133/0.3739, allocations: 295.5 kB / 0.5235 GB, free: 1 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.436e-05/0.374, allocations: 2.031 kB / 0.5235 GB, free: 1 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.829e-05/0.374, allocations: 2.25 kB / 0.5235 GB, free: 1 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000152/0.3742, allocations: 55.06 kB / 0.5235 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.3742, allocations: 0 / 0.5235 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/0.3742, allocations: 8.062 kB / 0.5235 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.3742, allocations: 4 kB / 0.5235 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.836e-05/0.3743, allocations: 20.23 kB / 0.5235 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004878/0.3748, allocations: 368.9 kB / 0.5239 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.384e-05/0.3749, allocations: 37.42 kB / 0.5239 GB, free: 0.5938 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.552e-05/0.3749, allocations: 12.94 kB / 0.5239 GB, free: 0.5859 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.558e-05/0.375, allocations: 0 / 0.5239 GB, free: 0.5859 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.266e-05/0.375, allocations: 36.36 kB / 0.524 GB, free: 0.543 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 8.11e-07/0.375, allocations: 0 / 0.524 GB, free: 0.543 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002955/0.3753, allocations: 96.62 kB / 0.5241 GB, free: 496 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.853e-05/0.3754, allocations: 55.53 kB / 0.5241 GB, free: 428 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000918/0.3763, allocations: 0.8546 MB / 0.525 GB, free: 104 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.254e-06/0.3763, allocations: 25.7 kB / 0.525 GB, free: 72 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001804/0.3765, allocations: 222.1 kB / 0.5252 GB, free: 15.89 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.183e-05/0.3765, allocations: 10.06 kB / 0.5252 GB, free: 15.88 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.698e-05/0.3765, allocations: 13.27 kB / 0.5252 GB, free: 15.87 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001714/0.3767, allocations: 364.2 kB / 0.5256 GB, free: 15.53 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.406e-05/0.3768, allocations: 6.469 kB / 0.5256 GB, free: 15.53 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.186e-05/0.3768, allocations: 11.14 kB / 0.5256 GB, free: 15.53 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.905e-05/0.3769, allocations: 23.75 kB / 0.5256 GB, free: 15.52 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.3769, allocations: 1.375 kB / 0.5256 GB, free: 15.52 MB / 398.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001421/0.377, allocations: 88.84 kB / 0.5257 GB, free: 15.46 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.3771, allocations: 12.84 kB / 0.5257 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.3771, allocations: 1.375 kB / 0.5257 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.3771, allocations: 0 / 0.5257 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.853e-05/0.3772, allocations: 13.33 kB / 0.5257 GB, free: 15.44 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.3772, allocations: 0.7969 kB / 0.5257 GB, free: 15.44 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.302e-05/0.3772, allocations: 3.312 kB / 0.5257 GB, free: 15.44 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.668e-06/0.3772, allocations: 5.375 kB / 0.5257 GB, free: 15.44 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.0001983/0.3774, allocations: 211.5 kB / 0.5259 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.125e-05/0.3775, allocations: 37.41 kB / 0.526 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002004/0.3777, allocations: 103.6 kB / 0.5261 GB, free: 15.22 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.3777, allocations: 4.031 kB / 0.5261 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.3777, allocations: 1.375 kB / 0.5261 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.3777, allocations: 0 / 0.5261 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003291/0.3781, allocations: 290.2 kB / 0.5263 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.3781, allocations: 0 / 0.5263 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.354e-05/0.3781, allocations: 4.125 kB / 0.5263 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.3781, allocations: 0 / 0.5263 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.438e-06/0.3781, allocations: 1.375 kB / 0.5263 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.3782, allocations: 3.938 kB / 0.5263 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.3782, allocations: 3.984 kB / 0.5264 GB, free: 14.94 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001844/0.3784, allocations: 184 kB / 0.5265 GB, free: 14.78 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.687e-05/0.3784, allocations: 104.9 kB / 0.5266 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.408e-05/0.3785, allocations: 1.375 kB / 0.5266 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.181e-05/0.3785, allocations: 5.375 kB / 0.5266 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.26e-05/0.3786, allocations: 13.34 kB / 0.5266 GB, free: 14.65 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.306e-06/0.3786, allocations: 1.375 kB / 0.5266 GB, free: 14.65 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006777/0.3793, allocations: 0.6419 MB / 0.5273 GB, free: 14.34 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3793, allocations: 4.031 kB / 0.5273 GB, free: 14.34 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002435/0.3795, allocations: 22.81 kB / 0.5273 GB, free: 14.33 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.0007928/0.3803, allocations: 341.7 kB / 0.5276 GB, free: 14.16 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001382/0.3805, allocations: 28.52 kB / 0.5277 GB, free: 14.14 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.3805, allocations: 1.375 kB / 0.5277 GB, free: 14.14 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 4.011e-05/0.3805, allocations: 7.031 kB / 0.5277 GB, free: 14.14 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004147/0.381, allocations: 27.84 kB / 0.5277 GB, free: 14.12 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001227/0.3822, allocations: 0.7475 MB / 0.5284 GB, free: 13.73 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000616/0.3828, allocations: 0.8196 MB / 0.5292 GB, free: 12.97 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.348e-05/0.3829, allocations: 20.19 kB / 0.5292 GB, free: 12.95 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.693e-05/0.3829, allocations: 9.625 kB / 0.5292 GB, free: 12.95 MB / 398.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3829, allocations: 1.312 kB / 0.5292 GB, free: 12.95 MB / 398.1 MB Notification: Performance of Templates: time 0.005873/0.3888, allocations: 1.268 MB / 0.5305 GB, free: 12.31 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test8/Test8.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches