Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83.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.0008389/0.0008389, allocations: 87.62 kB / 21.43 MB, free: 3.133 MB / 18.57 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.003565/0.003565, allocations: 165.3 kB / 24.7 MB, free: 9.426 MB / 18.57 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 0.8849/0.8849, allocations: 177.2 MB / 205 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] 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.2616/0.2616, allocations: 34.26 MB / 295.7 MB, free: 0.707 MB / 266.7 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.CombiTimeTable.Test83,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|booleanTable.y|booleanTable.combiTimeTable.y.1.|booleanTable.realToBoolean.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83") translateModel(ModelicaTest.Tables.CombiTimeTable.Test83,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|booleanTable.y|booleanTable.combiTimeTable.y.1.|booleanTable.realToBoolean.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.262e-06/1.262e-06, allocations: 0 / 443.5 MB, free: 1.09 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.644e-05/1.77e-05, allocations: 2.281 kB / 443.5 MB, free: 1.086 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test83): time 0.1593/0.1593, allocations: 1.936 MB / 445.4 MB, free: 43.64 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001029/0.1604, allocations: 1.128 MB / 446.6 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.508e-05/0.1604, allocations: 3.938 kB / 446.6 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004936/0.1609, allocations: 211.2 kB / 446.8 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002425/0.1612, allocations: 208.9 kB / 447 MB, free: 43.02 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002085/0.1614, allocations: 164.7 kB / 447.2 MB, free: 42.93 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001748/0.1616, allocations: 273 kB / 447.4 MB, free: 42.8 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.691e-05/0.1616, allocations: 20.16 kB / 447.4 MB, free: 42.8 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001062/0.1617, allocations: 140.4 kB / 447.6 MB, free: 42.74 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.338e-05/0.1618, allocations: 100.9 kB / 447.7 MB, free: 42.72 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.812e-05/0.1619, allocations: 14.97 kB / 447.7 MB, free: 42.71 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.098e-05/0.1619, allocations: 71.61 kB / 447.8 MB, free: 42.7 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.325e-05/0.162, allocations: 59.86 kB / 447.8 MB, free: 42.66 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.363e-05/0.162, allocations: 48.89 kB / 447.9 MB, free: 42.64 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001967/0.1622, allocations: 244.7 kB / 448.1 MB, free: 42.54 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.1622, allocations: 0 / 448.1 MB, free: 42.54 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.1622, allocations: 2.781 kB / 448.1 MB, free: 42.54 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.579e-06/0.1623, allocations: 0 / 448.1 MB, free: 42.54 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0004834/0.1627, allocations: 492.8 kB / 448.6 MB, free: 42.12 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.895e-05/0.1628, allocations: 8.75 kB / 448.6 MB, free: 42.12 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.379e-05/0.1628, allocations: 30.31 kB / 448.6 MB, free: 42.11 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001947/0.163, allocations: 230.1 kB / 448.9 MB, free: 41.91 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.291e-05/0.163, allocations: 13.92 kB / 448.9 MB, free: 41.91 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.109e-05/0.163, allocations: 6.406 kB / 448.9 MB, free: 41.91 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001284/0.1632, allocations: 100.1 kB / 449 MB, free: 41.84 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.844e-06/0.1632, allocations: 3.938 kB / 449 MB, free: 41.84 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.43e-05/0.1632, allocations: 11.22 kB / 449 MB, free: 41.84 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.359e-06/0.1632, allocations: 0 / 449 MB, free: 41.84 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.997e-05/0.1633, allocations: 44.48 kB / 449 MB, free: 41.82 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002627/0.1635, allocations: 306.1 kB / 449.3 MB, free: 41.57 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001464/0.1637, allocations: 127.4 kB / 449.4 MB, free: 41.49 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.694e-05/0.1637, allocations: 38.3 kB / 449.5 MB, free: 41.47 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.184e-05/0.1637, allocations: 0 / 449.5 MB, free: 41.47 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001168/0.1638, allocations: 126.9 kB / 449.6 MB, free: 41.38 MB / 410.7 MB Notification: Performance of pre-optimization done (n=11): time 7.42e-07/0.1638, allocations: 0 / 449.6 MB, free: 41.38 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002485/0.1641, allocations: 188.5 kB / 449.8 MB, free: 41.29 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.021e-05/0.1641, allocations: 84.02 kB / 449.9 MB, free: 41.2 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000196/0.1643, allocations: 355 kB / 450.2 MB, free: 41.02 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.947e-06/0.1643, allocations: 29.7 kB / 450.3 MB, free: 40.99 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.618e-05/0.1644, allocations: 149.5 kB / 450.4 MB, free: 40.86 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.917e-05/0.1644, allocations: 25.55 kB / 450.4 MB, free: 40.84 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.998e-05/0.1644, allocations: 32.52 kB / 450.5 MB, free: 40.82 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.44e-05/0.1644, allocations: 338.1 kB / 450.8 MB, free: 40.49 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.62e-05/0.1645, allocations: 35.19 kB / 450.8 MB, free: 40.48 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.706e-05/0.1645, allocations: 101.3 kB / 450.9 MB, free: 40.39 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.016e-05/0.1646, allocations: 99.66 kB / 451 MB, free: 40.33 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.1646, allocations: 3.938 kB / 451 MB, free: 40.33 MB / 410.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001326/0.1648, allocations: 163.3 kB / 451.2 MB, free: 40.24 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.798e-06/0.1648, allocations: 5.75 kB / 451.2 MB, free: 40.24 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.1648, allocations: 0 / 451.2 MB, free: 40.24 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.082e-05/0.1648, allocations: 2.938 kB / 451.2 MB, free: 40.24 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.37e-05/0.1649, allocations: 24.17 kB / 451.2 MB, free: 40.24 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.1649, allocations: 0 / 451.2 MB, free: 40.24 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.303e-05/0.1649, allocations: 24.78 kB / 451.2 MB, free: 40.22 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.602e-06/0.1649, allocations: 5.688 kB / 451.2 MB, free: 40.22 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.booleanTable.combiTimeTable.nextTimeEvent,$whenCondition1,booleanTable.combiTimeTable.nextTimeEventScaled,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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 6.407e-05/0.165, allocations: 149.1 kB / 451.4 MB, free: 40.09 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.762e-05/0.165, allocations: 23.39 kB / 451.4 MB, free: 40.08 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00018/0.1652, allocations: 178.7 kB / 451.6 MB, free: 40 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.1652, allocations: 2.719 kB / 451.6 MB, free: 40 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.1652, allocations: 0 / 451.6 MB, free: 40 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.1652, allocations: 5.594 kB / 451.6 MB, free: 39.99 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.585e-05/0.1653, allocations: 187.3 kB / 451.8 MB, free: 39.84 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.1653, allocations: 4.922 kB / 451.8 MB, free: 39.84 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.187e-05/0.1653, allocations: 16.12 kB / 451.8 MB, free: 39.83 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.362e-06/0.1653, allocations: 0 / 451.8 MB, free: 39.83 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.296e-06/0.1653, allocations: 2.844 kB / 451.8 MB, free: 39.83 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.1653, allocations: 3.5 kB / 451.8 MB, free: 39.83 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1653, allocations: 6.781 kB / 451.8 MB, free: 39.83 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001391/0.1654, allocations: 198.9 kB / 452 MB, free: 39.71 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.958e-05/0.1655, allocations: 34.97 kB / 452 MB, free: 39.68 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.93e-05/0.1655, allocations: 6.594 kB / 452 MB, free: 39.68 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.292e-05/0.1655, allocations: 6.016 kB / 452 MB, free: 39.68 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.389e-05/0.1655, allocations: 12.75 kB / 452.1 MB, free: 39.68 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.12e-05/0.1656, allocations: 5.562 kB / 452.1 MB, free: 39.68 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001256/0.1657, allocations: 265.6 kB / 452.3 MB, free: 39.55 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1657, allocations: 0 / 452.3 MB, free: 39.55 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001554/0.1658, allocations: 35.94 kB / 452.4 MB, free: 39.54 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled,$whenCondition1,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 4 (booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0005972/0.1664, allocations: 453.9 kB / 452.8 MB, free: 39.38 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001469/0.1666, allocations: 99.66 kB / 452.9 MB, free: 39.35 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.392e-06/0.1666, allocations: 0 / 452.9 MB, free: 39.35 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.594e-05/0.1666, allocations: 52.61 kB / 453 MB, free: 39.33 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002088/0.1668, allocations: 77.08 kB / 453 MB, free: 39.31 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003963/0.1672, allocations: 431.2 kB / 453.5 MB, free: 39.03 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.02e-05/0.1673, allocations: 147.2 kB / 453.6 MB, free: 38.94 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.584e-05/0.1673, allocations: 24.47 kB / 453.6 MB, free: 38.94 MB / 410.7 MB Notification: Performance of SimCode: time 4.01e-07/0.1673, allocations: 0 / 453.6 MB, free: 38.94 MB / 410.7 MB Notification: Performance of Templates: time 0.00277/0.1701, allocations: 3.445 MB / 457.1 MB, free: 38.52 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test83/Test83.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83.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.013396886177361]