Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001712/0.001712, allocations: 124.5 kB / 17.79 MB, free: 5.227 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00188/0.00188, allocations: 207.2 kB / 20.75 MB, free: 2.273 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.671/1.671, allocations: 230.6 MB / 254.1 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2535/0.2535, allocations: 46.92 MB / 357.1 MB, free: 10.3 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001904/0.001904, allocations: 67.89 kB / 0.4914 GB, free: 7.414 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1381/0.14, allocations: 65.99 MB / 0.5559 GB, free: 5.297 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test4): time 0.003193/0.1432, allocations: 1.669 MB / 0.5575 GB, free: 3.617 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001114/0.1443, allocations: 0.5533 MB / 0.558 GB, free: 3.059 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.011e-05/0.1443, allocations: 0 / 0.558 GB, free: 3.059 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002561/0.1446, allocations: 103.7 kB / 0.5581 GB, free: 2.957 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002664/0.1448, allocations: 111.6 kB / 0.5583 GB, free: 2.848 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003008/0.1452, allocations: 115.7 kB / 0.5584 GB, free: 2.734 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001576/0.1453, allocations: 95.75 kB / 0.5585 GB, free: 2.641 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/0.1454, allocations: 23.97 kB / 0.5585 GB, free: 2.617 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.467e-05/0.1455, allocations: 51.78 kB / 0.5585 GB, free: 2.566 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001077/0.1456, allocations: 75.72 kB / 0.5586 GB, free: 2.492 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.442e-05/0.1456, allocations: 4 kB / 0.5586 GB, free: 2.488 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.843e-05/0.1457, allocations: 44 kB / 0.5586 GB, free: 2.445 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 4.886e-05/0.1457, allocations: 31.89 kB / 0.5587 GB, free: 2.414 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.583e-05/0.1458, allocations: 39.69 kB / 0.5587 GB, free: 2.375 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002072/0.146, allocations: 135.3 kB / 0.5588 GB, free: 2.242 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.146, allocations: 0 / 0.5588 GB, free: 2.242 MB / 414.1 MB Notification: Performance of FrontEnd: time 8.92e-07/0.146, allocations: 0 / 0.5588 GB, free: 2.242 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.577e-06/0.146, allocations: 3.938 kB / 0.5588 GB, free: 2.238 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005096/0.1465, allocations: 442.6 kB / 0.5593 GB, free: 1.758 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.34e-05/0.1465, allocations: 16.02 kB / 0.5593 GB, free: 1.742 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.995e-05/0.1466, allocations: 12.84 kB / 0.5593 GB, free: 1.73 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002166/0.1468, allocations: 208.1 kB / 0.5595 GB, free: 1.488 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.354e-06/0.1468, allocations: 4.375 kB / 0.5595 GB, free: 1.484 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.199e-05/0.1468, allocations: 4.375 kB / 0.5595 GB, free: 1.48 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001809/0.147, allocations: 85.34 kB / 0.5596 GB, free: 1.395 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.147, allocations: 3.953 kB / 0.5596 GB, free: 1.391 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.668e-06/0.147, allocations: 4 kB / 0.5596 GB, free: 1.387 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.147, allocations: 8 kB / 0.5596 GB, free: 1.379 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000121/0.1472, allocations: 39.97 kB / 0.5596 GB, free: 1.34 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004794/0.1476, allocations: 352.6 kB / 0.56 GB, free: 0.9453 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001301/0.1478, allocations: 58.56 kB / 0.56 GB, free: 0.8789 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.102e-05/0.1478, allocations: 24.84 kB / 0.5601 GB, free: 0.8516 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.453e-05/0.1478, allocations: 3.938 kB / 0.5601 GB, free: 0.8477 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.785e-05/0.1479, allocations: 34.56 kB / 0.5601 GB, free: 0.8047 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.022e-06/0.1479, allocations: 0 / 0.5601 GB, free: 0.8047 MB / 414.1 MB Notification: Performance of matching and sorting (n=13): time 0.001076/0.149, allocations: 353.5 kB / 0.5604 GB, free: 464 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.384e-05/0.149, allocations: 51.41 kB / 0.5605 GB, free: 400 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002442/0.1492, allocations: 239.5 kB / 0.5607 GB, free: 144 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.937e-05/0.1492, allocations: 25.7 kB / 0.5607 GB, free: 112 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001082/0.1494, allocations: 112.3 kB / 0.5608 GB, free: 15.99 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.346e-05/0.1494, allocations: 43.64 kB / 0.5609 GB, free: 15.95 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.763e-05/0.1494, allocations: 25.72 kB / 0.5609 GB, free: 15.92 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001575/0.1496, allocations: 334.8 kB / 0.5612 GB, free: 15.58 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001232/0.1497, allocations: 43.97 kB / 0.5613 GB, free: 15.54 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001065/0.1498, allocations: 43.97 kB / 0.5613 GB, free: 15.5 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002273/0.1501, allocations: 104.8 kB / 0.5614 GB, free: 15.39 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.1501, allocations: 0 / 0.5614 GB, free: 15.39 MB / 430.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003283/0.1504, allocations: 157.6 kB / 0.5616 GB, free: 15.23 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.1504, allocations: 12 kB / 0.5616 GB, free: 15.22 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.306e-06/0.1504, allocations: 0 / 0.5616 GB, free: 15.22 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.1504, allocations: 3.75 kB / 0.5616 GB, free: 15.22 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001239/0.1505, allocations: 27.97 kB / 0.5616 GB, free: 15.19 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.797e-06/0.1505, allocations: 0 / 0.5616 GB, free: 15.19 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.902e-05/0.1506, allocations: 8 kB / 0.5616 GB, free: 15.18 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.072e-05/0.1506, allocations: 4 kB / 0.5616 GB, free: 15.18 MB / 430.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 (13): * Single equations (assignments): 13 * 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.0001226/0.1507, allocations: 140 kB / 0.5617 GB, free: 15.04 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.329e-05/0.1508, allocations: 15.91 kB / 0.5618 GB, free: 15.02 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00041/0.1512, allocations: 202.3 kB / 0.5619 GB, free: 14.82 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.1512, allocations: 0 / 0.5619 GB, free: 14.82 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/0.1512, allocations: 3.938 kB / 0.562 GB, free: 14.81 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.1512, allocations: 7.938 kB / 0.562 GB, free: 14.8 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000721/0.1519, allocations: 0.4914 MB / 0.5624 GB, free: 14.25 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.1519, allocations: 0 / 0.5624 GB, free: 14.25 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.995e-05/0.152, allocations: 27.92 kB / 0.5625 GB, free: 14.23 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.152, allocations: 4 kB / 0.5625 GB, free: 14.22 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.386e-06/0.152, allocations: 0 / 0.5625 GB, free: 14.22 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.152, allocations: 0 / 0.5625 GB, free: 14.22 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.152, allocations: 4 kB / 0.5625 GB, free: 14.22 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003736/0.1524, allocations: 264.2 kB / 0.5627 GB, free: 13.94 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.757e-05/0.1525, allocations: 89.02 kB / 0.5628 GB, free: 13.84 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.178e-05/0.1525, allocations: 11.94 kB / 0.5628 GB, free: 13.82 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.053e-05/0.1526, allocations: 7.984 kB / 0.5628 GB, free: 13.82 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.661e-05/0.1526, allocations: 8 kB / 0.5628 GB, free: 13.81 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.144e-05/0.1526, allocations: 8 kB / 0.5628 GB, free: 13.8 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001709/0.1528, allocations: 177.2 kB / 0.563 GB, free: 13.63 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1528, allocations: 0 / 0.563 GB, free: 13.63 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002696/0.1531, allocations: 39.86 kB / 0.5631 GB, free: 13.59 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (13): * Single equations (assignments): 13 * 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.001704/0.1548, allocations: 450.9 kB / 0.5635 GB, free: 13.33 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003304/0.1551, allocations: 107.9 kB / 0.5636 GB, free: 13.22 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.185e-06/0.1551, allocations: 0 / 0.5636 GB, free: 13.22 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001369/0.1552, allocations: 59.91 kB / 0.5636 GB, free: 13.16 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003539/0.1556, allocations: 34.75 kB / 0.5637 GB, free: 13.13 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007539/0.1563, allocations: 327.7 kB / 0.564 GB, free: 12.78 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004384/0.1568, allocations: 0.7275 MB / 0.5647 GB, free: 12.03 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.693e-05/0.1569, allocations: 28.53 kB / 0.5647 GB, free: 12 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.964e-05/0.1569, allocations: 19.38 kB / 0.5647 GB, free: 11.98 MB / 430.1 MB Notification: Performance of SimCode: time 4.3e-07/0.1569, allocations: 0 / 0.5647 GB, free: 11.98 MB / 430.1 MB Notification: Performance of Templates: time 0.004996/0.1619, allocations: 1.632 MB / 0.5663 GB, free: 10.36 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test4/Test4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4.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.4216356091201305]