Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47.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.001108/0.001108, allocations: 77.97 kB / 21.42 MB, free: 3.074 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.00116/0.00116, allocations: 168.8 kB / 24.82 MB, free: 9.27 MB / 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.202/1.202, allocations: 177.1 MB / 205.3 MB, free: 5.516 MB / 186.7 MB " [Timeout remaining time 179] 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.3317/0.3317, allocations: 34.26 MB / 296.1 MB, free: 0.7148 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.Test47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47") translateModel(ModelicaTest.Tables.CombiTimeTable.Test47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.625e-06/2.625e-06, allocations: 0 / 378.6 MB, free: 2.324 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.817e-05/3.08e-05, allocations: 2.312 kB / 378.6 MB, free: 2.32 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test47): time 0.003121/0.003151, allocations: 1.761 MB / 380.3 MB, free: 0.5469 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001403/0.004554, allocations: 0.9975 MB / 381.3 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.887e-05/0.004643, allocations: 4 kB / 381.3 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00035/0.004993, allocations: 51.64 kB / 381.4 MB, free: 15.49 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000534/0.005527, allocations: 99.53 kB / 381.5 MB, free: 15.39 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00025/0.005777, allocations: 83.59 kB / 381.6 MB, free: 15.31 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001811/0.005958, allocations: 115.6 kB / 381.7 MB, free: 15.2 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001126/0.006071, allocations: 8 kB / 381.7 MB, free: 15.19 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001012/0.006172, allocations: 47.84 kB / 381.7 MB, free: 15.14 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.53e-05/0.006257, allocations: 35.83 kB / 381.8 MB, free: 15.11 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.821e-05/0.006275, allocations: 4 kB / 381.8 MB, free: 15.1 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.178e-05/0.006367, allocations: 43.92 kB / 381.8 MB, free: 15.06 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.607e-05/0.006423, allocations: 27.92 kB / 381.9 MB, free: 15.03 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.963e-05/0.006463, allocations: 23.86 kB / 381.9 MB, free: 15.01 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001739/0.006637, allocations: 111.6 kB / 382 MB, free: 14.9 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.006639, allocations: 0 / 382 MB, free: 14.9 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.784e-06/0.006641, allocations: 3.938 kB / 382 MB, free: 14.89 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.729e-06/0.006646, allocations: 4 kB / 382 MB, free: 14.89 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.0004856/0.007132, allocations: 475.5 kB / 382.5 MB, free: 14.39 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/0.007176, allocations: 12.03 kB / 382.5 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.613e-05/0.007222, allocations: 20.83 kB / 382.5 MB, free: 14.36 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001655/0.007388, allocations: 161.2 kB / 382.6 MB, free: 14.17 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.947e-05/0.007407, allocations: 8.375 kB / 382.7 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.638e-05/0.007424, allocations: 384 / 382.7 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001277/0.007551, allocations: 62.92 kB / 382.7 MB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.007563, allocations: 3.938 kB / 382.7 MB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.096e-06/0.007571, allocations: 4 kB / 382.7 MB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.112e-06/0.007577, allocations: 4 kB / 382.7 MB, free: 14.08 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.416e-05/0.007611, allocations: 15.92 kB / 382.7 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002824/0.007894, allocations: 260.4 kB / 383 MB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.015e-05/0.007984, allocations: 47.16 kB / 383 MB, free: 13.73 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.569e-05/0.008009, allocations: 27.67 kB / 383.1 MB, free: 13.7 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.585e-05/0.008025, allocations: 0 / 383.1 MB, free: 13.7 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.867e-05/0.008124, allocations: 68.92 kB / 383.1 MB, free: 13.61 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.252e-06/0.008125, allocations: 0 / 383.1 MB, free: 13.61 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003629/0.008488, allocations: 141.4 kB / 383.3 MB, free: 13.47 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.274e-05/0.008521, allocations: 55.41 kB / 383.3 MB, free: 13.4 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001634/0.008684, allocations: 273.5 kB / 383.6 MB, free: 13.12 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.469e-05/0.008699, allocations: 25.7 kB / 383.6 MB, free: 13.09 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.786e-05/0.008777, allocations: 166.8 kB / 383.8 MB, free: 12.92 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.289e-05/0.00881, allocations: 27.78 kB / 383.8 MB, free: 12.89 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.829e-05/0.008848, allocations: 31.3 kB / 383.8 MB, free: 12.85 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001455/0.008994, allocations: 0.504 MB / 384.3 MB, free: 12.34 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.893e-05/0.009012, allocations: 11.98 kB / 384.4 MB, free: 12.32 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.154e-05/0.009044, allocations: 27.36 kB / 384.4 MB, free: 12.29 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.019e-05/0.009094, allocations: 51.38 kB / 384.4 MB, free: 12.23 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.009096, allocations: 0 / 384.4 MB, free: 12.23 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001083/0.009204, allocations: 105.4 kB / 384.5 MB, free: 12.12 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.009217, allocations: 4 kB / 384.5 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.009222, allocations: 0 / 384.5 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.009237, allocations: 0 / 384.5 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.468e-05/0.009301, allocations: 19.98 kB / 384.6 MB, free: 12.1 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.246e-06/0.009305, allocations: 0 / 384.6 MB, free: 12.1 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.878e-05/0.009333, allocations: 0 / 384.6 MB, free: 12.1 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.392e-06/0.00934, allocations: 4 kB / 384.6 MB, free: 12.09 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.637e-05/0.009426, allocations: 164.6 kB / 384.7 MB, free: 11.92 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.269e-05/0.009449, allocations: 27.77 kB / 384.8 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001453/0.009594, allocations: 95.14 kB / 384.8 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.009598, allocations: 4 kB / 384.9 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/0.009601, allocations: 3.984 kB / 384.9 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.009604, allocations: 0 / 384.9 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006375/0.01024, allocations: 365.6 kB / 385.2 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.01024, allocations: 0 / 385.2 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.852e-05/0.01027, allocations: 15.92 kB / 385.2 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.01027, allocations: 4.031 kB / 385.2 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.057e-06/0.01028, allocations: 8.375 kB / 385.2 MB, free: 11.37 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.01028, allocations: 0 / 385.2 MB, free: 11.37 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.01028, allocations: 0 / 385.2 MB, free: 11.37 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00015/0.01043, allocations: 267.3 kB / 385.5 MB, free: 11.08 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.624e-05/0.01045, allocations: 11.91 kB / 385.5 MB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.941e-05/0.01047, allocations: 0 / 385.5 MB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.323e-05/0.01051, allocations: 7.984 kB / 385.5 MB, free: 11.06 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.829e-05/0.01054, allocations: 8 kB / 385.5 MB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.281e-05/0.01055, allocations: 7.984 kB / 385.5 MB, free: 11.05 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.133e-05/0.01064, allocations: 180.5 kB / 385.7 MB, free: 10.87 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01064, allocations: 4 kB / 385.7 MB, free: 10.87 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001844/0.01082, allocations: 27.94 kB / 385.7 MB, free: 10.84 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.001015/0.01184, allocations: 441.8 kB / 386.2 MB, free: 10.57 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001152/0.01195, allocations: 51.56 kB / 386.2 MB, free: 10.51 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.252e-06/0.01195, allocations: 0 / 386.2 MB, free: 10.51 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.499e-05/0.01199, allocations: 31.61 kB / 386.3 MB, free: 10.48 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002333/0.01222, allocations: 42.55 kB / 386.3 MB, free: 10.44 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003645/0.01259, allocations: 262.5 kB / 386.6 MB, free: 10.15 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.923e-05/0.01263, allocations: 71.33 kB / 386.6 MB, free: 10.06 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.804e-05/0.01267, allocations: 12.97 kB / 386.6 MB, free: 10.05 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.234e-05/0.01274, allocations: 90.19 kB / 386.7 MB, free: 9.957 MB / 362.7 MB Notification: Performance of SimCode: time 7.11e-07/0.01275, allocations: 0 / 386.7 MB, free: 9.957 MB / 362.7 MB Notification: Performance of Templates: time 0.003885/0.01663, allocations: 2.064 MB / 388.8 MB, free: 7.922 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test47/Test47.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.677665149793029]