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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001645/0.001645, allocations: 112.4 kB / 21.1 MB, free: 0.7656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002026/0.002026, allocations: 191.8 kB / 24.36 MB, free: 4.207 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.515/1.515, allocations: 225.6 MB / 253 MB, free: 13.06 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2302/0.2302, allocations: 44.91 MB / 353.2 MB, free: 11.87 MB / 286.1 MB " [Timeout remaining time 180] 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=5002,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=5002,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") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001988/0.001988, allocations: 67.89 kB / 497.3 MB, free: 1.117 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.342/0.344, allocations: 64.28 MB / 0.5484 GB, free: 13.12 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test3): time 0.003153/0.3471, allocations: 1.673 MB / 0.5501 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008971/0.348, allocations: 474.6 kB / 0.5505 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.338e-05/0.3481, allocations: 0.9688 kB / 0.5505 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006451/0.3488, allocations: 453.4 kB / 0.551 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003793/0.3491, allocations: 254.8 kB / 0.5512 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004406/0.3496, allocations: 177.2 kB / 0.5514 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002398/0.3498, allocations: 178.5 kB / 0.5516 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001037/0.3499, allocations: 16.12 kB / 0.5516 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001314/0.35, allocations: 111.9 kB / 0.5517 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002785/0.3503, allocations: 255.6 kB / 0.5519 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.076e-05/0.3503, allocations: 4.188 kB / 0.5519 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001054/0.3505, allocations: 55.22 kB / 0.552 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001093/0.3506, allocations: 83.47 kB / 0.5521 GB, free: 10.72 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001019/0.3507, allocations: 103.4 kB / 0.5522 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003569/0.351, allocations: 282.8 kB / 0.5524 GB, free: 10.47 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.351, allocations: 4 kB / 0.5524 GB, free: 10.46 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.351, allocations: 0 / 0.5524 GB, free: 10.46 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.362e-06/0.351, allocations: 0 / 0.5524 GB, free: 10.46 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.0008064/0.3518, allocations: 0.5863 MB / 0.553 GB, free: 9.941 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.3519, allocations: 11.11 kB / 0.553 GB, free: 9.941 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.648e-05/0.3519, allocations: 46.5 kB / 0.5531 GB, free: 9.914 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002867/0.3522, allocations: 245.7 kB / 0.5533 GB, free: 9.688 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.828e-06/0.3522, allocations: 3.25 kB / 0.5533 GB, free: 9.688 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.448e-05/0.3523, allocations: 3.312 kB / 0.5533 GB, free: 9.688 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001866/0.3524, allocations: 73.08 kB / 0.5534 GB, free: 9.629 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.3525, allocations: 0 / 0.5534 GB, free: 9.629 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.838e-06/0.3525, allocations: 0 / 0.5534 GB, free: 9.629 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.614e-06/0.3525, allocations: 1.094 kB / 0.5534 GB, free: 9.629 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001485/0.3526, allocations: 49.86 kB / 0.5534 GB, free: 9.605 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005851/0.3532, allocations: 381.4 kB / 0.5538 GB, free: 9.27 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002475/0.3535, allocations: 54.55 kB / 0.5538 GB, free: 9.23 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.519e-05/0.3535, allocations: 34.11 kB / 0.5539 GB, free: 9.207 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.241e-05/0.3536, allocations: 4 kB / 0.5539 GB, free: 9.203 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.258e-05/0.3536, allocations: 31.59 kB / 0.5539 GB, free: 9.164 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.082e-06/0.3536, allocations: 1.031 kB / 0.5539 GB, free: 9.164 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001588/0.3552, allocations: 0.4932 MB / 0.5544 GB, free: 8.895 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.657e-05/0.3552, allocations: 64.75 kB / 0.5544 GB, free: 8.82 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008831/0.3561, allocations: 0.8494 MB / 0.5553 GB, free: 8.32 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.027e-05/0.3561, allocations: 29.7 kB / 0.5553 GB, free: 8.285 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001918/0.3563, allocations: 212.1 kB / 0.5555 GB, free: 8.074 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.233e-05/0.3564, allocations: 39.64 kB / 0.5555 GB, free: 8.035 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.196e-05/0.3564, allocations: 25.72 kB / 0.5556 GB, free: 8.004 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001977/0.3566, allocations: 366.8 kB / 0.5559 GB, free: 7.637 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001521/0.3568, allocations: 51.97 kB / 0.556 GB, free: 7.586 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001382/0.3569, allocations: 51.95 kB / 0.556 GB, free: 7.535 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002981/0.3572, allocations: 128.7 kB / 0.5561 GB, free: 7.406 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.3572, allocations: 0 / 0.5561 GB, free: 7.406 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003977/0.3576, allocations: 201.5 kB / 0.5563 GB, free: 7.203 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.3576, allocations: 7.984 kB / 0.5563 GB, free: 7.195 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.3576, allocations: 0 / 0.5563 GB, free: 7.195 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.3577, allocations: 0 / 0.5563 GB, free: 7.195 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001215/0.3578, allocations: 31.91 kB / 0.5564 GB, free: 7.164 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.122e-05/0.3578, allocations: 7.984 kB / 0.5564 GB, free: 7.156 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.671e-05/0.3579, allocations: 7.984 kB / 0.5564 GB, free: 7.148 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.332e-05/0.3579, allocations: 8 kB / 0.5564 GB, free: 7.141 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.0002246/0.3581, allocations: 229.6 kB / 0.5566 GB, free: 6.906 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.912e-05/0.3582, allocations: 51.61 kB / 0.5567 GB, free: 6.855 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004865/0.3587, allocations: 217.4 kB / 0.5569 GB, free: 6.633 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.3587, allocations: 3.938 kB / 0.5569 GB, free: 6.629 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.3587, allocations: 0 / 0.5569 GB, free: 6.629 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.416e-06/0.3587, allocations: 7.984 kB / 0.5569 GB, free: 6.621 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000896/0.3596, allocations: 0.5615 MB / 0.5574 GB, free: 6.004 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.3596, allocations: 0 / 0.5574 GB, free: 6.004 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001124/0.3597, allocations: 27.97 kB / 0.5574 GB, free: 5.977 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.3597, allocations: 4 kB / 0.5575 GB, free: 5.973 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.046e-05/0.3597, allocations: 96 / 0.5575 GB, free: 5.973 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.963e-06/0.3597, allocations: 15.94 kB / 0.5575 GB, free: 5.957 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.3597, allocations: 0 / 0.5575 GB, free: 5.957 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004534/0.3602, allocations: 308.7 kB / 0.5578 GB, free: 5.633 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.505e-05/0.3602, allocations: 39.91 kB / 0.5578 GB, free: 5.594 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.861e-05/0.3602, allocations: 4 kB / 0.5578 GB, free: 5.59 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001151/0.3604, allocations: 15.98 kB / 0.5578 GB, free: 5.574 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.879e-05/0.3604, allocations: 11.98 kB / 0.5578 GB, free: 5.562 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.827e-06/0.3604, allocations: 4 kB / 0.5578 GB, free: 5.559 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006706/0.3611, allocations: 0.6472 MB / 0.5585 GB, free: 4.914 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3611, allocations: 0 / 0.5585 GB, free: 4.914 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002815/0.3614, allocations: 35.98 kB / 0.5585 GB, free: 4.879 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (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 Backend phase and start with SimCode phase: time 0.001661/0.363, allocations: 455.8 kB / 0.5589 GB, free: 4.613 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003762/0.3634, allocations: 127.9 kB / 0.5591 GB, free: 4.488 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3634, allocations: 0 / 0.5591 GB, free: 4.488 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001766/0.3636, allocations: 63.89 kB / 0.5591 GB, free: 4.426 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004147/0.364, allocations: 33.34 kB / 0.5591 GB, free: 4.395 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001259/0.3653, allocations: 0.8591 MB / 0.56 GB, free: 3.504 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005186/0.3658, allocations: 0.8376 MB / 0.5608 GB, free: 2.641 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.829e-05/0.3659, allocations: 32.58 kB / 0.5608 GB, free: 2.609 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.852e-05/0.3659, allocations: 19.42 kB / 0.5609 GB, free: 2.59 MB / 398.1 MB Notification: Performance of SimCode: time 8.01e-07/0.3659, allocations: 7.938 kB / 0.5609 GB, free: 2.582 MB / 398.1 MB Notification: Performance of Templates: time 0.006041/0.372, allocations: 1.979 MB / 0.5628 GB, free: 0.6094 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test3/Test3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.188768273219466]