Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test24.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.001979/0.001979, allocations: 95.61 kB / 20.96 MB, free: 3.457 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.002064/0.002064, allocations: 161.3 kB / 24.27 MB, free: 152 kB / 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.621/1.621, allocations: 177.1 MB / 204.6 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] 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.3531/0.3531, allocations: 34.26 MB / 295.3 MB, free: 0.6758 MB / 266.7 MB " [Timeout remaining time 179] 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.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test24") translateModel(ModelicaTest.Tables.CombiTimeTable.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test24") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.993e-06/1.993e-06, allocations: 0 / 377.4 MB, free: 2.879 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.495e-05/4.694e-05, allocations: 8.703 kB / 377.4 MB, free: 2.871 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test24): time 0.003842/0.003889, allocations: 1.731 MB / 379.1 MB, free: 1.125 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00199/0.005879, allocations: 0.9976 MB / 380.1 MB, free: 124 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.597e-05/0.005945, allocations: 0 / 380.1 MB, free: 124 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003067/0.006251, allocations: 51.64 kB / 380.2 MB, free: 72 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003416/0.006593, allocations: 95.52 kB / 380.3 MB, free: 15.98 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002133/0.006806, allocations: 79.61 kB / 380.3 MB, free: 15.9 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002175/0.007024, allocations: 111.6 kB / 380.4 MB, free: 15.79 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.896e-05/0.007113, allocations: 8 kB / 380.4 MB, free: 15.78 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001233/0.007236, allocations: 55.81 kB / 380.5 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.453e-05/0.007321, allocations: 27.86 kB / 380.5 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.24e-05/0.007343, allocations: 4 kB / 380.5 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001062/0.007449, allocations: 47.91 kB / 380.6 MB, free: 15.65 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.356e-05/0.007513, allocations: 19.92 kB / 380.6 MB, free: 15.63 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.004e-05/0.007563, allocations: 19.92 kB / 380.6 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002426/0.007805, allocations: 123.5 kB / 380.7 MB, free: 15.49 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.007809, allocations: 0 / 380.7 MB, free: 15.49 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.007811, allocations: 0 / 380.7 MB, free: 15.49 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.007817, allocations: 0 / 380.7 MB, free: 15.49 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0009073/0.008724, allocations: 463.5 kB / 381.2 MB, free: 15 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.445e-05/0.008758, allocations: 8.031 kB / 381.2 MB, free: 14.99 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.229e-05/0.008821, allocations: 16.84 kB / 381.2 MB, free: 14.98 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002661/0.009087, allocations: 156.9 kB / 381.4 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.726e-05/0.009104, allocations: 8.359 kB / 381.4 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.68e-05/0.009121, allocations: 384 / 381.4 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001483/0.009269, allocations: 58.17 kB / 381.4 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.359e-05/0.009283, allocations: 3.938 kB / 381.4 MB, free: 14.72 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.538e-06/0.009292, allocations: 0 / 381.4 MB, free: 14.72 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/0.009299, allocations: 4 kB / 381.4 MB, free: 14.72 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.812e-05/0.009377, allocations: 19.98 kB / 381.5 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004301/0.009807, allocations: 287.8 kB / 381.7 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002039/0.01001, allocations: 71.09 kB / 381.8 MB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.402e-05/0.01008, allocations: 23.61 kB / 381.8 MB, free: 14.27 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.969e-05/0.01009, allocations: 4 kB / 381.8 MB, free: 14.27 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000162/0.01026, allocations: 73.03 kB / 381.9 MB, free: 14.18 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.242e-06/0.01026, allocations: 0 / 381.9 MB, free: 14.18 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006003/0.01086, allocations: 181.3 kB / 382.1 MB, free: 14 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.279e-05/0.01091, allocations: 51.41 kB / 382.1 MB, free: 13.94 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002643/0.01118, allocations: 257.9 kB / 382.4 MB, free: 13.67 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.071e-05/0.01121, allocations: 37.62 kB / 382.4 MB, free: 13.62 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001128/0.01132, allocations: 150.9 kB / 382.6 MB, free: 13.47 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.207e-05/0.01136, allocations: 31.8 kB / 382.6 MB, free: 13.44 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.657e-05/0.01142, allocations: 27.38 kB / 382.6 MB, free: 13.41 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002894/0.01171, allocations: 0.504 MB / 383.1 MB, free: 12.89 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.651e-05/0.01177, allocations: 19.98 kB / 383.2 MB, free: 12.87 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.223e-05/0.01186, allocations: 47.3 kB / 383.2 MB, free: 12.82 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001341/0.01199, allocations: 67.36 kB / 383.3 MB, free: 12.74 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.01199, allocations: 4 kB / 383.3 MB, free: 12.74 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002085/0.0122, allocations: 105.6 kB / 383.4 MB, free: 12.63 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.01222, allocations: 4 kB / 383.4 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.01223, allocations: 4.375 kB / 383.4 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.01224, allocations: 0 / 383.4 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.775e-05/0.01234, allocations: 19.97 kB / 383.4 MB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.076e-06/0.01235, allocations: 4 kB / 383.4 MB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.538e-05/0.01239, allocations: 4 kB / 383.4 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.181e-05/0.0124, allocations: 8 kB / 383.4 MB, free: 12.59 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001427/0.01255, allocations: 172.4 kB / 383.6 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.265e-05/0.01258, allocations: 23.92 kB / 383.6 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002764/0.01285, allocations: 119.1 kB / 383.7 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.01286, allocations: 0 / 383.7 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.01286, allocations: 0 / 383.7 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.01286, allocations: 0 / 383.7 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005446/0.01341, allocations: 420.9 kB / 384.1 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.01341, allocations: 0 / 384.1 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.667e-05/0.01346, allocations: 11.98 kB / 384.1 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.01346, allocations: 0 / 384.1 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.308e-05/0.01347, allocations: 4 kB / 384.1 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.01347, allocations: 0 / 384.1 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.01347, allocations: 4.031 kB / 384.2 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003322/0.01381, allocations: 271.4 kB / 384.4 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.373e-05/0.01383, allocations: 11.91 kB / 384.4 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.711e-05/0.01386, allocations: 7.984 kB / 384.4 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.054e-05/0.01393, allocations: 4 kB / 384.4 MB, free: 11.47 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.108e-05/0.01397, allocations: 7.984 kB / 384.4 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.352e-05/0.01398, allocations: 0 / 384.4 MB, free: 11.46 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001736/0.01415, allocations: 196.1 kB / 384.6 MB, free: 11.27 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01415, allocations: 0 / 384.6 MB, free: 11.27 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002583/0.01441, allocations: 23.98 kB / 384.7 MB, free: 11.25 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.00339/0.0178, allocations: 0.4901 MB / 385.2 MB, free: 10.96 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002109/0.01801, allocations: 63.66 kB / 385.2 MB, free: 10.9 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.01802, allocations: 0 / 385.2 MB, free: 10.9 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.074e-05/0.01811, allocations: 43.83 kB / 385.3 MB, free: 10.85 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000362/0.01847, allocations: 36.11 kB / 385.3 MB, free: 10.82 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005427/0.01901, allocations: 237.9 kB / 385.5 MB, free: 10.55 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001203/0.01913, allocations: 92.81 kB / 385.6 MB, free: 10.44 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.045e-05/0.01919, allocations: 20.91 kB / 385.6 MB, free: 10.42 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.775e-05/0.01924, allocations: 24.56 kB / 385.7 MB, free: 10.39 MB / 362.7 MB Notification: Performance of SimCode: time 4.5e-07/0.01924, allocations: 0 / 385.7 MB, free: 10.39 MB / 362.7 MB Notification: Performance of Templates: time 0.005822/0.02506, allocations: 1.859 MB / 387.5 MB, free: 8.562 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test24.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test24.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test24 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test24/Test24.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test24.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.9462860429193825]