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.0009594/0.0009594, 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.0009622/0.0009622, allocations: 168.7 kB / 25.61 MB, free: 8.582 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.9758/0.9758, allocations: 177.1 MB / 206 MB, free: 4.473 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.1357/0.1357, allocations: 34.26 MB / 296.8 MB, free: 13.92 MB / 282.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.[0-9,]+.|booleanTable.y|booleanTable.combiTimeTable.y.[0-9,]+.|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.[0-9,]+.|booleanTable.y|booleanTable.combiTimeTable.y.[0-9,]+.|booleanTable.realToBoolean.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 3.938 kB / 379.4 MB, free: 23.33 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.459e-05/1.609e-05, allocations: 9.969 kB / 379.4 MB, free: 23.32 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test83): time 0.002061/0.002077, allocations: 1.962 MB / 381.3 MB, free: 21.35 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001334/0.003411, allocations: 1.157 MB / 382.5 MB, free: 20.18 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001116/0.003522, allocations: 3.938 kB / 382.5 MB, free: 20.18 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005764/0.004099, allocations: 207.3 kB / 382.7 MB, free: 19.98 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003579/0.004457, allocations: 211.1 kB / 382.9 MB, free: 19.77 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003216/0.004778, allocations: 163.5 kB / 383.1 MB, free: 19.61 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002268/0.005005, allocations: 271.1 kB / 383.3 MB, free: 19.34 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.669e-05/0.005102, allocations: 32.52 kB / 383.4 MB, free: 19.31 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001287/0.00523, allocations: 139.6 kB / 383.5 MB, free: 19.18 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001104/0.005341, allocations: 107.7 kB / 383.6 MB, free: 19.07 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.055e-05/0.005361, allocations: 8 kB / 383.6 MB, free: 19.06 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001096/0.005471, allocations: 59.95 kB / 383.7 MB, free: 19 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 6.119e-05/0.005532, allocations: 55.77 kB / 383.7 MB, free: 18.95 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 4.5e-05/0.005577, allocations: 47.8 kB / 383.8 MB, free: 18.9 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002006/0.005778, allocations: 195.2 kB / 384 MB, free: 18.71 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.883e-06/0.00578, allocations: 4 kB / 384 MB, free: 18.71 MB / 314.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.00578, allocations: 0 / 384 MB, free: 18.71 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.969e-06/0.005785, allocations: 4 kB / 384 MB, free: 18.7 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.0004471/0.006232, allocations: 0.5826 MB / 384.6 MB, free: 18.08 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.992e-05/0.006262, allocations: 8.031 kB / 384.6 MB, free: 18.07 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.458e-05/0.006307, allocations: 36.73 kB / 384.6 MB, free: 18.04 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001838/0.006491, allocations: 229.4 kB / 384.8 MB, free: 17.78 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.733e-05/0.006508, allocations: 8.375 kB / 384.8 MB, free: 17.77 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.265e-05/0.006521, allocations: 8.359 kB / 384.8 MB, free: 17.76 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001193/0.00664, allocations: 93.44 kB / 384.9 MB, free: 17.66 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.006648, allocations: 3.938 kB / 384.9 MB, free: 17.65 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.245e-05/0.006661, allocations: 4 kB / 384.9 MB, free: 17.65 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.006667, allocations: 4 kB / 384.9 MB, free: 17.64 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.388e-05/0.0067, allocations: 15.97 kB / 385 MB, free: 17.63 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002635/0.006964, allocations: 324 kB / 385.3 MB, free: 17.28 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001058/0.00707, allocations: 102.2 kB / 385.4 MB, free: 17.16 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.824e-05/0.007098, allocations: 35.36 kB / 385.4 MB, free: 17.11 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.898e-06/0.007108, allocations: 3.938 kB / 385.4 MB, free: 17.11 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.712e-05/0.007205, allocations: 108.4 kB / 385.5 MB, free: 16.98 MB / 314.7 MB Notification: Performance of pre-optimization done (n=11): time 8.81e-07/0.007206, allocations: 0 / 385.5 MB, free: 16.98 MB / 314.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001953/0.007401, allocations: 141.4 kB / 385.7 MB, free: 16.84 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.141e-05/0.007423, allocations: 81.09 kB / 385.7 MB, free: 16.74 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001502/0.007573, allocations: 330.2 kB / 386.1 MB, free: 16.4 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.338e-05/0.007586, allocations: 33.7 kB / 386.1 MB, free: 16.36 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.133e-05/0.007657, allocations: 198.7 kB / 386.3 MB, free: 16.16 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.384e-05/0.007681, allocations: 35.72 kB / 386.3 MB, free: 16.13 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.482e-05/0.007716, allocations: 39.34 kB / 386.4 MB, free: 16.08 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.981e-05/0.007776, allocations: 0.5118 MB / 386.9 MB, free: 15.56 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.798e-05/0.007794, allocations: 12 kB / 386.9 MB, free: 15.55 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.988e-05/0.007834, allocations: 92.09 kB / 387 MB, free: 15.43 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.767e-05/0.007891, allocations: 75.17 kB / 387 MB, free: 15.34 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.007893, allocations: 0 / 387 MB, free: 15.34 MB / 314.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001057/0.007999, allocations: 125.3 kB / 387.2 MB, free: 15.21 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.033e-05/0.008009, allocations: 8 kB / 387.2 MB, free: 15.2 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.008014, allocations: 0 / 387.2 MB, free: 15.2 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.598e-06/0.008023, allocations: 8.094 kB / 387.2 MB, free: 15.2 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.738e-05/0.008091, allocations: 23.92 kB / 387.2 MB, free: 15.17 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.787e-06/0.008095, allocations: 3.984 kB / 387.2 MB, free: 15.17 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.493e-05/0.008139, allocations: 19.94 kB / 387.2 MB, free: 15.15 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.434e-06/0.008147, allocations: 4 kB / 387.2 MB, free: 15.14 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 5.93e-05/0.008206, allocations: 160.6 kB / 387.4 MB, free: 14.98 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.471e-05/0.008231, allocations: 35.8 kB / 387.4 MB, free: 14.94 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001335/0.008364, allocations: 135.4 kB / 387.6 MB, free: 14.8 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.008367, allocations: 4 kB / 387.6 MB, free: 14.79 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.074e-06/0.008369, allocations: 4 kB / 387.6 MB, free: 14.79 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.008373, allocations: 0 / 387.6 MB, free: 14.79 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.258e-05/0.008465, allocations: 161.1 kB / 387.7 MB, free: 14.61 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.008466, allocations: 0 / 387.7 MB, free: 14.61 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.324e-05/0.00849, allocations: 19.92 kB / 387.7 MB, free: 14.59 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.382e-06/0.008491, allocations: 0 / 387.7 MB, free: 14.59 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.995e-06/0.008499, allocations: 8.125 kB / 387.7 MB, free: 14.58 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.654e-06/0.008501, allocations: 8 kB / 387.8 MB, free: 14.57 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.008501, allocations: 0 / 387.8 MB, free: 14.57 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001142/0.008616, allocations: 174.7 kB / 387.9 MB, free: 14.38 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.835e-05/0.008634, allocations: 19.81 kB / 387.9 MB, free: 14.36 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.218e-05/0.008656, allocations: 19.92 kB / 388 MB, free: 14.34 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.384e-05/0.00869, allocations: 4 kB / 388 MB, free: 14.33 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.948e-05/0.008719, allocations: 15.92 kB / 388 MB, free: 14.32 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.143e-05/0.008731, allocations: 7.984 kB / 388 MB, free: 14.31 MB / 314.7 MB Notification: Performance of sorting global known variables: time 7.752e-05/0.008808, allocations: 223 kB / 388.2 MB, free: 14.09 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008808, allocations: 0 / 388.2 MB, free: 14.09 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001776/0.008986, allocations: 43.92 kB / 388.3 MB, free: 14.05 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.0008152/0.009801, allocations: 399.7 kB / 388.6 MB, free: 13.8 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001181/0.009919, allocations: 71.58 kB / 388.7 MB, free: 13.72 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.042e-06/0.00992, allocations: 0 / 388.7 MB, free: 13.72 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.997e-05/0.00996, allocations: 43.59 kB / 388.8 MB, free: 13.68 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002339/0.01019, allocations: 68.67 kB / 388.8 MB, free: 13.61 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003551/0.01055, allocations: 356.4 kB / 389.2 MB, free: 13.23 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.428e-05/0.01058, allocations: 91.83 kB / 389.3 MB, free: 13.12 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.254e-05/0.01064, allocations: 34.06 kB / 389.3 MB, free: 13.09 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.383e-05/0.01072, allocations: 114.2 kB / 389.4 MB, free: 12.97 MB / 314.7 MB Notification: Performance of SimCode: time 4.01e-07/0.01072, allocations: 0 / 389.4 MB, free: 12.97 MB / 314.7 MB Notification: Performance of Templates: time 0.00484/0.01556, allocations: 3.593 MB / 393 MB, free: 9.438 MB / 314.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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe 2>&1) [Timeout 240] 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","",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.306353670079261]