Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.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.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001219/0.001219, allocations: 112.9 kB / 18.45 MB, free: 4.598 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.001113/0.001113, allocations: 183 kB / 19.39 MB, free: 3.672 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.341/1.341, allocations: 222.9 MB / 243.1 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.2122/0.2122, allocations: 44.19 MB / 337.4 MB, free: 2.648 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001287, allocations: 59.91 kB / 471.2 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3587/0.36, allocations: 60.82 MB / 0.5196 GB, free: 3.609 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test6): time 0.003526/0.3636, allocations: 1.628 MB / 0.5212 GB, free: 2.484 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009052/0.3646, allocations: 454.2 kB / 0.5216 GB, free: 2.191 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.596e-05/0.3646, allocations: 5.344 kB / 0.5216 GB, free: 2.188 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007461/0.3654, allocations: 447.4 kB / 0.522 GB, free: 2.168 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004427/0.3658, allocations: 251.6 kB / 0.5223 GB, free: 2.141 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004492/0.3663, allocations: 176.6 kB / 0.5225 GB, free: 2.055 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002903/0.3666, allocations: 171.7 kB / 0.5226 GB, free: 2.02 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001253/0.3667, allocations: 16.88 kB / 0.5226 GB, free: 2.016 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001669/0.3669, allocations: 108.2 kB / 0.5227 GB, free: 2.004 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003553/0.3673, allocations: 213.7 kB / 0.5229 GB, free: 1.98 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.361e-05/0.3673, allocations: 3.594 kB / 0.5229 GB, free: 1.98 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001132/0.3674, allocations: 38.19 kB / 0.523 GB, free: 1.965 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001367/0.3676, allocations: 86.42 kB / 0.5231 GB, free: 1.934 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.866e-05/0.3677, allocations: 100.6 kB / 0.5232 GB, free: 1.852 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003716/0.368, allocations: 259.2 kB / 0.5234 GB, free: 1.742 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.3681, allocations: 1.875 kB / 0.5234 GB, free: 1.742 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.3681, allocations: 0 / 0.5234 GB, free: 1.742 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.505e-06/0.3681, allocations: 4 kB / 0.5234 GB, free: 1.738 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.0007591/0.3688, allocations: 0.6576 MB / 0.5241 GB, free: 1.16 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.558e-05/0.3689, allocations: 8.25 kB / 0.5241 GB, free: 1.16 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.74e-05/0.369, allocations: 44.08 kB / 0.5241 GB, free: 1.137 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002365/0.3692, allocations: 303.4 kB / 0.5244 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.047e-05/0.3692, allocations: 1.594 kB / 0.5244 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.49e-05/0.3693, allocations: 1.625 kB / 0.5244 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001755/0.3695, allocations: 67.5 kB / 0.5245 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.3695, allocations: 5.062 kB / 0.5245 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.789e-06/0.3695, allocations: 0.5156 kB / 0.5245 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.3695, allocations: 1.344 kB / 0.5245 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001491/0.3697, allocations: 40 kB / 0.5245 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004954/0.3702, allocations: 404.1 kB / 0.5249 GB, free: 476 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001331/0.3703, allocations: 47.2 kB / 0.5249 GB, free: 444 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.854e-05/0.3704, allocations: 30.61 kB / 0.525 GB, free: 428 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.574e-05/0.3704, allocations: 0 / 0.525 GB, free: 428 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.305e-05/0.3705, allocations: 36.05 kB / 0.525 GB, free: 384 kB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.3705, allocations: 0 / 0.525 GB, free: 384 kB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008952/0.3714, allocations: 320.2 kB / 0.5253 GB, free: 228 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.486e-05/0.3714, allocations: 52.11 kB / 0.5254 GB, free: 164 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001021/0.3724, allocations: 0.8537 MB / 0.5262 GB, free: 15.8 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.919e-05/0.3725, allocations: 29.7 kB / 0.5262 GB, free: 15.77 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000234/0.3727, allocations: 211.5 kB / 0.5264 GB, free: 15.59 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.686e-05/0.3727, allocations: 31.25 kB / 0.5264 GB, free: 15.56 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.549e-05/0.3728, allocations: 27.02 kB / 0.5265 GB, free: 15.53 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000153/0.373, allocations: 359.8 kB / 0.5268 GB, free: 15.19 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001336/0.3731, allocations: 37.25 kB / 0.5269 GB, free: 15.17 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001155/0.3732, allocations: 38.09 kB / 0.5269 GB, free: 15.16 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000245/0.3735, allocations: 90.72 kB / 0.527 GB, free: 15.11 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.3735, allocations: 0 / 0.527 GB, free: 15.11 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003255/0.3738, allocations: 158 kB / 0.5271 GB, free: 15.02 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.3738, allocations: 8.094 kB / 0.5271 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.3738, allocations: 0 / 0.5271 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.749e-05/0.3739, allocations: 1.031 kB / 0.5271 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001255/0.374, allocations: 26.36 kB / 0.5272 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.396e-06/0.374, allocations: 3.984 kB / 0.5272 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.007e-05/0.3741, allocations: 6.75 kB / 0.5272 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.079e-05/0.3741, allocations: 5.219 kB / 0.5272 GB, free: 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 (7): * Single equations (assignments): 7 * 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.0002156/0.3743, allocations: 215.9 kB / 0.5274 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.018e-05/0.3744, allocations: 41.91 kB / 0.5274 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004428/0.3748, allocations: 182.6 kB / 0.5276 GB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.926e-06/0.3749, allocations: 3.984 kB / 0.5276 GB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/0.3749, allocations: 5.547 kB / 0.5276 GB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.902e-05/0.375, allocations: 113.4 kB / 0.5277 GB, free: 14.59 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.507e-05/0.375, allocations: 5.344 kB / 0.5277 GB, free: 14.58 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000105/0.3751, allocations: 13.77 kB / 0.5277 GB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.518e-05/0.3752, allocations: 2.438 kB / 0.5277 GB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004118/0.3756, allocations: 205.7 kB / 0.5279 GB, free: 14.42 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004547/0.3761, allocations: 336.4 kB / 0.5282 GB, free: 14.14 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001501/0.3762, allocations: 52.08 kB / 0.5283 GB, free: 14.12 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0008196/0.3771, allocations: 0.6456 MB / 0.5289 GB, free: 13.8 MB / 398.1 MB Notification: Performance of Backend: time 7.31e-07/0.3771, allocations: 0 / 0.5289 GB, free: 13.8 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001642/0.3787, allocations: 0.5254 MB / 0.5294 GB, free: 13.59 MB / 398.1 MB Notification: Performance of SimCode: time 0.001694/0.3804, allocations: 1.155 MB / 0.5306 GB, free: 12.7 MB / 398.1 MB Notification: Performance of Templates: time 0.005933/0.3864, allocations: 1.824 MB / 0.5324 GB, free: 11.79 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches