Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test17.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.002579/0.002579, 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.002798/0.002798, 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.61/1.61, allocations: 177.1 MB / 204.6 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3638/0.3638, allocations: 34.26 MB / 295.3 MB, free: 0.6953 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test17") translateModel(ModelicaTest.Tables.CombiTimeTable.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test17") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 377.4 MB, free: 2.883 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.889e-05/3.069e-05, allocations: 2.312 kB / 377.4 MB, free: 2.879 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test17): time 0.005282/0.005313, allocations: 1.731 MB / 379.1 MB, free: 1.133 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002913/0.008226, allocations: 0.9937 MB / 380.1 MB, free: 136 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.488e-05/0.008321, allocations: 0 / 380.1 MB, free: 136 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003999/0.008721, allocations: 43.7 kB / 380.2 MB, free: 92 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005481/0.009269, allocations: 99.52 kB / 380.2 MB, free: 15.99 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003409/0.00961, allocations: 87.55 kB / 380.3 MB, free: 15.91 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002821/0.009892, allocations: 103.6 kB / 380.4 MB, free: 15.8 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001353/0.01003, allocations: 11.98 kB / 380.4 MB, free: 15.79 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001697/0.0102, allocations: 51.83 kB / 380.5 MB, free: 15.74 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001161/0.01031, allocations: 23.91 kB / 380.5 MB, free: 15.72 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.828e-05/0.01034, allocations: 7.938 kB / 380.5 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000169/0.01051, allocations: 47.91 kB / 380.6 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.701e-05/0.0106, allocations: 23.92 kB / 380.6 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.755e-05/0.01066, allocations: 15.94 kB / 380.6 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003886/0.01105, allocations: 115.6 kB / 380.7 MB, free: 15.51 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.01106, allocations: 4 kB / 380.7 MB, free: 15.51 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.01106, allocations: 0 / 380.7 MB, free: 15.51 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.833e-06/0.01107, allocations: 0 / 380.7 MB, free: 15.51 MB / 362.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.0009516/0.01202, allocations: 447.5 kB / 381.2 MB, free: 15.04 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.318e-05/0.01207, allocations: 8.031 kB / 381.2 MB, free: 15.03 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.045e-05/0.01215, allocations: 12.89 kB / 381.2 MB, free: 15.02 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003723/0.01252, allocations: 156.4 kB / 381.3 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.086e-05/0.01255, allocations: 4.375 kB / 381.3 MB, free: 14.83 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.732e-05/0.01257, allocations: 384 / 381.3 MB, free: 14.83 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002036/0.01278, allocations: 58.17 kB / 381.4 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.04e-05/0.0128, allocations: 7.938 kB / 381.4 MB, free: 14.76 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.826e-05/0.01282, allocations: 3.984 kB / 381.4 MB, free: 14.76 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.415e-06/0.01282, allocations: 4 kB / 381.4 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001006/0.01292, allocations: 12 kB / 381.4 MB, free: 14.74 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006193/0.01354, allocations: 291.8 kB / 381.7 MB, free: 14.42 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002755/0.01382, allocations: 63.09 kB / 381.8 MB, free: 14.35 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.179e-05/0.01391, allocations: 23.62 kB / 381.8 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.543e-05/0.01394, allocations: 4 kB / 381.8 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002256/0.01416, allocations: 73.05 kB / 381.9 MB, free: 14.23 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.553e-06/0.01416, allocations: 0 / 381.9 MB, free: 14.23 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008679/0.01503, allocations: 181.6 kB / 382.1 MB, free: 14.05 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.556e-05/0.0151, allocations: 51.41 kB / 382.1 MB, free: 13.98 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003664/0.01546, allocations: 250.5 kB / 382.3 MB, free: 13.72 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.221e-05/0.0155, allocations: 29.7 kB / 382.4 MB, free: 13.69 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001635/0.01566, allocations: 146.9 kB / 382.5 MB, free: 13.54 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.432e-05/0.01571, allocations: 27.84 kB / 382.5 MB, free: 13.51 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.74e-05/0.01579, allocations: 27.38 kB / 382.6 MB, free: 13.48 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003912/0.01618, allocations: 0.5001 MB / 383.1 MB, free: 12.96 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.84e-05/0.01627, allocations: 23.98 kB / 383.1 MB, free: 12.94 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001125/0.01638, allocations: 43.3 kB / 383.1 MB, free: 12.89 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002142/0.0166, allocations: 83.42 kB / 383.2 MB, free: 12.8 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.0166, allocations: 0 / 383.2 MB, free: 12.8 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003067/0.01691, allocations: 97.58 kB / 383.3 MB, free: 12.7 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.002e-05/0.01694, allocations: 10.03 kB / 383.3 MB, free: 12.69 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.886e-06/0.01694, allocations: 0 / 383.3 MB, free: 12.69 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.338e-05/0.01697, allocations: 0 / 383.3 MB, free: 12.69 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001487/0.01712, allocations: 19.92 kB / 383.3 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.285e-06/0.01712, allocations: 0 / 383.3 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.561e-05/0.0172, allocations: 7.953 kB / 383.4 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.665e-05/0.01722, allocations: 4 kB / 383.4 MB, free: 12.66 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.0002262/0.01744, allocations: 180.4 kB / 383.5 MB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.021e-05/0.0175, allocations: 15.94 kB / 383.5 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004013/0.0179, allocations: 115.1 kB / 383.7 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/0.01791, allocations: 0 / 383.7 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.101e-05/0.01792, allocations: 3.984 kB / 383.7 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.581e-06/0.01792, allocations: 0 / 383.7 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008534/0.01878, allocations: 416.9 kB / 384.1 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.01878, allocations: 0 / 384.1 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.996e-05/0.01884, allocations: 8 kB / 384.1 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.468e-06/0.01885, allocations: 8.031 kB / 384.1 MB, free: 11.87 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.812e-05/0.01887, allocations: 3.984 kB / 384.1 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.01887, allocations: 0 / 384.1 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.01887, allocations: 0 / 384.1 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004467/0.01932, allocations: 271.4 kB / 384.4 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.455e-05/0.01936, allocations: 11.91 kB / 384.4 MB, free: 11.56 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.656e-05/0.0194, allocations: 4 kB / 384.4 MB, free: 11.56 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001165/0.01952, allocations: 7.984 kB / 384.4 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.932e-05/0.01958, allocations: 4 kB / 384.4 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.507e-05/0.0196, allocations: 3.984 kB / 384.4 MB, free: 11.54 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002343/0.01984, allocations: 179.8 kB / 384.6 MB, free: 11.37 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.01984, allocations: 4 kB / 384.6 MB, free: 11.36 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004419/0.02028, allocations: 24 kB / 384.6 MB, free: 11.34 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.00458/0.02486, allocations: 496.2 kB / 385.1 MB, free: 11.06 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003518/0.02521, allocations: 79.58 kB / 385.2 MB, free: 10.98 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.02521, allocations: 0 / 385.2 MB, free: 10.98 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000141/0.02535, allocations: 39.83 kB / 385.2 MB, free: 10.93 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005958/0.02595, allocations: 31.2 kB / 385.2 MB, free: 10.91 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007851/0.02674, allocations: 230.2 kB / 385.4 MB, free: 10.64 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001524/0.02689, allocations: 96.3 kB / 385.5 MB, free: 10.53 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.772e-05/0.02696, allocations: 17.09 kB / 385.6 MB, free: 10.52 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.402e-05/0.02702, allocations: 16.5 kB / 385.6 MB, free: 10.5 MB / 362.7 MB Notification: Performance of SimCode: time 1.093e-06/0.02702, allocations: 0 / 385.6 MB, free: 10.5 MB / 362.7 MB Notification: Performance of Templates: time 0.00859/0.03561, allocations: 1.87 MB / 387.4 MB, free: 8.66 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test17.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test17.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test17 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test17/Test17.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test17.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.054993633064441]