Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.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.001462/0.001462, allocations: 127.4 kB / 17.79 MB, free: 5.246 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.001451/0.001451, allocations: 208.3 kB / 20.75 MB, free: 2.297 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.64/1.64, allocations: 230.6 MB / 254.1 MB, free: 15.11 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.2334/0.2334, allocations: 46.93 MB / 357.1 MB, free: 10.32 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.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001986/0.001986, allocations: 67.88 kB / 0.4914 GB, free: 7.453 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.141/0.1429, allocations: 65.99 MB / 0.5559 GB, free: 5.34 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab): time 0.003324/0.1463, allocations: 1.613 MB / 0.5574 GB, free: 3.715 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001207/0.1475, allocations: 0.5688 MB / 0.558 GB, free: 3.141 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.172e-05/0.1475, allocations: 0 / 0.558 GB, free: 3.141 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002393/0.1478, allocations: 27.8 kB / 0.558 GB, free: 3.113 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003067/0.1481, allocations: 83.67 kB / 0.5581 GB, free: 3.031 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003092/0.1484, allocations: 103.7 kB / 0.5582 GB, free: 2.93 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000264/0.1487, allocations: 75.77 kB / 0.5583 GB, free: 2.855 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001109/0.1488, allocations: 8 kB / 0.5583 GB, free: 2.848 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.152e-05/0.1488, allocations: 31.91 kB / 0.5583 GB, free: 2.816 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.87e-05/0.1489, allocations: 27.84 kB / 0.5583 GB, free: 2.789 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.685e-05/0.1489, allocations: 11.88 kB / 0.5584 GB, free: 2.777 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001906/0.1491, allocations: 99.92 kB / 0.5584 GB, free: 2.68 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.856e-05/0.1492, allocations: 15.98 kB / 0.5585 GB, free: 2.664 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.985e-05/0.1492, allocations: 31.8 kB / 0.5585 GB, free: 2.633 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002934/0.1495, allocations: 151.4 kB / 0.5586 GB, free: 2.484 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.1495, allocations: 0 / 0.5586 GB, free: 2.484 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1495, allocations: 0 / 0.5586 GB, free: 2.484 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.1495, allocations: 0 / 0.5586 GB, free: 2.484 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006223/0.1502, allocations: 406.8 kB / 0.559 GB, free: 2.039 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/0.1502, allocations: 8.031 kB / 0.559 GB, free: 2.031 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.553e-05/0.1503, allocations: 8.891 kB / 0.559 GB, free: 2.023 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002483/0.1505, allocations: 192.3 kB / 0.5592 GB, free: 1.797 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.167e-05/0.1505, allocations: 4.375 kB / 0.5592 GB, free: 1.793 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.862e-05/0.1505, allocations: 384 / 0.5592 GB, free: 1.793 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002386/0.1508, allocations: 79.45 kB / 0.5593 GB, free: 1.703 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.431e-05/0.1508, allocations: 0 / 0.5593 GB, free: 1.703 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.225e-05/0.1508, allocations: 0 / 0.5593 GB, free: 1.703 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.109e-05/0.1508, allocations: 0 / 0.5593 GB, free: 1.703 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001025/0.1509, allocations: 23.97 kB / 0.5593 GB, free: 1.68 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005169/0.1514, allocations: 300.8 kB / 0.5596 GB, free: 1.336 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001466/0.1516, allocations: 50.55 kB / 0.5597 GB, free: 1.277 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.234e-05/0.1517, allocations: 24.94 kB / 0.5597 GB, free: 1.25 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.46e-05/0.1517, allocations: 4 kB / 0.5597 GB, free: 1.246 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.332e-05/0.1517, allocations: 34.56 kB / 0.5597 GB, free: 1.203 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.031e-06/0.1517, allocations: 0 / 0.5597 GB, free: 1.203 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008099/0.1525, allocations: 185.3 kB / 0.5599 GB, free: 1.016 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.364e-05/0.1526, allocations: 81.11 kB / 0.56 GB, free: 0.918 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001976/0.1528, allocations: 155.2 kB / 0.5601 GB, free: 0.7578 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.145e-05/0.1528, allocations: 25.7 kB / 0.5601 GB, free: 0.7266 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.221e-05/0.1529, allocations: 100.1 kB / 0.5602 GB, free: 0.625 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.651e-05/0.1529, allocations: 23.8 kB / 0.5603 GB, free: 0.6016 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.816e-05/0.153, allocations: 21.7 kB / 0.5603 GB, free: 0.5742 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002268/0.1532, allocations: 330.7 kB / 0.5606 GB, free: 248 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.099e-05/0.1533, allocations: 27.92 kB / 0.5606 GB, free: 220 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001021/0.1534, allocations: 45.69 kB / 0.5607 GB, free: 168 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001788/0.1536, allocations: 72.84 kB / 0.5607 GB, free: 92 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.1536, allocations: 0 / 0.5607 GB, free: 92 kB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002557/0.1538, allocations: 109.6 kB / 0.5608 GB, free: 15.98 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.1538, allocations: 4 kB / 0.5609 GB, free: 15.97 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.1538, allocations: 0 / 0.5609 GB, free: 15.97 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.1539, allocations: 0 / 0.5609 GB, free: 15.97 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001149/0.154, allocations: 23.92 kB / 0.5609 GB, free: 15.95 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.154, allocations: 4 kB / 0.5609 GB, free: 15.95 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.423e-05/0.154, allocations: 11.98 kB / 0.5609 GB, free: 15.93 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.947e-06/0.154, allocations: 3.938 kB / 0.5609 GB, free: 15.93 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 (8): * Single equations (assignments): 8 * 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.0001066/0.1541, allocations: 116 kB / 0.561 GB, free: 15.81 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.892e-05/0.1542, allocations: 7.953 kB / 0.561 GB, free: 15.8 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002958/0.1545, allocations: 110.4 kB / 0.5611 GB, free: 15.68 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.1545, allocations: 288 / 0.5611 GB, free: 15.68 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.1545, allocations: 7.938 kB / 0.5611 GB, free: 15.68 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.491e-06/0.1545, allocations: 3.984 kB / 0.5611 GB, free: 15.67 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005646/0.1551, allocations: 398.8 kB / 0.5615 GB, free: 15.23 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.1551, allocations: 0 / 0.5615 GB, free: 15.23 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.269e-05/0.1551, allocations: 19.92 kB / 0.5615 GB, free: 15.21 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.1551, allocations: 4 kB / 0.5615 GB, free: 15.2 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.537e-05/0.1552, allocations: 7.875 kB / 0.5615 GB, free: 15.2 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.1552, allocations: 0 / 0.5615 GB, free: 15.2 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.1552, allocations: 4 kB / 0.5615 GB, free: 15.19 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003263/0.1555, allocations: 195.5 kB / 0.5617 GB, free: 14.98 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.766e-05/0.1555, allocations: 85.05 kB / 0.5618 GB, free: 14.88 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.565e-05/0.1556, allocations: 15.94 kB / 0.5618 GB, free: 14.87 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.341e-05/0.1556, allocations: 0 / 0.5618 GB, free: 14.87 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.851e-05/0.1557, allocations: 7.984 kB / 0.5618 GB, free: 14.86 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.043e-06/0.1557, allocations: 8 kB / 0.5618 GB, free: 14.85 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001025/0.1558, allocations: 109.5 kB / 0.5619 GB, free: 14.75 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1558, allocations: 4 kB / 0.5619 GB, free: 14.74 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000289/0.1561, allocations: 43.86 kB / 0.562 GB, free: 14.7 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (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 Backend phase and start with SimCode phase: time 0.001777/0.1579, allocations: 0.4982 MB / 0.5625 GB, free: 14.38 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002593/0.1581, allocations: 63.95 kB / 0.5625 GB, free: 14.32 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.1581, allocations: 4 kB / 0.5625 GB, free: 14.32 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001007/0.1582, allocations: 39.91 kB / 0.5626 GB, free: 14.28 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003082/0.1585, allocations: 20.77 kB / 0.5626 GB, free: 14.27 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005063/0.159, allocations: 190.2 kB / 0.5628 GB, free: 14.05 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003821/0.1594, allocations: 0.6963 MB / 0.5635 GB, free: 13.33 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.089e-05/0.1595, allocations: 28.62 kB / 0.5635 GB, free: 13.3 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.792e-05/0.1595, allocations: 19.42 kB / 0.5635 GB, free: 13.28 MB / 430.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1595, allocations: 0 / 0.5635 GB, free: 13.28 MB / 430.1 MB Notification: Performance of Templates: time 0.005684/0.1652, allocations: 1.96 MB / 0.5654 GB, free: 11.32 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test25_usertab/Test25_usertab.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.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.33289097994566]