Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.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.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00146/0.00146, allocations: 111.7 kB / 18.46 MB, free: 4.617 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.001626/0.001626, allocations: 186.1 kB / 19.39 MB, free: 3.695 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.322/1.322, 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.2138/0.2138, allocations: 44.19 MB / 337.4 MB, free: 2.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002399/0.002399, allocations: 59.91 kB / 471.2 MB, free: 13.17 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3564/0.3588, allocations: 60.83 MB / 0.5196 GB, free: 3.629 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test3): time 0.003336/0.3622, allocations: 1.638 MB / 0.5212 GB, free: 2.496 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000944/0.3632, allocations: 466.4 kB / 0.5216 GB, free: 2.191 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001178/0.3633, allocations: 1.125 kB / 0.5216 GB, free: 2.191 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000746/0.3641, allocations: 451.6 kB / 0.5221 GB, free: 2.168 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005019/0.3646, allocations: 256.6 kB / 0.5223 GB, free: 2.137 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006588/0.3653, allocations: 167.6 kB / 0.5225 GB, free: 2.059 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005897/0.3659, allocations: 180.9 kB / 0.5227 GB, free: 2.02 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001403/0.3661, allocations: 20.66 kB / 0.5227 GB, free: 2.012 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003247/0.3664, allocations: 113.7 kB / 0.5228 GB, free: 1.996 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003395/0.3667, allocations: 218.2 kB / 0.523 GB, free: 1.969 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.921e-05/0.3668, allocations: 3.781 kB / 0.523 GB, free: 1.969 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001584/0.3669, allocations: 51.42 kB / 0.523 GB, free: 1.953 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001189/0.3671, allocations: 87.98 kB / 0.5231 GB, free: 1.922 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.846e-05/0.3672, allocations: 104.4 kB / 0.5232 GB, free: 1.836 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000444/0.3676, allocations: 267.1 kB / 0.5235 GB, free: 1.723 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.3676, allocations: 4 kB / 0.5235 GB, free: 1.719 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.265e-06/0.3676, allocations: 2.281 kB / 0.5235 GB, free: 1.719 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.303e-05/0.3676, allocations: 0 / 0.5235 GB, free: 1.719 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0008681/0.3685, allocations: 0.6513 MB / 0.5241 GB, free: 1.156 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/0.3686, allocations: 7.594 kB / 0.5241 GB, free: 1.156 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.476e-05/0.3687, allocations: 43.5 kB / 0.5242 GB, free: 1.133 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002711/0.3689, allocations: 302.9 kB / 0.5245 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.287e-05/0.369, allocations: 2.125 kB / 0.5245 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.778e-05/0.369, allocations: 3 kB / 0.5245 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001922/0.3692, allocations: 74.91 kB / 0.5245 GB, free: 0.793 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/0.3692, allocations: 0 / 0.5245 GB, free: 0.793 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.275e-05/0.3692, allocations: 5.531 kB / 0.5245 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.3692, allocations: 5.219 kB / 0.5245 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001582/0.3694, allocations: 46.69 kB / 0.5246 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005953/0.37, allocations: 408 kB / 0.525 GB, free: 464 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002471/0.3703, allocations: 61.03 kB / 0.525 GB, free: 428 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.922e-05/0.3704, allocations: 30.56 kB / 0.5251 GB, free: 412 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.12e-05/0.3704, allocations: 0.75 kB / 0.5251 GB, free: 412 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.372e-05/0.3704, allocations: 37.53 kB / 0.5251 GB, free: 368 kB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.694e-06/0.3704, allocations: 0 / 0.5251 GB, free: 368 kB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.001602/0.372, allocations: 498.7 kB / 0.5256 GB, free: 180 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.966e-05/0.3721, allocations: 56.72 kB / 0.5256 GB, free: 112 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009312/0.373, allocations: 0.8556 MB / 0.5265 GB, free: 15.7 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.373, allocations: 25.7 kB / 0.5265 GB, free: 15.67 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001689/0.3732, allocations: 212.7 kB / 0.5267 GB, free: 15.48 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.109e-05/0.3733, allocations: 39.53 kB / 0.5267 GB, free: 15.45 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.783e-05/0.3733, allocations: 25.02 kB / 0.5268 GB, free: 15.43 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001637/0.3735, allocations: 360.8 kB / 0.5271 GB, free: 15.08 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001536/0.3736, allocations: 60.61 kB / 0.5272 GB, free: 15.05 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001382/0.3738, allocations: 52.33 kB / 0.5272 GB, free: 15.03 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002901/0.3741, allocations: 123.6 kB / 0.5273 GB, free: 14.96 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.3741, allocations: 0 / 0.5273 GB, free: 14.96 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004234/0.3745, allocations: 201.2 kB / 0.5275 GB, free: 14.85 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.3746, allocations: 6.125 kB / 0.5275 GB, free: 14.85 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.3746, allocations: 0 / 0.5275 GB, free: 14.85 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/0.3746, allocations: 1.625 kB / 0.5275 GB, free: 14.85 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001186/0.3747, allocations: 31.31 kB / 0.5276 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.877e-06/0.3747, allocations: 4.5 kB / 0.5276 GB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.176e-05/0.3748, allocations: 14.39 kB / 0.5276 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.05e-05/0.3749, allocations: 6.438 kB / 0.5276 GB, free: 14.82 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 (11): * Single equations (assignments): 11 * 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.0002136/0.3751, allocations: 212.7 kB / 0.5278 GB, free: 14.67 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.317e-05/0.3752, allocations: 42.38 kB / 0.5278 GB, free: 14.65 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004915/0.3756, allocations: 237 kB / 0.528 GB, free: 14.51 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.3757, allocations: 0 / 0.528 GB, free: 14.51 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.3757, allocations: 3.938 kB / 0.5281 GB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.577e-05/0.3758, allocations: 114.3 kB / 0.5282 GB, free: 14.38 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.272e-05/0.3758, allocations: 9.328 kB / 0.5282 GB, free: 14.38 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001042/0.3759, allocations: 6.969 kB / 0.5282 GB, free: 14.38 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.536e-05/0.376, allocations: 12.2 kB / 0.5282 GB, free: 14.37 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004106/0.3764, allocations: 237.2 kB / 0.5284 GB, free: 14.2 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004517/0.3769, allocations: 382 kB / 0.5288 GB, free: 13.9 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001577/0.377, allocations: 66.22 kB / 0.5288 GB, free: 13.87 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007434/0.3778, allocations: 0.6449 MB / 0.5295 GB, free: 13.55 MB / 398.1 MB Notification: Performance of Backend: time 7.61e-07/0.3778, allocations: 0 / 0.5295 GB, free: 13.55 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001594/0.3794, allocations: 0.6048 MB / 0.5301 GB, free: 13.3 MB / 398.1 MB Notification: Performance of SimCode: time 0.001344/0.3808, allocations: 1.167 MB / 0.5312 GB, free: 12.42 MB / 398.1 MB Notification: Performance of Templates: time 0.005961/0.3867, allocations: 2.177 MB / 0.5333 GB, free: 11.34 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches