Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.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.CombiTable2Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001086/0.001086, allocations: 106.8 kB / 18.45 MB, free: 4.621 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.001149/0.001149, allocations: 187.1 kB / 19.38 MB, free: 3.699 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.342/1.342, allocations: 222.9 MB / 243.1 MB, free: 15.07 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.1983/0.1983, allocations: 44.17 MB / 337.4 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001369/0.001369, allocations: 59.91 kB / 471.2 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3533/0.3547, allocations: 60.82 MB / 0.5196 GB, free: 3.609 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test4): time 0.003095/0.3579, allocations: 1.618 MB / 0.5212 GB, free: 2.488 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008137/0.3587, allocations: 456.7 kB / 0.5216 GB, free: 2.191 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.983e-05/0.3588, allocations: 1.094 kB / 0.5216 GB, free: 2.191 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007623/0.3596, allocations: 446.5 kB / 0.522 GB, free: 2.172 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004686/0.36, allocations: 253.1 kB / 0.5223 GB, free: 2.145 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003994/0.3605, allocations: 170.3 kB / 0.5224 GB, free: 2.062 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002416/0.3607, allocations: 171.1 kB / 0.5226 GB, free: 2.027 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001035/0.3608, allocations: 23.56 kB / 0.5226 GB, free: 2.016 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001347/0.361, allocations: 108.3 kB / 0.5227 GB, free: 2.004 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000247/0.3612, allocations: 206 kB / 0.5229 GB, free: 1.984 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.383e-05/0.3612, allocations: 3.312 kB / 0.5229 GB, free: 1.984 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.772e-05/0.3613, allocations: 35.11 kB / 0.523 GB, free: 1.973 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001052/0.3614, allocations: 85.89 kB / 0.523 GB, free: 1.941 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.62e-05/0.3615, allocations: 104.4 kB / 0.5231 GB, free: 1.855 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000294/0.3618, allocations: 254.4 kB / 0.5234 GB, free: 1.746 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.3618, allocations: 0 / 0.5234 GB, free: 1.746 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.3618, allocations: 0 / 0.5234 GB, free: 1.746 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.6e-06/0.3618, allocations: 0 / 0.5234 GB, free: 1.746 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.0006094/0.3625, allocations: 0.6235 MB / 0.524 GB, free: 1.199 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/0.3625, allocations: 13.39 kB / 0.524 GB, free: 1.195 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.378e-05/0.3626, allocations: 44.22 kB / 0.524 GB, free: 1.172 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002768/0.3629, allocations: 301.9 kB / 0.5243 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.928e-06/0.3629, allocations: 4.375 kB / 0.5243 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.145e-05/0.3629, allocations: 4.75 kB / 0.5243 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001546/0.3631, allocations: 60.3 kB / 0.5244 GB, free: 0.832 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.3631, allocations: 1.281 kB / 0.5244 GB, free: 0.832 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.004e-05/0.3631, allocations: 0 / 0.5244 GB, free: 0.832 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.3631, allocations: 5.156 kB / 0.5244 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001143/0.3632, allocations: 27.56 kB / 0.5244 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005973/0.3638, allocations: 398 kB / 0.5248 GB, free: 0.5 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000242/0.3641, allocations: 45.05 kB / 0.5248 GB, free: 480 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.647e-05/0.3642, allocations: 16.2 kB / 0.5249 GB, free: 472 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.061e-05/0.3642, allocations: 4.078 kB / 0.5249 GB, free: 468 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.194e-05/0.3642, allocations: 32.73 kB / 0.5249 GB, free: 428 kB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.252e-06/0.3642, allocations: 4 kB / 0.5249 GB, free: 424 kB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005748/0.3648, allocations: 233 kB / 0.5251 GB, free: 296 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.531e-05/0.3648, allocations: 51.41 kB / 0.5252 GB, free: 232 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008115/0.3656, allocations: 0.8578 MB / 0.526 GB, free: 15.91 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.394e-05/0.3657, allocations: 25.7 kB / 0.526 GB, free: 15.88 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001662/0.3658, allocations: 227.5 kB / 0.5263 GB, free: 15.69 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.317e-05/0.3659, allocations: 22.78 kB / 0.5263 GB, free: 15.67 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.447e-05/0.3659, allocations: 22.14 kB / 0.5263 GB, free: 15.64 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001278/0.366, allocations: 359.5 kB / 0.5266 GB, free: 15.3 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.398e-05/0.3661, allocations: 20.52 kB / 0.5267 GB, free: 15.29 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.273e-05/0.3662, allocations: 20.23 kB / 0.5267 GB, free: 15.29 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001337/0.3663, allocations: 55.69 kB / 0.5267 GB, free: 15.25 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.3664, allocations: 4 kB / 0.5267 GB, free: 15.25 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002088/0.3666, allocations: 114.5 kB / 0.5268 GB, free: 15.18 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/0.3666, allocations: 4.125 kB / 0.5268 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.3666, allocations: 1.375 kB / 0.5269 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.3666, allocations: 0 / 0.5269 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.26e-05/0.3667, allocations: 17.55 kB / 0.5269 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.505e-06/0.3667, allocations: 1.375 kB / 0.5269 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.758e-05/0.3668, allocations: 18.58 kB / 0.5269 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.632e-06/0.3668, allocations: 5.375 kB / 0.5269 GB, free: 15.15 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.0001661/0.367, allocations: 206.5 kB / 0.5271 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.665e-05/0.367, allocations: 37.41 kB / 0.5271 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00027/0.3673, allocations: 139.2 kB / 0.5273 GB, free: 14.9 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.3673, allocations: 0 / 0.5273 GB, free: 14.9 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.3673, allocations: 4.062 kB / 0.5273 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.263e-05/0.3674, allocations: 118.1 kB / 0.5274 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.847e-05/0.3674, allocations: 9.312 kB / 0.5274 GB, free: 14.76 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.927e-05/0.3675, allocations: 10.69 kB / 0.5274 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.601e-05/0.3676, allocations: 10.95 kB / 0.5274 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002232/0.3678, allocations: 158.3 kB / 0.5276 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000267/0.3681, allocations: 296 kB / 0.5278 GB, free: 14.36 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.069e-05/0.3682, allocations: 33.75 kB / 0.5279 GB, free: 14.34 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.00061/0.3688, allocations: 0.6515 MB / 0.5285 GB, free: 14.02 MB / 398.1 MB Notification: Performance of Backend: time 5.11e-07/0.3688, allocations: 0 / 0.5285 GB, free: 14.02 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001339/0.3701, allocations: 0.4945 MB / 0.529 GB, free: 13.83 MB / 398.1 MB Notification: Performance of SimCode: time 0.001214/0.3714, allocations: 1.153 MB / 0.5301 GB, free: 12.96 MB / 398.1 MB Notification: Performance of Templates: time 0.004808/0.3762, allocations: 1.626 MB / 0.5317 GB, free: 12.15 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches