Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.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.0009191/0.0009191, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.001106/0.001106, allocations: 169 kB / 24.91 MB, free: 8.723 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.9121/0.9121, allocations: 177.1 MB / 205.3 MB, free: 4.496 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.1459/0.1459, allocations: 32.79 MB / 294.6 MB, free: 15.45 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.Test42,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42") translateModel(ModelicaTest.Tables.CombiTimeTable.Test42,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 323.3 MB, free: 2.719 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.465e-05/2.631e-05, allocations: 8.641 kB / 323.3 MB, free: 2.711 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test42): time 0.00246/0.002487, allocations: 1.766 MB / 325.1 MB, free: 0.9297 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001265/0.003752, allocations: 1.001 MB / 326.1 MB, free: 15.92 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.555e-05/0.003827, allocations: 4 kB / 326.1 MB, free: 15.92 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003352/0.004163, allocations: 39.75 kB / 326.1 MB, free: 15.88 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003258/0.004488, allocations: 103.5 kB / 326.2 MB, free: 15.78 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000209/0.004697, allocations: 79.61 kB / 326.3 MB, free: 15.7 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001572/0.004855, allocations: 103.6 kB / 326.4 MB, free: 15.6 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.252e-05/0.004937, allocations: 12 kB / 326.4 MB, free: 15.59 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.244e-05/0.005029, allocations: 59.81 kB / 326.5 MB, free: 15.53 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.225e-05/0.005102, allocations: 23.92 kB / 326.5 MB, free: 15.5 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.532e-05/0.005117, allocations: 8 kB / 326.5 MB, free: 15.5 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.419e-05/0.005211, allocations: 51.84 kB / 326.6 MB, free: 15.45 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.735e-05/0.005269, allocations: 19.92 kB / 326.6 MB, free: 15.43 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 4.451e-05/0.005313, allocations: 23.86 kB / 326.6 MB, free: 15.4 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002115/0.005525, allocations: 99.66 kB / 326.7 MB, free: 15.3 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.005528, allocations: 0 / 326.7 MB, free: 15.3 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.005529, allocations: 0 / 326.7 MB, free: 15.3 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.005534, allocations: 0 / 326.7 MB, free: 15.3 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004301/0.005964, allocations: 328.1 kB / 327 MB, free: 14.96 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/0.006003, allocations: 11.98 kB / 327 MB, free: 14.95 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.833e-05/0.006042, allocations: 16.92 kB / 327 MB, free: 14.93 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001811/0.006223, allocations: 149.5 kB / 327.2 MB, free: 14.76 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.013e-05/0.006243, allocations: 12.31 kB / 327.2 MB, free: 14.75 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.946e-05/0.006262, allocations: 384 / 327.2 MB, free: 14.75 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001168/0.006379, allocations: 61.77 kB / 327.3 MB, free: 14.68 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.006389, allocations: 3.938 kB / 327.3 MB, free: 14.68 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.439e-05/0.006403, allocations: 4 kB / 327.3 MB, free: 14.67 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/0.006409, allocations: 0 / 327.3 MB, free: 14.67 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.705e-05/0.006436, allocations: 11.98 kB / 327.3 MB, free: 14.66 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002257/0.006662, allocations: 165.8 kB / 327.4 MB, free: 14.48 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001024/0.006764, allocations: 93.34 kB / 327.5 MB, free: 14.38 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.44e-05/0.006789, allocations: 12.86 kB / 327.5 MB, free: 14.36 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.074e-05/0.006799, allocations: 0 / 327.5 MB, free: 14.36 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.492e-05/0.006894, allocations: 66.14 kB / 327.6 MB, free: 14.29 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 1.021e-06/0.006895, allocations: 0 / 327.6 MB, free: 14.29 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003222/0.007218, allocations: 109.6 kB / 327.7 MB, free: 14.17 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.437e-05/0.007252, allocations: 51.41 kB / 327.8 MB, free: 14.11 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001422/0.007394, allocations: 192.7 kB / 328 MB, free: 13.91 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.896e-05/0.007413, allocations: 29.7 kB / 328 MB, free: 13.87 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.022e-05/0.007453, allocations: 100 kB / 328.1 MB, free: 13.77 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.498e-05/0.007488, allocations: 27.83 kB / 328.1 MB, free: 13.74 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.747e-05/0.007526, allocations: 21.72 kB / 328.1 MB, free: 13.71 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001075/0.007633, allocations: 330.8 kB / 328.5 MB, free: 13.38 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.638e-05/0.00766, allocations: 10.81 kB / 328.5 MB, free: 13.37 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.128e-05/0.007691, allocations: 25.66 kB / 328.5 MB, free: 13.34 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.541e-05/0.007746, allocations: 40.5 kB / 328.5 MB, free: 13.29 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.007748, allocations: 0 / 328.5 MB, free: 13.29 MB / 314.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001058/0.007853, allocations: 72.38 kB / 328.6 MB, free: 13.21 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.007867, allocations: 12.03 kB / 328.6 MB, free: 13.2 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.007872, allocations: 0 / 328.6 MB, free: 13.2 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.007885, allocations: 0 / 328.6 MB, free: 13.2 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.493e-05/0.00796, allocations: 15.94 kB / 328.6 MB, free: 13.19 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.548e-06/0.007965, allocations: 3.984 kB / 328.6 MB, free: 13.18 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.726e-05/0.008002, allocations: 8 kB / 328.6 MB, free: 13.18 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.62e-06/0.008008, allocations: 0 / 328.6 MB, free: 13.18 MB / 314.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 8.27e-05/0.00809, allocations: 116.7 kB / 328.8 MB, free: 13.05 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.998e-05/0.00811, allocations: 15.92 kB / 328.8 MB, free: 13.04 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001191/0.008229, allocations: 83.06 kB / 328.9 MB, free: 12.95 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.008232, allocations: 3.938 kB / 328.9 MB, free: 12.94 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-06/0.008233, allocations: 0 / 328.9 MB, free: 12.94 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.008238, allocations: 7.984 kB / 328.9 MB, free: 12.93 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002447/0.008482, allocations: 291.4 kB / 329.1 MB, free: 12.62 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.008485, allocations: 4 kB / 329.2 MB, free: 12.62 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.773e-05/0.008513, allocations: 8 kB / 329.2 MB, free: 12.61 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.008515, allocations: 0 / 329.2 MB, free: 12.61 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.414e-06/0.008522, allocations: 4 kB / 329.2 MB, free: 12.61 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.008525, allocations: 3.984 kB / 329.2 MB, free: 12.6 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.008528, allocations: 8.031 kB / 329.2 MB, free: 12.59 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000117/0.008645, allocations: 215 kB / 329.4 MB, free: 12.36 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.462e-05/0.00866, allocations: 11.91 kB / 329.4 MB, free: 12.35 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.773e-05/0.008678, allocations: 0 / 329.4 MB, free: 12.35 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.127e-05/0.008739, allocations: 11.98 kB / 329.4 MB, free: 12.34 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.626e-05/0.008765, allocations: 4.375 kB / 329.4 MB, free: 12.34 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.118e-05/0.008776, allocations: 0 / 329.4 MB, free: 12.34 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.946e-05/0.008836, allocations: 60.69 kB / 329.5 MB, free: 12.27 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008836, allocations: 0 / 329.5 MB, free: 12.27 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002266/0.009062, allocations: 23.98 kB / 329.5 MB, free: 12.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: 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.001427/0.01049, allocations: 0.5824 MB / 330.1 MB, free: 11.94 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001084/0.0106, allocations: 36.83 kB / 330.1 MB, free: 11.9 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.45e-06/0.0106, allocations: 7.938 kB / 330.1 MB, free: 11.89 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.564e-05/0.01064, allocations: 24.91 kB / 330.1 MB, free: 11.87 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002293/0.01087, allocations: 31.92 kB / 330.2 MB, free: 11.84 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003616/0.01123, allocations: 227 kB / 330.4 MB, free: 11.58 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.451e-05/0.01127, allocations: 63.34 kB / 330.5 MB, free: 11.5 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.184e-05/0.01132, allocations: 17.28 kB / 330.5 MB, free: 11.48 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.344e-05/0.01139, allocations: 71.36 kB / 330.5 MB, free: 11.41 MB / 314.7 MB Notification: Performance of SimCode: time 6.81e-07/0.01139, allocations: 64 / 330.5 MB, free: 11.41 MB / 314.7 MB Notification: Performance of Templates: time 0.004345/0.01574, allocations: 2.035 MB / 332.6 MB, free: 9.41 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test42/Test42.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.0080553111620247]