Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001428/0.001428, allocations: 109.8 kB / 17.78 MB, free: 5.281 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.001221/0.001221, allocations: 179.1 kB / 18.71 MB, free: 4.363 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.344/1.344, allocations: 222.9 MB / 242.4 MB, free: 15.05 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.1977/0.1977, allocations: 44.18 MB / 336.7 MB, free: 2.645 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001138/0.001138, allocations: 63.84 kB / 470.6 MB, free: 13.13 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3423/0.3434, allocations: 60.82 MB / 0.5189 GB, free: 3.867 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test4): time 0.002807/0.3463, allocations: 1.621 MB / 0.5205 GB, free: 2.746 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007801/0.3471, allocations: 422.1 kB / 0.5209 GB, free: 2.473 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.674e-05/0.3471, allocations: 1.219 kB / 0.5209 GB, free: 2.473 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000777/0.3479, allocations: 450 kB / 0.5213 GB, free: 2.449 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004347/0.3484, allocations: 256.5 kB / 0.5216 GB, free: 2.418 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000331/0.3487, allocations: 131.8 kB / 0.5217 GB, free: 2.352 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003229/0.349, allocations: 161.2 kB / 0.5219 GB, free: 2.32 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001286/0.3492, allocations: 18.48 kB / 0.5219 GB, free: 2.312 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001841/0.3494, allocations: 107.1 kB / 0.522 GB, free: 2.301 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000341/0.3497, allocations: 206.2 kB / 0.5222 GB, free: 2.281 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.323e-05/0.3497, allocations: 3.062 kB / 0.5222 GB, free: 2.281 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.539e-05/0.3498, allocations: 35.09 kB / 0.5222 GB, free: 2.27 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001404/0.35, allocations: 84.84 kB / 0.5223 GB, free: 2.238 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.863e-05/0.3501, allocations: 94.38 kB / 0.5224 GB, free: 2.16 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004088/0.3505, allocations: 260.5 kB / 0.5226 GB, free: 2.043 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.902e-06/0.3505, allocations: 1.062 kB / 0.5226 GB, free: 2.043 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.3505, allocations: 3.938 kB / 0.5226 GB, free: 2.039 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.297e-06/0.3505, allocations: 0 / 0.5226 GB, free: 2.039 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007294/0.3512, allocations: 0.6414 MB / 0.5233 GB, free: 1.469 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/0.3513, allocations: 8.531 kB / 0.5233 GB, free: 1.469 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.191e-05/0.3514, allocations: 48.56 kB / 0.5233 GB, free: 1.441 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002292/0.3516, allocations: 292 kB / 0.5236 GB, free: 1.16 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.261e-05/0.3516, allocations: 1.812 kB / 0.5236 GB, free: 1.16 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.229e-05/0.3516, allocations: 10.59 kB / 0.5236 GB, free: 1.152 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001444/0.3518, allocations: 56.39 kB / 0.5237 GB, free: 1.109 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.374e-05/0.3518, allocations: 0 / 0.5237 GB, free: 1.109 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.498e-06/0.3518, allocations: 0 / 0.5237 GB, free: 1.109 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.3518, allocations: 1.562 kB / 0.5237 GB, free: 1.109 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001009/0.3519, allocations: 27.25 kB / 0.5237 GB, free: 1.102 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004412/0.3524, allocations: 389.7 kB / 0.5241 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002088/0.3526, allocations: 51.06 kB / 0.5241 GB, free: 0.7383 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.909e-05/0.3527, allocations: 15.02 kB / 0.5241 GB, free: 0.7305 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.388e-05/0.3527, allocations: 0 / 0.5241 GB, free: 0.7305 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.029e-05/0.3527, allocations: 41.55 kB / 0.5242 GB, free: 0.6836 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.3527, allocations: 0 / 0.5242 GB, free: 0.6836 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005693/0.3533, allocations: 226.5 kB / 0.5244 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.468e-05/0.3533, allocations: 51.41 kB / 0.5244 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007819/0.3541, allocations: 0.8586 MB / 0.5253 GB, free: 160 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.695e-06/0.3541, allocations: 25.7 kB / 0.5253 GB, free: 128 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000158/0.3543, allocations: 224.5 kB / 0.5255 GB, free: 15.93 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.498e-05/0.3543, allocations: 22.33 kB / 0.5255 GB, free: 15.91 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.754e-05/0.3544, allocations: 18.62 kB / 0.5255 GB, free: 15.89 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001376/0.3545, allocations: 359.2 kB / 0.5259 GB, free: 15.54 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.945e-05/0.3546, allocations: 18.2 kB / 0.5259 GB, free: 15.54 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.212e-05/0.3547, allocations: 23.61 kB / 0.5259 GB, free: 15.52 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001257/0.3548, allocations: 52.45 kB / 0.526 GB, free: 15.49 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.22e-07/0.3548, allocations: 0 / 0.526 GB, free: 15.49 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001938/0.355, allocations: 114.5 kB / 0.5261 GB, free: 15.42 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.355, allocations: 5.438 kB / 0.5261 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.355, allocations: 1.406 kB / 0.5261 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.3551, allocations: 0 / 0.5261 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.912e-05/0.3551, allocations: 14.02 kB / 0.5261 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.3551, allocations: 0 / 0.5261 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.112e-05/0.3552, allocations: 7.469 kB / 0.5261 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.913e-06/0.3552, allocations: 5.156 kB / 0.5261 GB, free: 15.41 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 (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 0.0001813/0.3554, allocations: 217.6 kB / 0.5263 GB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.248e-05/0.3554, allocations: 41.84 kB / 0.5264 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000259/0.3557, allocations: 126.5 kB / 0.5265 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.3557, allocations: 1.438 kB / 0.5265 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.3557, allocations: 0 / 0.5265 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.301e-06/0.3557, allocations: 3.938 kB / 0.5265 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005354/0.3563, allocations: 461.2 kB / 0.5269 GB, free: 14.74 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.3563, allocations: 1.438 kB / 0.5269 GB, free: 14.74 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.496e-05/0.3564, allocations: 17.61 kB / 0.5269 GB, free: 14.73 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.3564, allocations: 0 / 0.5269 GB, free: 14.73 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.058e-05/0.3564, allocations: 9.25 kB / 0.527 GB, free: 14.72 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.3564, allocations: 0 / 0.527 GB, free: 14.72 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.3564, allocations: 0 / 0.527 GB, free: 14.72 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002455/0.3566, allocations: 222.8 kB / 0.5272 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.157e-05/0.3567, allocations: 109.6 kB / 0.5273 GB, free: 14.42 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.547e-05/0.3568, allocations: 5.656 kB / 0.5273 GB, free: 14.41 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.576e-05/0.3568, allocations: 2.875 kB / 0.5273 GB, free: 14.41 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.691e-05/0.3569, allocations: 5.516 kB / 0.5273 GB, free: 14.41 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.448e-06/0.3569, allocations: 1.688 kB / 0.5273 GB, free: 14.41 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007117/0.3576, allocations: 0.6461 MB / 0.5279 GB, free: 14.1 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3576, allocations: 4 kB / 0.5279 GB, free: 14.09 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002504/0.3579, allocations: 25.78 kB / 0.528 GB, free: 14.09 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 (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.0008987/0.3588, allocations: 405.4 kB / 0.5283 GB, free: 13.89 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002057/0.359, allocations: 43.41 kB / 0.5284 GB, free: 13.88 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.359, allocations: 0.8125 kB / 0.5284 GB, free: 13.88 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.492e-05/0.3591, allocations: 30.95 kB / 0.5284 GB, free: 13.86 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003475/0.3594, allocations: 25.3 kB / 0.5284 GB, free: 13.84 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001029/0.3605, allocations: 0.7822 MB / 0.5292 GB, free: 13.43 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003881/0.3609, allocations: 0.8226 MB / 0.53 GB, free: 12.66 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.205e-05/0.3609, allocations: 5.719 kB / 0.53 GB, free: 12.66 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.792e-05/0.361, allocations: 14.89 kB / 0.53 GB, free: 12.66 MB / 398.1 MB Notification: Performance of SimCode: time 2.61e-07/0.361, allocations: 5.156 kB / 0.53 GB, free: 12.65 MB / 398.1 MB Notification: Performance of Templates: time 0.004557/0.3655, allocations: 1.457 MB / 0.5314 GB, free: 11.93 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test4/Test4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches