Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.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.002446/0.002446, 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.002872/0.002872, allocations: 165.3 kB / 24.27 MB, free: 156 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.534/1.534, allocations: 177.1 MB / 204.6 MB, free: 5.621 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.3313/0.3313, allocations: 32.8 MB / 293.9 MB, free: 1.211 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.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5022,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6") translateModel(ModelicaTest.Tables.CombiTimeTable.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5022,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 375.3 MB, free: 4.914 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.559e-05/2.711e-05, allocations: 2.312 kB / 375.3 MB, free: 4.91 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test6): time 0.003278/0.003305, allocations: 1.735 MB / 377.1 MB, free: 3.16 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001942/0.005247, allocations: 0.9971 MB / 378.1 MB, free: 2.16 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.857e-05/0.005306, allocations: 0 / 378.1 MB, free: 2.16 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002951/0.005601, allocations: 55.67 kB / 378.1 MB, free: 2.105 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000312/0.005913, allocations: 103.5 kB / 378.2 MB, free: 2.004 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002085/0.006121, allocations: 87.53 kB / 378.3 MB, free: 1.918 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001941/0.006316, allocations: 95.7 kB / 378.4 MB, free: 1.824 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.627e-05/0.006392, allocations: 11.98 kB / 378.4 MB, free: 1.812 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001204/0.006512, allocations: 59.77 kB / 378.5 MB, free: 1.754 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.143e-05/0.006594, allocations: 27.91 kB / 378.5 MB, free: 1.727 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.231e-05/0.006616, allocations: 4 kB / 378.5 MB, free: 1.723 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001032/0.006719, allocations: 47.91 kB / 378.6 MB, free: 1.676 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.577e-05/0.006785, allocations: 35.86 kB / 378.6 MB, free: 1.641 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.886e-05/0.006834, allocations: 15.94 kB / 378.6 MB, free: 1.625 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002371/0.007071, allocations: 135.5 kB / 378.7 MB, free: 1.492 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.984e-06/0.007073, allocations: 0 / 378.7 MB, free: 1.492 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.106e-06/0.007076, allocations: 3.984 kB / 378.7 MB, free: 1.488 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.228e-06/0.00708, allocations: 0 / 378.7 MB, free: 1.488 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.0006655/0.007746, allocations: 491.2 kB / 379.2 MB, free: 0.9727 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.256e-05/0.007778, allocations: 8.031 kB / 379.2 MB, free: 0.9648 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.035e-05/0.007839, allocations: 16.84 kB / 379.3 MB, free: 0.9492 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002568/0.008096, allocations: 169.3 kB / 379.4 MB, free: 0.7578 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.21e-05/0.008108, allocations: 4.375 kB / 379.4 MB, free: 0.7539 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.109e-05/0.008129, allocations: 4.359 kB / 379.4 MB, free: 0.75 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001438/0.008273, allocations: 54.23 kB / 379.5 MB, free: 0.6914 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.068e-05/0.008293, allocations: 15.81 kB / 379.5 MB, free: 0.6758 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/0.008305, allocations: 4 kB / 379.5 MB, free: 0.6719 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.507e-06/0.008308, allocations: 0 / 379.5 MB, free: 0.6719 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.12e-05/0.00838, allocations: 11.94 kB / 379.5 MB, free: 0.6602 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006695/0.009049, allocations: 319.8 kB / 379.8 MB, free: 320 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001928/0.009242, allocations: 55.17 kB / 379.9 MB, free: 252 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.409e-05/0.009306, allocations: 27.61 kB / 379.9 MB, free: 220 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.313e-05/0.009319, allocations: 8 kB / 379.9 MB, free: 212 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001573/0.009476, allocations: 76.98 kB / 380 MB, free: 120 kB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.232e-06/0.009478, allocations: 0 / 380 MB, free: 120 kB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005985/0.01008, allocations: 189.4 kB / 380.2 MB, free: 15.93 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.13e-05/0.01014, allocations: 51.41 kB / 380.2 MB, free: 15.86 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003179/0.01046, allocations: 301.8 kB / 380.5 MB, free: 15.55 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.891e-05/0.01048, allocations: 33.7 kB / 380.6 MB, free: 15.51 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001319/0.01062, allocations: 178.8 kB / 380.7 MB, free: 15.33 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.736e-05/0.01065, allocations: 23.84 kB / 380.7 MB, free: 15.31 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.877e-05/0.01071, allocations: 35.36 kB / 380.8 MB, free: 15.27 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002784/0.01099, allocations: 0.5079 MB / 381.3 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.677e-05/0.01105, allocations: 20.17 kB / 381.3 MB, free: 14.73 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001012/0.01115, allocations: 43.38 kB / 381.4 MB, free: 14.68 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001369/0.01129, allocations: 71.23 kB / 381.4 MB, free: 14.6 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.01129, allocations: 0 / 381.4 MB, free: 14.6 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002172/0.0115, allocations: 109.5 kB / 381.5 MB, free: 14.48 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.01152, allocations: 10.03 kB / 381.5 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.01153, allocations: 0 / 381.5 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.01154, allocations: 0 / 381.5 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.664e-05/0.01162, allocations: 20.03 kB / 381.6 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.01163, allocations: 4 kB / 381.6 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.614e-05/0.01168, allocations: 3.984 kB / 381.6 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.347e-05/0.01169, allocations: 4 kB / 381.6 MB, free: 14.45 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.0001374/0.01183, allocations: 168.5 kB / 381.7 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.636e-05/0.01187, allocations: 19.91 kB / 381.8 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002842/0.01215, allocations: 127.2 kB / 381.9 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.01215, allocations: 0 / 381.9 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.01216, allocations: 0 / 381.9 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.267e-06/0.01216, allocations: 0 / 381.9 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005876/0.01275, allocations: 448.9 kB / 382.3 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.01275, allocations: 3.984 kB / 382.3 MB, free: 13.63 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.393e-05/0.0128, allocations: 11.94 kB / 382.3 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.0128, allocations: 0 / 382.3 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.524e-05/0.01281, allocations: 4 kB / 382.3 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.01281, allocations: 0 / 382.3 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.01281, allocations: 0 / 382.3 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003493/0.01316, allocations: 275.4 kB / 382.6 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.135e-05/0.0132, allocations: 15.89 kB / 382.6 MB, free: 13.31 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.493e-05/0.01322, allocations: 4 kB / 382.6 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.953e-05/0.01329, allocations: 32 / 382.6 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.282e-05/0.01333, allocations: 15.98 kB / 382.6 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.771e-05/0.01335, allocations: 4 kB / 382.6 MB, free: 13.29 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002104/0.01356, allocations: 216.5 kB / 382.9 MB, free: 13.07 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01356, allocations: 0 / 382.9 MB, free: 13.07 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002609/0.01382, allocations: 23.98 kB / 382.9 MB, free: 13.05 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.003367/0.01719, allocations: 498.2 kB / 383.4 MB, free: 12.77 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002069/0.0174, allocations: 71.53 kB / 383.4 MB, free: 12.69 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.0174, allocations: 4 kB / 383.4 MB, free: 12.69 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.642e-05/0.01749, allocations: 35.61 kB / 383.5 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.0003752/0.01786, allocations: 31.97 kB / 383.5 MB, free: 12.62 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005706/0.01843, allocations: 274.6 kB / 383.8 MB, free: 12.32 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001262/0.01856, allocations: 113.1 kB / 383.9 MB, free: 12.19 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.503e-05/0.01861, allocations: 17.27 kB / 383.9 MB, free: 12.17 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.154e-05/0.01866, allocations: 16.5 kB / 383.9 MB, free: 12.15 MB / 362.7 MB Notification: Performance of SimCode: time 4.61e-07/0.01866, allocations: 0 / 383.9 MB, free: 12.15 MB / 362.7 MB Notification: Performance of Templates: time 0.005628/0.02428, allocations: 1.89 MB / 385.8 MB, free: 10.29 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test6/Test6.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.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.090230413014069]