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.0009325/0.0009325, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.000936/0.000936, allocations: 164.8 kB / 25.61 MB, free: 8.902 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.9661/0.9661, allocations: 177.1 MB / 206 MB, free: 4.504 MB / 186.7 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.1443/0.1443, allocations: 32.81 MB / 295.4 MB, free: 15.39 MB / 282.7 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.[0-9,]+.|booleanTable.y|booleanTable.combiTimeTable.y.[0-9,]+.|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.[0-9,]+.|booleanTable.y|booleanTable.combiTimeTable.y.[0-9,]+.|booleanTable.realToBoolean.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0 / 377.3 MB, free: 25.55 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.142e-05/1.262e-05, allocations: 6.312 kB / 377.3 MB, free: 25.54 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test83): time 0.001916/0.001929, allocations: 1.966 MB / 379.3 MB, free: 23.56 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001214/0.003143, allocations: 1.157 MB / 380.5 MB, free: 22.39 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001032/0.003246, allocations: 4 kB / 380.5 MB, free: 22.39 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005254/0.003772, allocations: 207.2 kB / 380.7 MB, free: 22.19 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003509/0.004123, allocations: 215 kB / 380.9 MB, free: 21.98 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003399/0.004463, allocations: 159.5 kB / 381 MB, free: 21.82 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002786/0.004741, allocations: 275.1 kB / 381.3 MB, free: 21.55 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001142/0.004855, allocations: 24.53 kB / 381.3 MB, free: 21.53 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001317/0.004987, allocations: 143.6 kB / 381.5 MB, free: 21.39 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001064/0.005093, allocations: 111.7 kB / 381.6 MB, free: 21.28 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.884e-05/0.005112, allocations: 12 kB / 381.6 MB, free: 21.27 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001021/0.005214, allocations: 55.95 kB / 381.6 MB, free: 21.21 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.58e-05/0.00527, allocations: 55.78 kB / 381.7 MB, free: 21.16 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 4.313e-05/0.005313, allocations: 47.78 kB / 381.7 MB, free: 21.11 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001833/0.005497, allocations: 191.2 kB / 381.9 MB, free: 20.92 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.693e-06/0.005498, allocations: 0 / 381.9 MB, free: 20.92 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.005499, allocations: 0 / 381.9 MB, free: 20.92 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.117e-06/0.005503, allocations: 0 / 381.9 MB, free: 20.92 MB / 314.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.0004381/0.005941, allocations: 0.5865 MB / 382.5 MB, free: 20.29 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.966e-05/0.005971, allocations: 19.97 kB / 382.5 MB, free: 20.27 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.718e-05/0.006018, allocations: 32.75 kB / 382.6 MB, free: 20.24 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001861/0.006204, allocations: 237.3 kB / 382.8 MB, free: 19.98 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.667e-05/0.006221, allocations: 8.359 kB / 382.8 MB, free: 19.97 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.113e-05/0.006232, allocations: 8.375 kB / 382.8 MB, free: 19.96 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001056/0.006338, allocations: 93.23 kB / 382.9 MB, free: 19.86 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.006346, allocations: 3.938 kB / 382.9 MB, free: 19.86 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.827e-06/0.006355, allocations: 4 kB / 382.9 MB, free: 19.85 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.00636, allocations: 0 / 382.9 MB, free: 19.85 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.447e-05/0.006394, allocations: 19.98 kB / 382.9 MB, free: 19.83 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002582/0.006652, allocations: 332 kB / 383.3 MB, free: 19.48 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000109/0.006761, allocations: 90.27 kB / 383.4 MB, free: 19.36 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.121e-05/0.006792, allocations: 35.3 kB / 383.4 MB, free: 19.32 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.339e-05/0.006806, allocations: 11.94 kB / 383.4 MB, free: 19.31 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001/0.006906, allocations: 104.4 kB / 383.5 MB, free: 19.18 MB / 314.7 MB Notification: Performance of pre-optimization done (n=11): time 9.22e-07/0.006907, allocations: 0 / 383.5 MB, free: 19.18 MB / 314.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001914/0.007098, allocations: 145.4 kB / 383.6 MB, free: 19.04 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.135e-05/0.00712, allocations: 77.11 kB / 383.7 MB, free: 18.94 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001562/0.007276, allocations: 338.2 kB / 384 MB, free: 18.6 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.165e-05/0.007287, allocations: 29.7 kB / 384.1 MB, free: 18.56 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.015e-05/0.007348, allocations: 186.8 kB / 384.3 MB, free: 18.38 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.552e-05/0.007373, allocations: 39.72 kB / 384.3 MB, free: 18.34 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.478e-05/0.007408, allocations: 43.28 kB / 384.3 MB, free: 18.29 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.983e-05/0.007468, allocations: 0.5079 MB / 384.8 MB, free: 17.77 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.99e-05/0.007488, allocations: 19.92 kB / 384.9 MB, free: 17.75 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.159e-05/0.007529, allocations: 92.11 kB / 385 MB, free: 17.63 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.345e-05/0.007583, allocations: 70.67 kB / 385 MB, free: 17.54 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.007585, allocations: 4 kB / 385 MB, free: 17.54 MB / 314.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001076/0.007692, allocations: 121.9 kB / 385.1 MB, free: 17.41 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.082e-05/0.007703, allocations: 4 kB / 385.2 MB, free: 17.41 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.007707, allocations: 0 / 385.2 MB, free: 17.41 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.039e-05/0.007717, allocations: 4 kB / 385.2 MB, free: 17.41 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.057e-05/0.007788, allocations: 23.92 kB / 385.2 MB, free: 17.38 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.537e-06/0.007791, allocations: 8.094 kB / 385.2 MB, free: 17.38 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.743e-05/0.007839, allocations: 15.94 kB / 385.2 MB, free: 17.36 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.855e-06/0.007847, allocations: 4 kB / 385.2 MB, free: 17.36 MB / 314.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.537e-05/0.007912, allocations: 168.5 kB / 385.4 MB, free: 17.18 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.61e-05/0.007938, allocations: 31.8 kB / 385.4 MB, free: 17.15 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001494/0.008088, allocations: 147.4 kB / 385.5 MB, free: 16.99 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.008089, allocations: 0 / 385.5 MB, free: 16.99 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-06/0.008092, allocations: 0 / 385.5 MB, free: 16.99 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-06/0.008096, allocations: 4 kB / 385.5 MB, free: 16.99 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.626e-05/0.008192, allocations: 161.1 kB / 385.7 MB, free: 16.8 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.008194, allocations: 4 kB / 385.7 MB, free: 16.8 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.382e-05/0.008218, allocations: 15.92 kB / 385.7 MB, free: 16.79 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.442e-06/0.008219, allocations: 0 / 385.7 MB, free: 16.79 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.127e-06/0.008229, allocations: 11.94 kB / 385.7 MB, free: 16.77 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.01e-07/0.008229, allocations: 0 / 385.7 MB, free: 16.77 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.00823, allocations: 0 / 385.7 MB, free: 16.77 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001141/0.008344, allocations: 168 kB / 385.9 MB, free: 16.58 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.116e-05/0.008366, allocations: 27.8 kB / 385.9 MB, free: 16.55 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.306e-05/0.008389, allocations: 7.938 kB / 385.9 MB, free: 16.55 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.426e-05/0.008423, allocations: 8.125 kB / 385.9 MB, free: 16.54 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.073e-05/0.008454, allocations: 15.97 kB / 386 MB, free: 16.52 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.099e-05/0.008465, allocations: 8 kB / 386 MB, free: 16.52 MB / 314.7 MB Notification: Performance of sorting global known variables: time 7.974e-05/0.008544, allocations: 234.9 kB / 386.2 MB, free: 16.29 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008544, allocations: 0 / 386.2 MB, free: 16.29 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001737/0.008718, allocations: 39.92 kB / 386.2 MB, free: 16.25 MB / 314.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.0007467/0.009465, allocations: 401.4 kB / 386.6 MB, free: 16 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001102/0.009575, allocations: 67.58 kB / 386.7 MB, free: 15.93 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 9.92e-07/0.009576, allocations: 0 / 386.7 MB, free: 15.93 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 4.322e-05/0.009619, allocations: 43.59 kB / 386.7 MB, free: 15.88 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002265/0.009846, allocations: 64.09 kB / 386.8 MB, free: 15.82 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003581/0.0102, allocations: 360.5 kB / 387.2 MB, free: 15.44 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.377e-05/0.01024, allocations: 95.81 kB / 387.2 MB, free: 15.33 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.639e-05/0.01029, allocations: 26.09 kB / 387.3 MB, free: 15.3 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.74e-05/0.01038, allocations: 110.2 kB / 387.4 MB, free: 15.19 MB / 314.7 MB Notification: Performance of SimCode: time 8.21e-07/0.01038, allocations: 0 / 387.4 MB, free: 15.19 MB / 314.7 MB Notification: Performance of Templates: time 0.004604/0.01499, allocations: 3.604 MB / 391 MB, free: 11.64 MB / 314.7 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1383556611835957]