Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2.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.0009168/0.0009168, allocations: 80.8 kB / 21.5 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.0009155/0.0009155, allocations: 170.3 kB / 24.91 MB, free: 9.195 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.9563/0.9563, allocations: 177.1 MB / 205.3 MB, free: 5.492 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.2618/0.2618, allocations: 34.26 MB / 296.1 MB, free: 0.7383 MB / 266.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.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2") translateModel(ModelicaTest.Tables.CombiTimeTable.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.334e-06/2.334e-06, allocations: 0 / 325.3 MB, free: 7.625 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.355e-05/2.589e-05, allocations: 3.516 kB / 325.3 MB, free: 7.621 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test2): time 0.002392/0.002418, allocations: 1.754 MB / 327.1 MB, free: 5.855 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001255/0.003673, allocations: 1.01 MB / 328.1 MB, free: 4.84 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.399e-05/0.003737, allocations: 4 kB / 328.1 MB, free: 4.836 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002417/0.003978, allocations: 43.64 kB / 328.1 MB, free: 4.793 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002516/0.00423, allocations: 91.55 kB / 328.2 MB, free: 4.703 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001664/0.004396, allocations: 79.59 kB / 328.3 MB, free: 4.625 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001471/0.004543, allocations: 111.6 kB / 328.4 MB, free: 4.516 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.642e-05/0.00462, allocations: 11.94 kB / 328.4 MB, free: 4.504 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.917e-05/0.004699, allocations: 51.84 kB / 328.5 MB, free: 4.453 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.758e-05/0.004767, allocations: 31.89 kB / 328.5 MB, free: 4.422 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.455e-05/0.004781, allocations: 4 kB / 328.5 MB, free: 4.418 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.496e-05/0.004856, allocations: 43.92 kB / 328.6 MB, free: 4.375 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.037e-05/0.004896, allocations: 19.92 kB / 328.6 MB, free: 4.355 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.343e-05/0.00493, allocations: 23.92 kB / 328.6 MB, free: 4.332 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000143/0.005073, allocations: 99.59 kB / 328.7 MB, free: 4.234 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.284e-06/0.005075, allocations: 0 / 328.7 MB, free: 4.234 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.42e-07/0.005076, allocations: 0 / 328.7 MB, free: 4.234 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.585e-06/0.005078, allocations: 0 / 328.7 MB, free: 4.234 MB / 298.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.0004599/0.005538, allocations: 313.6 kB / 329 MB, free: 3.906 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.738e-05/0.005566, allocations: 12.03 kB / 329 MB, free: 3.895 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.634e-05/0.005592, allocations: 4.938 kB / 329 MB, free: 3.891 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001375/0.00573, allocations: 149.5 kB / 329.2 MB, free: 3.719 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.363e-05/0.005743, allocations: 4.375 kB / 329.2 MB, free: 3.715 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.905e-05/0.005762, allocations: 4.375 kB / 329.2 MB, free: 3.711 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001002/0.005863, allocations: 65.7 kB / 329.2 MB, free: 3.637 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.005873, allocations: 3.938 kB / 329.2 MB, free: 3.633 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.131e-06/0.005879, allocations: 0 / 329.2 MB, free: 3.633 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.698e-06/0.005888, allocations: 0 / 329.2 MB, free: 3.633 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.501e-05/0.005913, allocations: 11.98 kB / 329.3 MB, free: 3.621 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001801/0.006094, allocations: 162 kB / 329.4 MB, free: 3.445 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.431e-05/0.006178, allocations: 85.23 kB / 329.5 MB, free: 3.352 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.168e-05/0.0062, allocations: 20.91 kB / 329.5 MB, free: 3.328 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.759e-06/0.006209, allocations: 0 / 329.5 MB, free: 3.328 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.362e-05/0.006293, allocations: 66.14 kB / 329.6 MB, free: 3.25 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 8.72e-07/0.006294, allocations: 0 / 329.6 MB, free: 3.25 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002822/0.006576, allocations: 109.5 kB / 329.7 MB, free: 3.137 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.286e-05/0.006609, allocations: 51.41 kB / 329.7 MB, free: 3.074 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.478e-05/0.006704, allocations: 166.9 kB / 329.9 MB, free: 2.898 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.349e-05/0.006717, allocations: 29.7 kB / 329.9 MB, free: 2.863 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.735e-05/0.006745, allocations: 88.12 kB / 330 MB, free: 2.773 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.414e-05/0.006769, allocations: 31.77 kB / 330.1 MB, free: 2.742 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.775e-05/0.006796, allocations: 17.72 kB / 330.1 MB, free: 2.719 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.132e-05/0.006878, allocations: 326.8 kB / 330.4 MB, free: 2.391 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.605e-05/0.006894, allocations: 14.81 kB / 330.4 MB, free: 2.375 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.217e-05/0.006916, allocations: 21.66 kB / 330.4 MB, free: 2.348 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.255e-05/0.006958, allocations: 48.5 kB / 330.5 MB, free: 2.293 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.006959, allocations: 0 / 330.5 MB, free: 2.293 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.279e-05/0.007032, allocations: 80.38 kB / 330.6 MB, free: 2.207 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.002e-05/0.007042, allocations: 4 kB / 330.6 MB, free: 2.203 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.367e-06/0.007046, allocations: 0 / 330.6 MB, free: 2.203 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.11e-05/0.007057, allocations: 4.375 kB / 330.6 MB, free: 2.199 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.075e-05/0.007107, allocations: 15.94 kB / 330.6 MB, free: 2.184 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.615e-06/0.00711, allocations: 0 / 330.6 MB, free: 2.184 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.608e-05/0.007136, allocations: 11.97 kB / 330.6 MB, free: 2.172 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.44e-06/0.007142, allocations: 4 kB / 330.6 MB, free: 2.168 MB / 298.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 5.859e-05/0.0072, allocations: 120.6 kB / 330.7 MB, free: 2.039 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.175e-05/0.007212, allocations: 15.95 kB / 330.7 MB, free: 2.023 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.858e-05/0.0073, allocations: 70.45 kB / 330.8 MB, free: 1.949 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.007303, allocations: 4 kB / 330.8 MB, free: 1.945 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.322e-06/0.007304, allocations: 0 / 330.8 MB, free: 1.945 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.007307, allocations: 0 / 330.8 MB, free: 1.945 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001996/0.007507, allocations: 295.5 kB / 331.1 MB, free: 1.629 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.007508, allocations: 0 / 331.1 MB, free: 1.629 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.228e-05/0.00753, allocations: 15.92 kB / 331.1 MB, free: 1.613 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.007533, allocations: 4 kB / 331.1 MB, free: 1.609 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.27e-06/0.007538, allocations: 0 / 331.1 MB, free: 1.609 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.007539, allocations: 4.031 kB / 331.1 MB, free: 1.605 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.00754, allocations: 80 / 331.1 MB, free: 1.605 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.607e-05/0.007636, allocations: 219 kB / 331.3 MB, free: 1.371 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.979e-06/0.007646, allocations: 7.938 kB / 331.3 MB, free: 1.363 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.596e-05/0.007662, allocations: 8 kB / 331.3 MB, free: 1.355 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.435e-05/0.007697, allocations: 0 / 331.3 MB, free: 1.355 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.758e-05/0.007724, allocations: 11.97 kB / 331.3 MB, free: 1.344 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.13e-05/0.007736, allocations: 4 kB / 331.4 MB, free: 1.34 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.183e-05/0.007777, allocations: 45.17 kB / 331.4 MB, free: 1.293 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007778, allocations: 0 / 331.4 MB, free: 1.293 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000146/0.007924, allocations: 31.94 kB / 331.4 MB, free: 1.262 MB / 298.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.001142/0.009066, allocations: 0.569 MB / 332 MB, free: 0.9922 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.67e-05/0.009153, allocations: 44.78 kB / 332 MB, free: 0.9453 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.009155, allocations: 0 / 332 MB, free: 0.9453 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.036e-05/0.009186, allocations: 32.72 kB / 332.1 MB, free: 0.9102 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001663/0.009352, allocations: 39.39 kB / 332.1 MB, free: 0.875 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002758/0.009628, allocations: 204.1 kB / 332.3 MB, free: 0.6406 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.805e-05/0.009666, allocations: 67.33 kB / 332.4 MB, free: 0.5547 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.172e-05/0.009697, allocations: 17.28 kB / 332.4 MB, free: 0.5391 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.558e-05/0.009763, allocations: 71.48 kB / 332.5 MB, free: 480 kB / 298.7 MB Notification: Performance of SimCode: time 3.91e-07/0.009763, allocations: 0 / 332.5 MB, free: 480 kB / 298.7 MB Notification: Performance of Templates: time 0.003486/0.01325, allocations: 2.006 MB / 334.5 MB, free: 14.5 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test2/Test2.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: 2.894546520896256]