Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.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.002471/0.002471, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.002303/0.002303, allocations: 169.3 kB / 24.28 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.58/1.58, allocations: 177.1 MB / 204.6 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] 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.372/0.372, allocations: 32.8 MB / 293.9 MB, free: 1.219 MB / 266.7 MB " [Timeout remaining time 179] 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.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|t_new.y.3.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76") translateModel(ModelicaTest.Tables.CombiTimeTable.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|t_new.y.3.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 375.4 MB, free: 4.891 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.353e-05/3.531e-05, allocations: 2.312 kB / 375.4 MB, free: 4.887 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test76): time 0.003649/0.003685, allocations: 1.765 MB / 377.1 MB, free: 3.109 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002104/0.005788, allocations: 0.9899 MB / 378.1 MB, free: 2.113 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.384e-05/0.005872, allocations: 3.938 kB / 378.1 MB, free: 2.109 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003346/0.006207, allocations: 47.75 kB / 378.2 MB, free: 2.062 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003832/0.00659, allocations: 107.4 kB / 378.3 MB, free: 1.957 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002313/0.006821, allocations: 79.66 kB / 378.4 MB, free: 1.879 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002505/0.007072, allocations: 135.6 kB / 378.5 MB, free: 1.746 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001025/0.007174, allocations: 8 kB / 378.5 MB, free: 1.738 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001414/0.007315, allocations: 63.81 kB / 378.6 MB, free: 1.676 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001214/0.007437, allocations: 47.88 kB / 378.6 MB, free: 1.629 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.003e-05/0.007467, allocations: 8 kB / 378.6 MB, free: 1.621 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001426/0.007609, allocations: 63.86 kB / 378.7 MB, free: 1.559 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 8.995e-05/0.007699, allocations: 39.83 kB / 378.7 MB, free: 1.52 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.521e-05/0.007755, allocations: 15.94 kB / 378.7 MB, free: 1.504 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005944/0.008349, allocations: 159.4 kB / 378.9 MB, free: 1.348 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.008353, allocations: 4 kB / 378.9 MB, free: 1.344 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.008354, allocations: 0 / 378.9 MB, free: 1.344 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.092e-06/0.00836, allocations: 0 / 378.9 MB, free: 1.344 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.000771/0.009131, allocations: 475.3 kB / 379.3 MB, free: 0.8438 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/0.009174, allocations: 8.031 kB / 379.4 MB, free: 0.8359 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.771e-05/0.009241, allocations: 16.89 kB / 379.4 MB, free: 0.8203 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002802/0.009521, allocations: 160.9 kB / 379.5 MB, free: 0.6367 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.724e-05/0.009539, allocations: 4.375 kB / 379.5 MB, free: 0.6328 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.54e-05/0.009564, allocations: 4.375 kB / 379.5 MB, free: 0.6289 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001864/0.00975, allocations: 74.09 kB / 379.6 MB, free: 0.5508 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.777e-05/0.009768, allocations: 11.92 kB / 379.6 MB, free: 0.5391 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.51e-05/0.009783, allocations: 8 kB / 379.6 MB, free: 0.5312 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.117e-06/0.009787, allocations: 0 / 379.6 MB, free: 0.5312 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001378/0.009925, allocations: 35.97 kB / 379.7 MB, free: 0.4961 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005297/0.01045, allocations: 323.6 kB / 380 MB, free: 148 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003347/0.01079, allocations: 98.97 kB / 380.1 MB, free: 36 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.937e-05/0.01087, allocations: 31.67 kB / 380.1 MB, free: 0 / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.702e-05/0.01091, allocations: 4.047 kB / 380.1 MB, free: 15.99 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001861/0.01109, allocations: 80.98 kB / 380.2 MB, free: 15.9 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 1.122e-06/0.01109, allocations: 0 / 380.2 MB, free: 15.9 MB / 362.7 MB Notification: Performance of matching and sorting (n=13): time 0.0009598/0.01205, allocations: 305.6 kB / 380.5 MB, free: 15.6 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.557e-05/0.01211, allocations: 55.41 kB / 380.5 MB, free: 15.53 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002634/0.01237, allocations: 249.9 kB / 380.8 MB, free: 15.27 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.943e-05/0.0124, allocations: 29.7 kB / 380.8 MB, free: 15.23 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001168/0.01252, allocations: 155.1 kB / 381 MB, free: 15.08 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.87e-05/0.0126, allocations: 51.78 kB / 381 MB, free: 15.03 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.645e-05/0.01267, allocations: 43.3 kB / 381.1 MB, free: 14.98 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002854/0.01296, allocations: 0.5079 MB / 381.6 MB, free: 14.46 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.137e-05/0.01304, allocations: 31.98 kB / 381.6 MB, free: 14.43 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001055/0.01315, allocations: 59.36 kB / 381.7 MB, free: 14.36 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001827/0.01333, allocations: 106.5 kB / 381.8 MB, free: 14.25 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.01333, allocations: 0 / 381.8 MB, free: 14.25 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002981/0.01363, allocations: 153.5 kB / 381.9 MB, free: 14.09 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.01365, allocations: 11.98 kB / 381.9 MB, free: 14.08 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.01365, allocations: 0 / 381.9 MB, free: 14.08 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.01366, allocations: 0 / 381.9 MB, free: 14.08 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001007/0.01376, allocations: 23.98 kB / 381.9 MB, free: 14.06 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.169e-05/0.01378, allocations: 7.938 kB / 382 MB, free: 14.05 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.438e-05/0.01382, allocations: 3.938 kB / 382 MB, free: 14.05 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.472e-05/0.01384, allocations: 12.03 kB / 382 MB, free: 14.04 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 (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 0.0001516/0.01399, allocations: 168.5 kB / 382.1 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.254e-05/0.01403, allocations: 19.91 kB / 382.2 MB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003939/0.01442, allocations: 183 kB / 382.3 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.01443, allocations: 0 / 382.3 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.01443, allocations: 7.938 kB / 382.3 MB, free: 13.65 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.01444, allocations: 0 / 382.3 MB, free: 13.65 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007376/0.01517, allocations: 0.5045 MB / 382.8 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.01518, allocations: 0 / 382.8 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.864e-05/0.01525, allocations: 24.05 kB / 382.9 MB, free: 13.07 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.01526, allocations: 4 kB / 382.9 MB, free: 13.07 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.412e-05/0.01527, allocations: 4 kB / 382.9 MB, free: 13.06 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.01527, allocations: 3.938 kB / 382.9 MB, free: 13.06 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.01528, allocations: 3.938 kB / 382.9 MB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004263/0.0157, allocations: 339 kB / 383.2 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.574e-05/0.01573, allocations: 11.95 kB / 383.2 MB, free: 12.69 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.111e-05/0.01576, allocations: 7.984 kB / 383.2 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.815e-05/0.01584, allocations: 4 kB / 383.2 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.362e-05/0.01589, allocations: 15.92 kB / 383.3 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.893e-05/0.01591, allocations: 8 kB / 383.3 MB, free: 12.65 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000166/0.01608, allocations: 192.2 kB / 383.5 MB, free: 12.46 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01608, allocations: 3.938 kB / 383.5 MB, free: 12.46 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002762/0.01635, allocations: 39.89 kB / 383.5 MB, free: 12.42 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (16): * Single equations (assignments): 14 * 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.003753/0.02011, allocations: 0.5382 MB / 384 MB, free: 12.12 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000312/0.02042, allocations: 115.5 kB / 384.1 MB, free: 12 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.02042, allocations: 0 / 384.1 MB, free: 12 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001338/0.02056, allocations: 66.11 kB / 384.2 MB, free: 11.93 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000386/0.02094, allocations: 35.48 kB / 384.2 MB, free: 11.9 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006675/0.02161, allocations: 298.1 kB / 384.5 MB, free: 11.57 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000124/0.02173, allocations: 102.2 kB / 384.6 MB, free: 11.45 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.021e-05/0.02181, allocations: 29.53 kB / 384.7 MB, free: 11.42 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.147e-05/0.02187, allocations: 20.5 kB / 384.7 MB, free: 11.4 MB / 362.7 MB Notification: Performance of SimCode: time 5.21e-07/0.02188, allocations: 0 / 384.7 MB, free: 11.4 MB / 362.7 MB Notification: Performance of Templates: time 0.006977/0.02885, allocations: 2.383 MB / 387.1 MB, free: 9.051 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test76/Test76.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.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: 5.04398828803096]