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.001251/0.001251, allocations: 75.75 kB / 21.69 MB, free: 2.852 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.00121/0.00121, allocations: 165.7 kB / 24.99 MB, free: 9.266 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 1.097/1.097, allocations: 177.1 MB / 205.3 MB, free: 5.641 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.3091/0.3091, allocations: 32.8 MB / 294.6 MB, free: 1.281 MB / 266.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 2.294e-06/2.294e-06, allocations: 0 / 376.1 MB, free: 4.906 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.669e-05/2.898e-05, allocations: 5.688 kB / 376.1 MB, free: 4.902 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test83): time 0.002642/0.002671, allocations: 1.989 MB / 378.1 MB, free: 2.895 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001526/0.004197, allocations: 1.161 MB / 379.2 MB, free: 1.727 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001251/0.004322, allocations: 3.938 kB / 379.2 MB, free: 1.723 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005809/0.004903, allocations: 215.3 kB / 379.4 MB, free: 1.512 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003911/0.005294, allocations: 199.2 kB / 379.6 MB, free: 1.316 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003569/0.005651, allocations: 159.5 kB / 379.8 MB, free: 1.16 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.00033/0.005981, allocations: 291.1 kB / 380.1 MB, free: 0.875 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001095/0.00609, allocations: 8.594 kB / 380.1 MB, free: 0.8672 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001676/0.006258, allocations: 139.6 kB / 380.2 MB, free: 0.7305 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001457/0.006404, allocations: 111.7 kB / 380.3 MB, free: 0.6211 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.238e-05/0.006426, allocations: 12 kB / 380.3 MB, free: 0.6094 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001477/0.006574, allocations: 59.89 kB / 380.4 MB, free: 0.5508 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 8.607e-05/0.00666, allocations: 55.78 kB / 380.5 MB, free: 0.4961 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 6.865e-05/0.006729, allocations: 51.78 kB / 380.5 MB, free: 456 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002502/0.006979, allocations: 183.3 kB / 380.7 MB, free: 272 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.006982, allocations: 0 / 380.7 MB, free: 272 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.006983, allocations: 0 / 380.7 MB, free: 272 kB / 346.7 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.006988, allocations: 4 kB / 380.7 MB, free: 268 kB / 346.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.0006138/0.007602, allocations: 0.5943 MB / 381.3 MB, free: 15.62 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.62e-05/0.007638, allocations: 8.031 kB / 381.3 MB, free: 15.62 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.939e-05/0.007707, allocations: 32.75 kB / 381.3 MB, free: 15.59 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002747/0.007982, allocations: 237.4 kB / 381.6 MB, free: 15.32 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.771e-05/0.008, allocations: 384 / 381.6 MB, free: 15.32 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.562e-05/0.008015, allocations: 12.3 kB / 381.6 MB, free: 15.31 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001613/0.008177, allocations: 97.45 kB / 381.7 MB, free: 15.2 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.785e-06/0.008184, allocations: 3.938 kB / 381.7 MB, free: 15.2 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.273e-05/0.008197, allocations: 8 kB / 381.7 MB, free: 15.19 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.244e-06/0.008204, allocations: 0 / 381.7 MB, free: 15.19 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.265e-05/0.008257, allocations: 23.97 kB / 381.7 MB, free: 15.16 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000406/0.008663, allocations: 367.3 kB / 382.1 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001584/0.008822, allocations: 110.1 kB / 382.2 MB, free: 14.63 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.683e-05/0.008868, allocations: 31.36 kB / 382.2 MB, free: 14.59 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.459e-05/0.008883, allocations: 8 kB / 382.2 MB, free: 14.59 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001423/0.009025, allocations: 112.3 kB / 382.3 MB, free: 14.45 MB / 362.7 MB Notification: Performance of pre-optimization done (n=11): time 1.192e-06/0.009026, allocations: 0 / 382.3 MB, free: 14.45 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002719/0.009298, allocations: 149.5 kB / 382.5 MB, free: 14.3 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.035e-05/0.009339, allocations: 81.09 kB / 382.5 MB, free: 14.2 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000254/0.009593, allocations: 346.3 kB / 382.9 MB, free: 13.85 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.522e-05/0.009608, allocations: 29.64 kB / 382.9 MB, free: 13.82 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.342e-05/0.009701, allocations: 190.8 kB / 383.1 MB, free: 13.62 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.204e-05/0.009733, allocations: 27.78 kB / 383.1 MB, free: 13.6 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.57e-05/0.009789, allocations: 39.36 kB / 383.2 MB, free: 13.55 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001324/0.009922, allocations: 0.5157 MB / 383.7 MB, free: 13.02 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.936e-05/0.009961, allocations: 16.48 kB / 383.7 MB, free: 13.01 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.865e-05/0.01003, allocations: 88.12 kB / 383.8 MB, free: 12.89 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.746e-05/0.01012, allocations: 86.67 kB / 383.9 MB, free: 12.79 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.01012, allocations: 3.938 kB / 383.9 MB, free: 12.79 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001553/0.01028, allocations: 121.4 kB / 384 MB, free: 12.66 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.01029, allocations: 4 kB / 384 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.239e-06/0.0103, allocations: 12.08 kB / 384 MB, free: 12.65 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.01031, allocations: 0 / 384 MB, free: 12.65 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.117e-05/0.0104, allocations: 23.94 kB / 384 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.01041, allocations: 0 / 384 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.124e-05/0.01046, allocations: 19.81 kB / 384 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.127e-06/0.01047, allocations: 8 kB / 384.1 MB, free: 12.6 MB / 362.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 9.022e-05/0.01056, allocations: 172.5 kB / 384.2 MB, free: 12.42 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.275e-05/0.01059, allocations: 35.78 kB / 384.3 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001961/0.01078, allocations: 135.5 kB / 384.4 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.167e-06/0.01079, allocations: 8 kB / 384.4 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.01079, allocations: 192 / 384.4 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.0108, allocations: 0 / 384.4 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001623/0.01096, allocations: 204.6 kB / 384.6 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.01096, allocations: 3.938 kB / 384.6 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.19e-05/0.011, allocations: 15.92 kB / 384.6 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.524e-06/0.011, allocations: 0 / 384.6 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.079e-05/0.01101, allocations: 8 kB / 384.6 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.01101, allocations: 0 / 384.6 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.01101, allocations: 0 / 384.6 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001725/0.01118, allocations: 180 kB / 384.8 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.881e-05/0.01121, allocations: 43.67 kB / 384.8 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.505e-05/0.01124, allocations: 7.984 kB / 384.8 MB, free: 11.72 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.165e-05/0.01128, allocations: 8 kB / 384.9 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.266e-05/0.01132, allocations: 11.92 kB / 384.9 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.65e-05/0.01134, allocations: 7.984 kB / 384.9 MB, free: 11.7 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001493/0.01149, allocations: 239 kB / 385.1 MB, free: 11.46 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01149, allocations: 0 / 385.1 MB, free: 11.46 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001916/0.01168, allocations: 39.98 kB / 385.1 MB, free: 11.42 MB / 362.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.0008753/0.01255, allocations: 405.7 kB / 385.5 MB, free: 11.16 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001649/0.01272, allocations: 67.59 kB / 385.6 MB, free: 11.09 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.01272, allocations: 0 / 385.6 MB, free: 11.09 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.239e-05/0.01278, allocations: 47.59 kB / 385.7 MB, free: 11.04 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002685/0.01305, allocations: 65.05 kB / 385.7 MB, free: 10.98 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005432/0.0136, allocations: 374.4 kB / 386.1 MB, free: 10.58 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.517e-05/0.01368, allocations: 87.97 kB / 386.2 MB, free: 10.48 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.313e-05/0.01375, allocations: 34.08 kB / 386.2 MB, free: 10.45 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.716e-05/0.0138, allocations: 24.48 kB / 386.2 MB, free: 10.42 MB / 362.7 MB Notification: Performance of SimCode: time 8.32e-07/0.0138, allocations: 4 kB / 386.2 MB, free: 10.42 MB / 362.7 MB Notification: Performance of Templates: time 0.005552/0.01935, allocations: 3.245 MB / 389.5 MB, free: 7.219 MB / 362.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.398677990073338]