Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.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.001945/0.001945, allocations: 92.31 kB / 20.96 MB, free: 3.469 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.002308/0.002308, 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.635/1.635, 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.3324/0.3324, allocations: 32.8 MB / 293.9 MB, free: 1.203 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.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23") translateModel(ModelicaTest.Tables.CombiTimeTable.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 375.3 MB, free: 4.891 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.066e-05/3.21e-05, allocations: 6.25 kB / 375.3 MB, free: 4.883 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test23): time 0.003435/0.003467, allocations: 1.723 MB / 377.1 MB, free: 3.148 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002052/0.005519, allocations: 0.9742 MB / 378 MB, free: 2.168 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.768e-05/0.005587, allocations: 4 kB / 378 MB, free: 2.164 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002882/0.005875, allocations: 43.7 kB / 378.1 MB, free: 2.121 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003278/0.006203, allocations: 99.47 kB / 378.2 MB, free: 2.023 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000208/0.006411, allocations: 75.66 kB / 378.3 MB, free: 1.949 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001992/0.00661, allocations: 115.6 kB / 378.4 MB, free: 1.836 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.29e-05/0.006693, allocations: 7.984 kB / 378.4 MB, free: 1.828 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001139/0.006807, allocations: 51.84 kB / 378.4 MB, free: 1.777 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.991e-05/0.006887, allocations: 23.91 kB / 378.5 MB, free: 1.754 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.157e-05/0.006909, allocations: 4 kB / 378.5 MB, free: 1.75 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001138/0.007022, allocations: 43.92 kB / 378.5 MB, free: 1.707 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.782e-05/0.00708, allocations: 23.86 kB / 378.5 MB, free: 1.684 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.791e-05/0.007138, allocations: 31.84 kB / 378.6 MB, free: 1.652 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002278/0.007366, allocations: 111.6 kB / 378.7 MB, free: 1.543 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.007369, allocations: 0 / 378.7 MB, free: 1.543 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.001e-06/0.00737, allocations: 4 kB / 378.7 MB, free: 1.539 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.069e-06/0.007375, allocations: 4 kB / 378.7 MB, free: 1.535 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.0006317/0.008007, allocations: 341.6 kB / 379 MB, free: 1.172 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/0.00805, allocations: 12.03 kB / 379 MB, free: 1.16 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.461e-05/0.008125, allocations: 20.83 kB / 379 MB, free: 1.141 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003154/0.00844, allocations: 165.9 kB / 379.2 MB, free: 0.9531 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.47e-05/0.008455, allocations: 384 / 379.2 MB, free: 0.9531 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.218e-05/0.008487, allocations: 8.375 kB / 379.2 MB, free: 0.9453 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001683/0.008656, allocations: 50.23 kB / 379.3 MB, free: 0.8906 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.28e-05/0.008668, allocations: 3.938 kB / 379.3 MB, free: 0.8867 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.43e-05/0.008683, allocations: 8 kB / 379.3 MB, free: 0.8789 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.00869, allocations: 4 kB / 379.3 MB, free: 0.875 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.424e-05/0.008774, allocations: 15.98 kB / 379.3 MB, free: 0.8594 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004039/0.009178, allocations: 232.6 kB / 379.5 MB, free: 0.6016 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001892/0.009367, allocations: 54.61 kB / 379.6 MB, free: 0.5391 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.3e-05/0.00945, allocations: 24.78 kB / 379.6 MB, free: 0.5117 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.478e-05/0.009465, allocations: 4 kB / 379.6 MB, free: 0.5078 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001645/0.009629, allocations: 67.39 kB / 379.7 MB, free: 440 kB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.272e-06/0.009631, allocations: 4 kB / 379.7 MB, free: 436 kB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.000633/0.01026, allocations: 185.3 kB / 379.8 MB, free: 244 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.781e-05/0.01031, allocations: 51.41 kB / 379.9 MB, free: 180 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00051/0.01082, allocations: 219 kB / 380.1 MB, free: 15.95 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.358e-05/0.01086, allocations: 29.64 kB / 380.1 MB, free: 15.91 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.823e-05/0.01094, allocations: 108 kB / 380.2 MB, free: 15.8 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.624e-05/0.01098, allocations: 23.81 kB / 380.3 MB, free: 15.78 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.264e-05/0.01103, allocations: 25.7 kB / 380.3 MB, free: 15.75 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001823/0.01121, allocations: 326.8 kB / 380.6 MB, free: 15.42 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.372e-05/0.01128, allocations: 16 kB / 380.6 MB, free: 15.41 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.619e-05/0.01136, allocations: 49.69 kB / 380.7 MB, free: 15.35 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001344/0.0115, allocations: 57.56 kB / 380.7 MB, free: 15.29 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/0.0115, allocations: 0 / 380.7 MB, free: 15.29 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002263/0.01173, allocations: 109.6 kB / 380.8 MB, free: 15.18 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.01174, allocations: 4 kB / 380.8 MB, free: 15.18 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.01175, allocations: 0 / 380.8 MB, free: 15.18 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.731e-05/0.01177, allocations: 4 kB / 380.9 MB, free: 15.17 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001033/0.01188, allocations: 20.3 kB / 380.9 MB, free: 15.15 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.698e-06/0.01188, allocations: 32 / 380.9 MB, free: 15.15 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.897e-05/0.01194, allocations: 16 kB / 380.9 MB, free: 15.14 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.154e-06/0.01195, allocations: 0 / 380.9 MB, free: 15.14 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.0001298/0.01208, allocations: 137.7 kB / 381 MB, free: 14.99 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.368e-05/0.01211, allocations: 19.84 kB / 381 MB, free: 14.97 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000288/0.0124, allocations: 123.2 kB / 381.2 MB, free: 14.85 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5e-06/0.0124, allocations: 4 kB / 381.2 MB, free: 14.84 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.01241, allocations: 0 / 381.2 MB, free: 14.84 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.085e-06/0.01241, allocations: 0 / 381.2 MB, free: 14.84 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005466/0.01296, allocations: 358.9 kB / 381.5 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/0.01296, allocations: 3.984 kB / 381.5 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.494e-05/0.01301, allocations: 11.98 kB / 381.5 MB, free: 14.44 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.01301, allocations: 0 / 381.5 MB, free: 14.44 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.411e-05/0.01302, allocations: 8 kB / 381.5 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.01302, allocations: 0 / 381.5 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.01303, allocations: 0 / 381.5 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000303/0.01333, allocations: 212.2 kB / 381.7 MB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.728e-05/0.01336, allocations: 15.89 kB / 381.8 MB, free: 14.19 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.796e-05/0.01338, allocations: 8 kB / 381.8 MB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.366e-05/0.01346, allocations: 32 / 381.8 MB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.376e-05/0.0135, allocations: 15.92 kB / 381.8 MB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.625e-05/0.01352, allocations: 4 kB / 381.8 MB, free: 14.16 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001857/0.0137, allocations: 163.2 kB / 381.9 MB, free: 14 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.0137, allocations: 0 / 381.9 MB, free: 14 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002795/0.01398, allocations: 27.98 kB / 382 MB, free: 13.97 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.002194/0.01618, allocations: 491.2 kB / 382.5 MB, free: 13.7 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00021/0.01639, allocations: 63.91 kB / 382.5 MB, free: 13.64 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.01639, allocations: 0 / 382.5 MB, free: 13.64 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.228e-05/0.01647, allocations: 27.98 kB / 382.5 MB, free: 13.61 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003998/0.01687, allocations: 35.84 kB / 382.6 MB, free: 13.57 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005414/0.01741, allocations: 249.4 kB / 382.8 MB, free: 13.3 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001126/0.01752, allocations: 96.92 kB / 382.9 MB, free: 13.19 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.37e-05/0.01759, allocations: 17.28 kB / 382.9 MB, free: 13.17 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.757e-05/0.01764, allocations: 20.48 kB / 383 MB, free: 13.15 MB / 362.7 MB Notification: Performance of SimCode: time 5.11e-07/0.01764, allocations: 0 / 383 MB, free: 13.15 MB / 362.7 MB Notification: Performance of Templates: time 0.005378/0.02301, allocations: 1.878 MB / 384.8 MB, free: 11.3 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test23/Test23.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.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.904943031957373]