Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.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.001088/0.001088, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.002032/0.002032, allocations: 161 kB / 24.56 MB, free: 12 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 0.9979/0.9979, allocations: 177.1 MB / 205 MB, free: 5.625 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.304/0.304, allocations: 32.81 MB / 294.3 MB, free: 1.258 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.Test51,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.Test51") translateModel(ModelicaTest.Tables.CombiTimeTable.Test51,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.Test51") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 376.1 MB, free: 4.578 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.579e-05/2.734e-05, allocations: 2.312 kB / 376.1 MB, free: 4.574 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test51): time 0.002756/0.002783, allocations: 1.773 MB / 377.9 MB, free: 2.789 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00128/0.004063, allocations: 1.009 MB / 378.9 MB, free: 1.773 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.641e-05/0.004149, allocations: 0 / 378.9 MB, free: 1.773 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003241/0.004473, allocations: 47.77 kB / 378.9 MB, free: 1.727 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003041/0.004777, allocations: 111.4 kB / 379 MB, free: 1.617 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003981/0.005176, allocations: 67.69 kB / 379.1 MB, free: 1.551 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002326/0.005408, allocations: 111.6 kB / 379.2 MB, free: 1.441 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001148/0.005523, allocations: 4 kB / 379.2 MB, free: 1.438 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001127/0.005636, allocations: 59.81 kB / 379.3 MB, free: 1.379 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.677e-05/0.005723, allocations: 23.92 kB / 379.3 MB, free: 1.355 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.834e-05/0.005741, allocations: 4 kB / 379.3 MB, free: 1.352 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001153/0.005856, allocations: 47.86 kB / 379.4 MB, free: 1.305 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.616e-05/0.005922, allocations: 35.84 kB / 379.4 MB, free: 1.27 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.736e-05/0.00597, allocations: 23.92 kB / 379.4 MB, free: 1.246 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002217/0.006191, allocations: 99.66 kB / 379.5 MB, free: 1.148 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.006198, allocations: 0 / 379.5 MB, free: 1.148 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.006199, allocations: 0 / 379.5 MB, free: 1.148 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.202e-06/0.006205, allocations: 0 / 379.5 MB, free: 1.148 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005503/0.006756, allocations: 463.7 kB / 380 MB, free: 0.6602 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.666e-05/0.006812, allocations: 8.031 kB / 380 MB, free: 0.6523 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.919e-05/0.006882, allocations: 16.84 kB / 380 MB, free: 0.6367 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002572/0.007139, allocations: 161.2 kB / 380.1 MB, free: 460 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.465e-05/0.007163, allocations: 12.36 kB / 380.2 MB, free: 448 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.019e-05/0.007194, allocations: 384 / 380.2 MB, free: 448 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001842/0.007378, allocations: 62.94 kB / 380.2 MB, free: 376 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.42e-05/0.007392, allocations: 3.938 kB / 380.2 MB, free: 372 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/0.007403, allocations: 0 / 380.2 MB, free: 372 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.001e-05/0.007413, allocations: 0 / 380.2 MB, free: 372 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.944e-05/0.007463, allocations: 15.98 kB / 380.2 MB, free: 356 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004981/0.007961, allocations: 299.7 kB / 380.5 MB, free: 20 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001642/0.008125, allocations: 51.17 kB / 380.6 MB, free: 15.96 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.361e-05/0.008169, allocations: 23.62 kB / 380.6 MB, free: 15.93 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.899e-05/0.008188, allocations: 0 / 380.6 MB, free: 15.93 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001358/0.008323, allocations: 69.03 kB / 380.7 MB, free: 15.85 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.643e-06/0.008325, allocations: 0 / 380.7 MB, free: 15.85 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005599/0.008885, allocations: 161.3 kB / 380.8 MB, free: 15.68 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.95e-05/0.008924, allocations: 63.34 kB / 380.9 MB, free: 15.61 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001679/0.009092, allocations: 255.1 kB / 381.1 MB, free: 15.34 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.682e-05/0.009109, allocations: 29.7 kB / 381.2 MB, free: 15.31 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.253e-05/0.009182, allocations: 154.9 kB / 381.3 MB, free: 15.15 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.45e-05/0.009216, allocations: 27.78 kB / 381.3 MB, free: 15.12 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.58e-05/0.009262, allocations: 31.38 kB / 381.4 MB, free: 15.09 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001477/0.00941, allocations: 0.5001 MB / 381.9 MB, free: 14.57 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.043e-05/0.00944, allocations: 19.94 kB / 381.9 MB, free: 14.55 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.892e-05/0.009479, allocations: 27.36 kB / 381.9 MB, free: 14.52 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.204e-05/0.009551, allocations: 59.25 kB / 382 MB, free: 14.45 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.009552, allocations: 0 / 382 MB, free: 14.45 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001402/0.009693, allocations: 93.56 kB / 382.1 MB, free: 14.36 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.009708, allocations: 4 kB / 382.1 MB, free: 14.35 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.009714, allocations: 416 / 382.1 MB, free: 14.35 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.947e-05/0.009733, allocations: 8 kB / 382.1 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.904e-05/0.009822, allocations: 15.94 kB / 382.1 MB, free: 14.33 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.654e-06/0.00983, allocations: 4 kB / 382.1 MB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.647e-05/0.009867, allocations: 11.98 kB / 382.1 MB, free: 14.31 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.161e-06/0.009873, allocations: 0 / 382.1 MB, free: 14.31 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 8.271e-05/0.009955, allocations: 164.5 kB / 382.3 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.79e-05/0.009973, allocations: 15.91 kB / 382.3 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000174/0.01015, allocations: 111.2 kB / 382.4 MB, free: 14.01 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.01015, allocations: 0 / 382.4 MB, free: 14.01 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.01015, allocations: 4 kB / 382.4 MB, free: 14.01 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.01016, allocations: 4 kB / 382.4 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003268/0.01048, allocations: 396.9 kB / 382.8 MB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.01049, allocations: 4 kB / 382.8 MB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.178e-05/0.01052, allocations: 8 kB / 382.8 MB, free: 13.56 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.604e-06/0.01052, allocations: 0 / 382.8 MB, free: 13.56 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.438e-06/0.01053, allocations: 4 kB / 382.8 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.01053, allocations: 0 / 382.8 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.572e-06/0.01053, allocations: 0 / 382.8 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001732/0.01071, allocations: 263.4 kB / 383.1 MB, free: 13.27 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.782e-05/0.01073, allocations: 19.92 kB / 383.1 MB, free: 13.25 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.093e-05/0.01075, allocations: 4 kB / 383.1 MB, free: 13.25 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.021e-05/0.0108, allocations: 0 / 383.1 MB, free: 13.25 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.289e-05/0.01084, allocations: 15.92 kB / 383.1 MB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.741e-05/0.01086, allocations: 4 kB / 383.1 MB, free: 13.23 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.919e-05/0.01096, allocations: 187.1 kB / 383.3 MB, free: 13.05 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01096, allocations: 0 / 383.3 MB, free: 13.05 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001967/0.01115, allocations: 23.94 kB / 383.3 MB, free: 13.02 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.001037/0.01219, allocations: 439.3 kB / 383.7 MB, free: 12.75 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001396/0.01233, allocations: 63.59 kB / 383.8 MB, free: 12.69 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.01233, allocations: 0 / 383.8 MB, free: 12.69 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.128e-05/0.01237, allocations: 31.61 kB / 383.8 MB, free: 12.65 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002929/0.01266, allocations: 27.98 kB / 383.9 MB, free: 12.62 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000416/0.01308, allocations: 237.6 kB / 384.1 MB, free: 12.36 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.046e-05/0.01313, allocations: 75.27 kB / 384.2 MB, free: 12.27 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.239e-05/0.01317, allocations: 21.39 kB / 384.2 MB, free: 12.25 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.435e-05/0.01321, allocations: 16.5 kB / 384.2 MB, free: 12.23 MB / 362.7 MB Notification: Performance of SimCode: time 8.22e-07/0.01321, allocations: 0 / 384.2 MB, free: 12.23 MB / 362.7 MB Notification: Performance of Templates: time 0.004027/0.01724, allocations: 1.888 MB / 386.1 MB, free: 10.37 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test51/Test51.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.4618926872499287]