Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.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.Test24,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.Test24") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test24,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.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00124/0.00124, allocations: 110.4 kB / 18.5 MB, free: 4.543 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.001209/0.001209, allocations: 195 kB / 19.44 MB, free: 3.613 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.445/1.445, allocations: 225.6 MB / 245.8 MB, free: 14.03 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.2279/0.2279, allocations: 44.92 MB / 343.6 MB, free: 15.07 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001851/0.001851, allocations: 59.91 kB / 484.3 MB, free: 5.605 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3491/0.351, allocations: 64.25 MB / 0.5357 GB, free: 12.77 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test24): time 0.003186/0.3541, allocations: 1.655 MB / 0.5373 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008893/0.355, allocations: 450.9 kB / 0.5378 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.693e-05/0.3551, allocations: 1.062 kB / 0.5378 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002722/0.3554, allocations: 45.62 kB / 0.5378 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002101/0.3556, allocations: 48.8 kB / 0.5378 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004555/0.356, allocations: 180.5 kB / 0.538 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001712/0.3562, allocations: 80.56 kB / 0.5381 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001112/0.3563, allocations: 16.83 kB / 0.5381 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.793e-05/0.3564, allocations: 39.36 kB / 0.5381 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.147e-05/0.3565, allocations: 41.34 kB / 0.5382 GB, free: 10.85 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.616e-05/0.3565, allocations: 4.969 kB / 0.5382 GB, free: 10.85 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001038/0.3566, allocations: 51.17 kB / 0.5382 GB, free: 10.83 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.097e-05/0.3567, allocations: 27.78 kB / 0.5383 GB, free: 10.81 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.275e-05/0.3567, allocations: 29.48 kB / 0.5383 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002055/0.3569, allocations: 100.4 kB / 0.5384 GB, free: 10.73 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.3569, allocations: 0 / 0.5384 GB, free: 10.73 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3569, allocations: 0 / 0.5384 GB, free: 10.73 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.437e-06/0.3569, allocations: 0 / 0.5384 GB, free: 10.73 MB / 398.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.0005676/0.3575, allocations: 415.8 kB / 0.5388 GB, free: 10.3 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.3575, allocations: 8.562 kB / 0.5388 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.122e-05/0.3576, allocations: 12.83 kB / 0.5388 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002257/0.3578, allocations: 194.4 kB / 0.539 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.582e-05/0.3578, allocations: 7.156 kB / 0.539 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.346e-05/0.3578, allocations: 3.094 kB / 0.539 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001816/0.358, allocations: 65.3 kB / 0.5391 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.48e-05/0.358, allocations: 7.938 kB / 0.5391 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.268e-06/0.358, allocations: 0 / 0.5391 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.598e-06/0.3581, allocations: 5.375 kB / 0.5391 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001511/0.3582, allocations: 45.02 kB / 0.5391 GB, free: 9.988 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004819/0.3587, allocations: 317.9 kB / 0.5394 GB, free: 9.664 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002447/0.3589, allocations: 59.27 kB / 0.5395 GB, free: 9.621 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.099e-05/0.359, allocations: 32.89 kB / 0.5395 GB, free: 9.598 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.876e-05/0.359, allocations: 1.375 kB / 0.5395 GB, free: 9.598 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.621e-05/0.3591, allocations: 31.94 kB / 0.5395 GB, free: 9.559 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.082e-06/0.3591, allocations: 0 / 0.5395 GB, free: 9.559 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001494/0.3606, allocations: 416.8 kB / 0.5399 GB, free: 9.352 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.152e-05/0.3606, allocations: 60.44 kB / 0.54 GB, free: 9.281 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001845/0.3608, allocations: 180.7 kB / 0.5402 GB, free: 9.141 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.17e-05/0.3608, allocations: 26.8 kB / 0.5402 GB, free: 9.109 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.97e-05/0.3609, allocations: 99.81 kB / 0.5403 GB, free: 9.012 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.073e-05/0.3609, allocations: 37.06 kB / 0.5403 GB, free: 8.98 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.105e-05/0.361, allocations: 25.16 kB / 0.5404 GB, free: 8.957 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001717/0.3611, allocations: 330.1 kB / 0.5407 GB, free: 8.629 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001471/0.3613, allocations: 56.61 kB / 0.5407 GB, free: 8.602 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001329/0.3614, allocations: 48.78 kB / 0.5408 GB, free: 8.582 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002941/0.3617, allocations: 123.3 kB / 0.5409 GB, free: 8.52 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.3617, allocations: 1 kB / 0.5409 GB, free: 8.52 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003497/0.3621, allocations: 170.5 kB / 0.541 GB, free: 8.418 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/0.3621, allocations: 9.688 kB / 0.5411 GB, free: 8.414 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.3621, allocations: 0 / 0.5411 GB, free: 8.414 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.701e-05/0.3621, allocations: 5.688 kB / 0.5411 GB, free: 8.41 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001105/0.3622, allocations: 24.45 kB / 0.5411 GB, free: 8.406 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.581e-06/0.3622, allocations: 0 / 0.5411 GB, free: 8.406 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.109e-05/0.3623, allocations: 14.64 kB / 0.5411 GB, free: 8.398 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.101e-05/0.3623, allocations: 6.156 kB / 0.5411 GB, free: 8.395 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.0001237/0.3624, allocations: 127.9 kB / 0.5412 GB, free: 8.27 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.634e-05/0.3625, allocations: 9.172 kB / 0.5412 GB, free: 8.266 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004436/0.3629, allocations: 193.2 kB / 0.5414 GB, free: 8.148 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.117e-06/0.3629, allocations: 0 / 0.5414 GB, free: 8.148 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.3629, allocations: 7.984 kB / 0.5414 GB, free: 8.141 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.214e-05/0.363, allocations: 87.73 kB / 0.5415 GB, free: 8.039 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.973e-05/0.363, allocations: 1.281 kB / 0.5415 GB, free: 8.039 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.078e-05/0.3631, allocations: 18.45 kB / 0.5415 GB, free: 8.027 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.186e-05/0.3631, allocations: 3.812 kB / 0.5415 GB, free: 8.027 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004409/0.3636, allocations: 245.8 kB / 0.5418 GB, free: 7.855 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004591/0.364, allocations: 344.8 kB / 0.5421 GB, free: 7.574 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001488/0.3642, allocations: 58.95 kB / 0.5422 GB, free: 7.547 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001097/0.3643, allocations: 129.3 kB / 0.5423 GB, free: 7.453 MB / 398.1 MB Notification: Performance of Backend: time 2.51e-07/0.3643, allocations: 0 / 0.5423 GB, free: 7.453 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002127/0.3664, allocations: 0.5085 MB / 0.5428 GB, free: 7.223 MB / 398.1 MB Notification: Performance of SimCode: time 0.0008767/0.3673, allocations: 0.675 MB / 0.5434 GB, free: 6.562 MB / 398.1 MB Notification: Performance of Templates: time 0.005034/0.3723, allocations: 1.877 MB / 0.5453 GB, free: 5.617 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test24/Test24.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches