Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.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.001023/0.001023, 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.001071/0.001071, allocations: 168 kB / 24.82 MB, free: 9.262 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 0.9746/0.9746, allocations: 177.1 MB / 205.3 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] 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.2411/0.2411, allocations: 32.8 MB / 294.6 MB, free: 1.168 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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4") translateModel(ModelicaTest.Tables.CombiTimeTable.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 376.6 MB, free: 4.289 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.263e-05/2.422e-05, allocations: 2.312 kB / 376.6 MB, free: 4.285 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.003578/0.003602, allocations: 1.77 MB / 378.3 MB, free: 2.5 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002143/0.005745, allocations: 1.001 MB / 379.3 MB, free: 1.492 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001062/0.005851, allocations: 0 / 379.3 MB, free: 1.492 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003845/0.006235, allocations: 83.64 kB / 379.4 MB, free: 1.41 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004286/0.006664, allocations: 123.4 kB / 379.5 MB, free: 1.289 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002936/0.006957, allocations: 87.53 kB / 379.6 MB, free: 1.203 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002549/0.007212, allocations: 123.7 kB / 379.8 MB, free: 1.082 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001169/0.007329, allocations: 4 kB / 379.8 MB, free: 1.078 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001556/0.007485, allocations: 79.73 kB / 379.8 MB, free: 1 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001312/0.007616, allocations: 55.81 kB / 379.9 MB, free: 0.9453 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.474e-05/0.007641, allocations: 4 kB / 379.9 MB, free: 0.9414 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001255/0.007766, allocations: 55.92 kB / 380 MB, free: 0.8867 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.781e-05/0.007824, allocations: 23.92 kB / 380 MB, free: 0.8633 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.74e-05/0.007872, allocations: 27.91 kB / 380 MB, free: 0.8359 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002136/0.008085, allocations: 123.5 kB / 380.1 MB, free: 0.7148 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.008087, allocations: 0 / 380.1 MB, free: 0.7148 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.008088, allocations: 0 / 380.1 MB, free: 0.7148 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.578e-06/0.008093, allocations: 4 kB / 380.1 MB, free: 0.7109 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006703/0.008763, allocations: 463.7 kB / 380.6 MB, free: 228 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.008806, allocations: 12.03 kB / 380.6 MB, free: 216 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.648e-05/0.008852, allocations: 12.84 kB / 380.6 MB, free: 204 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001926/0.009045, allocations: 160.3 kB / 380.8 MB, free: 16 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.72e-05/0.009062, allocations: 384 / 380.8 MB, free: 16 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.101e-05/0.009083, allocations: 12.36 kB / 380.8 MB, free: 4 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001381/0.009221, allocations: 70.92 kB / 380.8 MB, free: 15.92 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.009234, allocations: 3.938 kB / 380.8 MB, free: 15.92 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.844e-06/0.009242, allocations: 0 / 380.8 MB, free: 15.92 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.009248, allocations: 0 / 380.8 MB, free: 15.92 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.762e-05/0.009286, allocations: 11.98 kB / 380.9 MB, free: 15.91 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003263/0.009612, allocations: 268.4 kB / 381.1 MB, free: 15.62 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001807/0.009793, allocations: 54.97 kB / 381.2 MB, free: 15.55 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.633e-05/0.009829, allocations: 23.8 kB / 381.2 MB, free: 15.52 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.561e-05/0.009845, allocations: 3.938 kB / 381.2 MB, free: 15.52 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001115/0.009956, allocations: 69.03 kB / 381.3 MB, free: 15.44 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 1.873e-06/0.009958, allocations: 0 / 381.3 MB, free: 15.44 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0005949/0.01055, allocations: 201.8 kB / 381.5 MB, free: 15.23 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.189e-05/0.01058, allocations: 55.41 kB / 381.5 MB, free: 15.17 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000173/0.01076, allocations: 238.7 kB / 381.8 MB, free: 14.91 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.693e-05/0.01077, allocations: 25.7 kB / 381.8 MB, free: 14.88 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.87e-05/0.01085, allocations: 166.8 kB / 381.9 MB, free: 14.71 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.14e-05/0.01089, allocations: 35.72 kB / 382 MB, free: 14.68 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.718e-05/0.01094, allocations: 31.36 kB / 382 MB, free: 14.64 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001461/0.01109, allocations: 0.5117 MB / 382.5 MB, free: 14.12 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.365e-05/0.01112, allocations: 19.92 kB / 382.5 MB, free: 14.1 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.787e-05/0.01117, allocations: 39.34 kB / 382.6 MB, free: 14.05 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.005e-05/0.01125, allocations: 47.31 kB / 382.6 MB, free: 14 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.01125, allocations: 0 / 382.6 MB, free: 14 MB / 362.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001641/0.01142, allocations: 109.6 kB / 382.7 MB, free: 13.88 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.01143, allocations: 4 kB / 382.7 MB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.01143, allocations: 0 / 382.7 MB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.01145, allocations: 4 kB / 382.7 MB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.37e-05/0.01153, allocations: 27.95 kB / 382.8 MB, free: 13.85 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.596e-06/0.01154, allocations: 0 / 382.8 MB, free: 13.85 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.496e-05/0.01158, allocations: 4 kB / 382.8 MB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.836e-06/0.01159, allocations: 7.938 kB / 382.8 MB, free: 13.84 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 (13): * Single equations (assignments): 13 * 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.998e-05/0.01168, allocations: 160.5 kB / 382.9 MB, free: 13.67 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.365e-05/0.01171, allocations: 23.91 kB / 383 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002279/0.01194, allocations: 123 kB / 383.1 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.01194, allocations: 0 / 383.1 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.793e-06/0.01195, allocations: 0 / 383.1 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.673e-06/0.01195, allocations: 4 kB / 383.1 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004331/0.01239, allocations: 413.1 kB / 383.5 MB, free: 13.07 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.01239, allocations: 0 / 383.5 MB, free: 13.07 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.746e-05/0.01245, allocations: 15.98 kB / 383.5 MB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/0.01245, allocations: 4 kB / 383.5 MB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.987e-06/0.01246, allocations: 0 / 383.5 MB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.067e-06/0.01246, allocations: 4 kB / 383.5 MB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.01247, allocations: 3.938 kB / 383.5 MB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002427/0.01271, allocations: 283 kB / 383.8 MB, free: 12.74 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.352e-05/0.01273, allocations: 15.89 kB / 383.8 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.396e-05/0.01276, allocations: 12.06 kB / 383.8 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.274e-05/0.01284, allocations: 8 kB / 383.8 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.547e-05/0.01288, allocations: 15.92 kB / 383.8 MB, free: 12.69 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.581e-05/0.01289, allocations: 4 kB / 383.8 MB, free: 12.69 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003084/0.0132, allocations: 173 kB / 384 MB, free: 12.52 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.0132, allocations: 0 / 384 MB, free: 12.52 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001803/0.01338, allocations: 31.94 kB / 384 MB, free: 12.49 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 10 * 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.0009512/0.01433, allocations: 499.7 kB / 384.5 MB, free: 12.19 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001031/0.01443, allocations: 59.53 kB / 384.6 MB, free: 12.12 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.664e-06/0.01444, allocations: 0 / 384.6 MB, free: 12.12 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.247e-05/0.01448, allocations: 39.59 kB / 384.6 MB, free: 12.08 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002377/0.01472, allocations: 31.97 kB / 384.7 MB, free: 12.05 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003077/0.01502, allocations: 268.7 kB / 384.9 MB, free: 11.75 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.874e-05/0.01506, allocations: 67.34 kB / 385 MB, free: 11.67 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.887e-05/0.0151, allocations: 24.62 kB / 385 MB, free: 11.64 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.789e-05/0.01518, allocations: 94.19 kB / 385.1 MB, free: 11.55 MB / 362.7 MB Notification: Performance of SimCode: time 6.92e-07/0.01518, allocations: 0 / 385.1 MB, free: 11.55 MB / 362.7 MB Notification: Performance of Templates: time 0.003603/0.01878, allocations: 2.323 MB / 387.4 MB, free: 9.262 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test4/Test4.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.0400023818947375]