Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.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.001488/0.001488, allocations: 88.31 kB / 20.96 MB, free: 3.473 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.002387/0.002387, allocations: 161.7 kB / 24.27 MB, free: 168 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.518/1.518, 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.3347/0.3347, allocations: 32.79 MB / 293.9 MB, free: 1.207 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.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11") translateModel(ModelicaTest.Tables.CombiTimeTable.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.497e-06/3.497e-06, allocations: 0 / 375.3 MB, free: 4.91 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.04e-05/4.389e-05, allocations: 2.312 kB / 375.3 MB, free: 4.906 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.005352/0.005396, allocations: 1.907 MB / 377.2 MB, free: 2.984 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002677/0.008073, allocations: 1.009 MB / 378.3 MB, free: 1.969 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001135/0.008187, allocations: 3.938 kB / 378.3 MB, free: 1.965 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003325/0.008519, allocations: 47.58 kB / 378.3 MB, free: 1.918 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003441/0.008863, allocations: 99.47 kB / 378.4 MB, free: 1.82 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002542/0.009118, allocations: 95.58 kB / 378.5 MB, free: 1.727 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000342/0.00946, allocations: 151.5 kB / 378.6 MB, free: 1.578 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001362/0.009596, allocations: 21.8 kB / 378.7 MB, free: 1.559 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000196/0.009792, allocations: 79.75 kB / 378.7 MB, free: 1.48 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001326/0.009924, allocations: 35.83 kB / 378.8 MB, free: 1.445 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003178/0.01024, allocations: 8 kB / 378.8 MB, free: 1.438 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001657/0.01041, allocations: 51.91 kB / 378.8 MB, free: 1.387 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 9.107e-05/0.0105, allocations: 27.86 kB / 378.9 MB, free: 1.359 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 9.912e-05/0.0106, allocations: 27.91 kB / 378.9 MB, free: 1.332 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004294/0.01103, allocations: 155.5 kB / 379 MB, free: 1.18 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.87e-06/0.01103, allocations: 0 / 379 MB, free: 1.18 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.01103, allocations: 0 / 379 MB, free: 1.18 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.147e-06/0.01104, allocations: 0 / 379 MB, free: 1.18 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0009675/0.01201, allocations: 418.9 kB / 379.5 MB, free: 0.7344 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/0.01205, allocations: 8.031 kB / 379.5 MB, free: 0.7266 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001024/0.01216, allocations: 32.78 kB / 379.5 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004635/0.01262, allocations: 178.2 kB / 379.7 MB, free: 0.4922 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.587e-05/0.01265, allocations: 8.359 kB / 379.7 MB, free: 496 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.286e-05/0.01269, allocations: 8.375 kB / 379.7 MB, free: 488 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004018/0.01309, allocations: 134.5 kB / 379.8 MB, free: 332 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.852e-05/0.01311, allocations: 11.88 kB / 379.8 MB, free: 320 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.277e-05/0.01313, allocations: 4 kB / 379.8 MB, free: 316 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.01314, allocations: 0 / 379.8 MB, free: 316 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002484/0.01339, allocations: 47.97 kB / 379.9 MB, free: 268 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009438/0.01433, allocations: 460.6 kB / 380.3 MB, free: 15.77 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000504/0.01483, allocations: 82.66 kB / 380.4 MB, free: 15.68 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001735/0.01501, allocations: 36.84 kB / 380.4 MB, free: 15.64 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.771e-05/0.01504, allocations: 7.938 kB / 380.4 MB, free: 15.64 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003029/0.01534, allocations: 105.1 kB / 380.6 MB, free: 15.52 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 1.563e-06/0.01534, allocations: 0 / 380.6 MB, free: 15.52 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.0007063/0.01605, allocations: 153.5 kB / 380.7 MB, free: 15.36 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.253e-05/0.01611, allocations: 51.41 kB / 380.8 MB, free: 15.3 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003777/0.01649, allocations: 203.7 kB / 381 MB, free: 15.09 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.099e-05/0.01653, allocations: 29.7 kB / 381 MB, free: 15.05 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000152/0.01668, allocations: 120 kB / 381.1 MB, free: 14.93 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.93e-05/0.01673, allocations: 31.78 kB / 381.1 MB, free: 14.9 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001085/0.01684, allocations: 37.66 kB / 381.2 MB, free: 14.86 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002649/0.0171, allocations: 330.8 kB / 381.5 MB, free: 14.53 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001602/0.01726, allocations: 27.98 kB / 381.5 MB, free: 14.5 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002158/0.01748, allocations: 68.2 kB / 381.6 MB, free: 14.42 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003879/0.01787, allocations: 104.1 kB / 381.7 MB, free: 14.3 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.01787, allocations: 0 / 381.7 MB, free: 14.3 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005725/0.01844, allocations: 141.4 kB / 381.8 MB, free: 14.16 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.728e-05/0.01847, allocations: 9.719 kB / 381.8 MB, free: 14.15 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.01848, allocations: 0 / 381.8 MB, free: 14.15 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.178e-05/0.01851, allocations: 4 kB / 381.8 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001959/0.0187, allocations: 23.92 kB / 381.9 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.264e-05/0.01872, allocations: 4.125 kB / 381.9 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001361/0.01885, allocations: 19.92 kB / 381.9 MB, free: 14.1 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.888e-05/0.01887, allocations: 4 kB / 381.9 MB, free: 14.09 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001921/0.01906, allocations: 125.8 kB / 382 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.375e-05/0.01913, allocations: 19.91 kB / 382 MB, free: 13.94 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005341/0.01966, allocations: 135 kB / 382.2 MB, free: 13.81 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.01967, allocations: 0 / 382.2 MB, free: 13.81 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.01967, allocations: 4 kB / 382.2 MB, free: 13.8 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.01968, allocations: 0 / 382.2 MB, free: 13.8 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002893/0.01997, allocations: 153.2 kB / 382.3 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.01997, allocations: 4 kB / 382.3 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001594/0.02013, allocations: 15.94 kB / 382.3 MB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.02013, allocations: 0 / 382.3 MB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.406e-05/0.02015, allocations: 7.984 kB / 382.3 MB, free: 13.6 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.322e-06/0.02016, allocations: 4 kB / 382.3 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.02016, allocations: 0 / 382.3 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007832/0.02095, allocations: 201.4 kB / 382.5 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.141e-05/0.02099, allocations: 11.94 kB / 382.6 MB, free: 13.37 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.776e-05/0.02102, allocations: 64 / 382.6 MB, free: 13.37 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001214/0.02115, allocations: 12 kB / 382.6 MB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.707e-05/0.02121, allocations: 7.984 kB / 382.6 MB, free: 13.35 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.486e-05/0.02125, allocations: 7.984 kB / 382.6 MB, free: 13.34 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002693/0.02152, allocations: 147.2 kB / 382.7 MB, free: 13.2 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.02152, allocations: 0 / 382.7 MB, free: 13.2 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004538/0.02197, allocations: 27.94 kB / 382.8 MB, free: 13.17 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.003048/0.02502, allocations: 447.8 kB / 383.2 MB, free: 12.91 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004741/0.02549, allocations: 87.83 kB / 383.3 MB, free: 12.82 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.0255, allocations: 0 / 383.3 MB, free: 12.82 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000178/0.02567, allocations: 31.92 kB / 383.3 MB, free: 12.79 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005131/0.02619, allocations: 44.22 kB / 383.3 MB, free: 12.75 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000877/0.02706, allocations: 272.2 kB / 383.6 MB, free: 12.46 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001696/0.02723, allocations: 102.4 kB / 383.7 MB, free: 12.34 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001279/0.02736, allocations: 21.47 kB / 383.7 MB, free: 12.31 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.432e-05/0.02744, allocations: 20.5 kB / 383.8 MB, free: 12.29 MB / 362.7 MB Notification: Performance of SimCode: time 6.11e-07/0.02744, allocations: 0 / 383.8 MB, free: 12.29 MB / 362.7 MB Notification: Performance of Templates: time 0.01011/0.03755, allocations: 2.063 MB / 385.8 MB, free: 10.25 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test11/Test11.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.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: 4.867193290963769]