Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001431/0.001431, allocations: 82.52 kB / 20.68 MB, free: 1.027 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.001777/0.001777, allocations: 163.7 kB / 23.95 MB, free: 4.156 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.37/1.37, allocations: 177.2 MB / 204.3 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 179] 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.2034/0.2034, allocations: 32.83 MB / 293.5 MB, free: 20 kB / 270.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.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.0.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.0.0_ModelicaTest.Tables.CombiTimeTable.Test83") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 440.2 MB, free: 8.078 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.393e-05/3.556e-05, allocations: 6.219 kB / 440.2 MB, free: 8.07 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test83): time 0.003501/0.003537, allocations: 1.937 MB / 442.1 MB, free: 6.121 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002206/0.005743, allocations: 1.13 MB / 443.2 MB, free: 4.984 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001069/0.00585, allocations: 7.938 kB / 443.2 MB, free: 4.977 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007397/0.00659, allocations: 203.3 kB / 443.4 MB, free: 4.777 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000493/0.007083, allocations: 211.1 kB / 443.7 MB, free: 4.57 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004224/0.007505, allocations: 163.5 kB / 443.8 MB, free: 4.41 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003491/0.007854, allocations: 271.2 kB / 444.1 MB, free: 4.145 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001125/0.007967, allocations: 20.58 kB / 444.1 MB, free: 4.121 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002174/0.008184, allocations: 143.6 kB / 444.2 MB, free: 3.98 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001792/0.008363, allocations: 99.7 kB / 444.3 MB, free: 3.883 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.389e-05/0.008397, allocations: 15.94 kB / 444.3 MB, free: 3.867 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001558/0.008553, allocations: 63.88 kB / 444.4 MB, free: 3.805 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.549e-05/0.008649, allocations: 55.78 kB / 444.5 MB, free: 3.75 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 8.592e-05/0.008734, allocations: 51.84 kB / 444.5 MB, free: 3.699 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003726/0.009107, allocations: 243.2 kB / 444.8 MB, free: 3.461 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.009111, allocations: 0 / 444.8 MB, free: 3.461 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.009112, allocations: 0 / 444.8 MB, free: 3.461 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.101e-06/0.009119, allocations: 0 / 444.8 MB, free: 3.461 MB / 366.1 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.0008748/0.009993, allocations: 498.3 kB / 445.2 MB, free: 2.938 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/0.01004, allocations: 12.03 kB / 445.3 MB, free: 2.926 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.043e-05/0.01013, allocations: 28.75 kB / 445.3 MB, free: 2.898 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004103/0.01054, allocations: 229.8 kB / 445.5 MB, free: 2.648 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.347e-05/0.01056, allocations: 12.36 kB / 445.5 MB, free: 2.637 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.317e-05/0.01058, allocations: 8.375 kB / 445.5 MB, free: 2.629 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002499/0.01083, allocations: 99.86 kB / 445.6 MB, free: 2.52 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.01084, allocations: 3.938 kB / 445.6 MB, free: 2.516 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.277e-05/0.01086, allocations: 3.938 kB / 445.6 MB, free: 2.512 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.01086, allocations: 0 / 445.6 MB, free: 2.512 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001373/0.011, allocations: 43.97 kB / 445.7 MB, free: 2.469 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005612/0.01156, allocations: 313.3 kB / 446 MB, free: 2.129 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003233/0.01188, allocations: 117.2 kB / 446.1 MB, free: 1.996 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000116/0.012, allocations: 53.67 kB / 446.1 MB, free: 1.938 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.783e-05/0.01202, allocations: 3.938 kB / 446.2 MB, free: 1.934 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002477/0.01227, allocations: 113 kB / 446.3 MB, free: 1.805 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.423e-06/0.01227, allocations: 0 / 446.3 MB, free: 1.805 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.000534/0.0128, allocations: 189.4 kB / 446.4 MB, free: 1.613 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.911e-05/0.01288, allocations: 85.09 kB / 446.5 MB, free: 1.512 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004359/0.01332, allocations: 356.6 kB / 446.9 MB, free: 1.156 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.5e-05/0.01335, allocations: 33.69 kB / 446.9 MB, free: 1.117 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001405/0.01349, allocations: 144 kB / 447.1 MB, free: 0.9727 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.667e-05/0.01354, allocations: 31.91 kB / 447.1 MB, free: 0.9414 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.236e-05/0.0136, allocations: 33.7 kB / 447.1 MB, free: 0.9023 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001952/0.0138, allocations: 334.8 kB / 447.4 MB, free: 0.5664 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.798e-05/0.01389, allocations: 31.98 kB / 447.5 MB, free: 0.5352 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000155/0.01405, allocations: 109.8 kB / 447.6 MB, free: 416 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002174/0.01427, allocations: 103.9 kB / 447.7 MB, free: 300 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.951e-06/0.01427, allocations: 3.938 kB / 447.7 MB, free: 296 kB / 366.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003131/0.01459, allocations: 153.4 kB / 447.8 MB, free: 136 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.916e-05/0.01461, allocations: 8 kB / 447.8 MB, free: 128 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.01462, allocations: 0 / 447.8 MB, free: 128 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.01464, allocations: 0 / 447.8 MB, free: 128 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001244/0.01476, allocations: 27.98 kB / 447.9 MB, free: 100 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.276e-06/0.01477, allocations: 3.938 kB / 447.9 MB, free: 96 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.789e-05/0.01486, allocations: 11.95 kB / 447.9 MB, free: 84 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.327e-05/0.01487, allocations: 8.062 kB / 447.9 MB, free: 76 kB / 366.1 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 0.1933/0.2082, allocations: 152.2 kB / 448 MB, free: 21.4 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.13e-05/0.2083, allocations: 25.45 kB / 448.1 MB, free: 21.4 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004513/0.2087, allocations: 178.1 kB / 448.2 MB, free: 21.36 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.89e-06/0.2088, allocations: 1.906 kB / 448.2 MB, free: 21.36 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.2088, allocations: 1.156 kB / 448.2 MB, free: 21.36 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.2088, allocations: 0.6562 kB / 448.2 MB, free: 21.36 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001945/0.209, allocations: 187 kB / 448.4 MB, free: 21.24 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.209, allocations: 4.938 kB / 448.4 MB, free: 21.24 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.895e-05/0.209, allocations: 17.95 kB / 448.4 MB, free: 21.24 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.418e-06/0.209, allocations: 2.344 kB / 448.5 MB, free: 21.24 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.363e-05/0.209, allocations: 4.234 kB / 448.5 MB, free: 21.24 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.209, allocations: 1.125 kB / 448.5 MB, free: 21.24 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.209, allocations: 3.938 kB / 448.5 MB, free: 21.24 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002969/0.2093, allocations: 204.3 kB / 448.7 MB, free: 21.17 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.6e-05/0.2094, allocations: 29.06 kB / 448.7 MB, free: 21.17 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.732e-05/0.2094, allocations: 6.906 kB / 448.7 MB, free: 21.17 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.141e-05/0.2095, allocations: 5.562 kB / 448.7 MB, free: 21.17 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.781e-05/0.2095, allocations: 13.48 kB / 448.7 MB, free: 21.17 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.941e-05/0.2096, allocations: 10.08 kB / 448.7 MB, free: 21.16 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002427/0.2098, allocations: 265.4 kB / 449 MB, free: 21.08 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2098, allocations: 0 / 449 MB, free: 21.08 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002732/0.2101, allocations: 37.95 kB / 449 MB, free: 21.08 MB / 366.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: 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.001543/0.2116, allocations: 457.1 kB / 449.5 MB, free: 20.96 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002798/0.2119, allocations: 96.66 kB / 449.6 MB, free: 20.96 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.2119, allocations: 0 / 449.6 MB, free: 20.96 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001222/0.212, allocations: 51.3 kB / 449.6 MB, free: 20.96 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004252/0.2125, allocations: 68.09 kB / 449.7 MB, free: 20.95 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006973/0.2131, allocations: 413.2 kB / 450.1 MB, free: 20.71 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001402/0.2133, allocations: 141.9 kB / 450.2 MB, free: 20.64 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.166e-05/0.2134, allocations: 36.27 kB / 450.3 MB, free: 20.63 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.209e-05/0.2134, allocations: 28.73 kB / 450.3 MB, free: 20.62 MB / 366.1 MB Notification: Performance of SimCode: time 4.11e-07/0.2134, allocations: 0 / 450.3 MB, free: 20.62 MB / 366.1 MB Notification: Performance of Templates: time 0.007741/0.2212, allocations: 3.197 MB / 453.5 MB, free: 20.21 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test83/Test83.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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: 4.62955616787076]