Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.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.001057/0.001057, allocations: 87.56 kB / 21.19 MB, free: 3.402 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.001776/0.001776, allocations: 161 kB / 24.56 MB, free: 40 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 0.9411/0.9411, allocations: 177.1 MB / 205 MB, free: 5.637 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.2391/0.2391, allocations: 32.81 MB / 294.3 MB, free: 1.293 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.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18") translateModel(ModelicaTest.Tables.CombiTimeTable.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 376.1 MB, free: 4.586 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.477e-05/2.647e-05, allocations: 6.25 kB / 376.1 MB, free: 4.578 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test18): time 0.002412/0.002439, allocations: 1.774 MB / 377.9 MB, free: 2.789 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001225/0.003664, allocations: 1.001 MB / 378.9 MB, free: 1.781 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.468e-05/0.003739, allocations: 0 / 378.9 MB, free: 1.781 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002742/0.004013, allocations: 35.7 kB / 378.9 MB, free: 1.746 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003037/0.004316, allocations: 103.5 kB / 379 MB, free: 1.645 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002177/0.004534, allocations: 83.59 kB / 379.1 MB, free: 1.562 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001666/0.004701, allocations: 103.7 kB / 379.2 MB, free: 1.461 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.747e-05/0.004788, allocations: 11.98 kB / 379.2 MB, free: 1.449 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.62e-05/0.004874, allocations: 59.77 kB / 379.3 MB, free: 1.391 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.933e-05/0.004944, allocations: 23.92 kB / 379.3 MB, free: 1.367 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.472e-05/0.004958, allocations: 4 kB / 379.3 MB, free: 1.363 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.191e-05/0.00504, allocations: 47.91 kB / 379.3 MB, free: 1.316 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.914e-05/0.005089, allocations: 19.92 kB / 379.4 MB, free: 1.297 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.443e-05/0.005124, allocations: 15.94 kB / 379.4 MB, free: 1.281 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001656/0.00529, allocations: 103.5 kB / 379.5 MB, free: 1.18 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.005292, allocations: 0 / 379.5 MB, free: 1.18 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.005293, allocations: 0 / 379.5 MB, free: 1.18 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.767e-06/0.005297, allocations: 4 kB / 379.5 MB, free: 1.176 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.0004984/0.005795, allocations: 443.9 kB / 379.9 MB, free: 0.707 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/0.005838, allocations: 12.03 kB / 379.9 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.828e-05/0.005896, allocations: 8.891 kB / 379.9 MB, free: 0.6875 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002128/0.006109, allocations: 148.4 kB / 380.1 MB, free: 0.5156 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.6e-05/0.006135, allocations: 8.375 kB / 380.1 MB, free: 0.5078 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.93e-05/0.006154, allocations: 4.359 kB / 380.1 MB, free: 0.5039 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00014/0.006294, allocations: 66.88 kB / 380.2 MB, free: 440 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.641e-05/0.00631, allocations: 3.938 kB / 380.2 MB, free: 436 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.407e-06/0.00632, allocations: 0 / 380.2 MB, free: 436 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.157e-06/0.006329, allocations: 4 kB / 380.2 MB, free: 432 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.523e-05/0.006364, allocations: 15.97 kB / 380.2 MB, free: 416 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002827/0.006647, allocations: 279.8 kB / 380.5 MB, free: 100 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001016/0.006749, allocations: 51.11 kB / 380.5 MB, free: 36 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.014e-05/0.006779, allocations: 27.61 kB / 380.5 MB, free: 4 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.048e-05/0.006789, allocations: 0 / 380.5 MB, free: 4 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001108/0.0069, allocations: 72.97 kB / 380.6 MB, free: 15.92 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.182e-06/0.006901, allocations: 0 / 380.6 MB, free: 15.92 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003798/0.007281, allocations: 161.3 kB / 380.8 MB, free: 15.75 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.255e-05/0.007314, allocations: 51.41 kB / 380.8 MB, free: 15.69 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001214/0.007435, allocations: 226.6 kB / 381 MB, free: 15.45 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.374e-05/0.007449, allocations: 33.7 kB / 381.1 MB, free: 15.41 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.235e-05/0.007501, allocations: 150.9 kB / 381.2 MB, free: 15.26 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.791e-05/0.007529, allocations: 23.8 kB / 381.2 MB, free: 15.24 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.239e-05/0.007561, allocations: 31.36 kB / 381.3 MB, free: 15.2 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001058/0.007667, allocations: 0.4923 MB / 381.8 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.6e-05/0.007693, allocations: 15.94 kB / 381.8 MB, free: 14.68 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.452e-05/0.007728, allocations: 35.36 kB / 381.8 MB, free: 14.64 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.87e-05/0.007786, allocations: 55.67 kB / 381.9 MB, free: 14.57 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.007788, allocations: 0 / 381.9 MB, free: 14.57 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001149/0.007903, allocations: 93.52 kB / 382 MB, free: 14.48 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.191e-05/0.007914, allocations: 4 kB / 382 MB, free: 14.47 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.00792, allocations: 4 kB / 382 MB, free: 14.47 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.007932, allocations: 0 / 382 MB, free: 14.47 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.859e-05/0.008001, allocations: 19.98 kB / 382 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.008006, allocations: 0 / 382 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.029e-05/0.008036, allocations: 4 kB / 382 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.3e-06/0.008041, allocations: 4 kB / 382 MB, free: 14.44 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 7.276e-05/0.008114, allocations: 172.5 kB / 382.2 MB, free: 14.26 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.47e-05/0.008129, allocations: 11.95 kB / 382.2 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000152/0.008281, allocations: 107.2 kB / 382.3 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.008284, allocations: 4 kB / 382.3 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.008288, allocations: 0 / 382.3 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.008291, allocations: 0 / 382.3 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002865/0.008577, allocations: 392.9 kB / 382.7 MB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.008579, allocations: 0 / 382.7 MB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.991e-05/0.008609, allocations: 11.98 kB / 382.7 MB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.536e-06/0.008612, allocations: 4.031 kB / 382.7 MB, free: 13.69 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-06/0.008621, allocations: 4 kB / 382.7 MB, free: 13.69 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.008622, allocations: 0 / 382.7 MB, free: 13.69 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.008624, allocations: 0 / 382.7 MB, free: 13.69 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001389/0.008763, allocations: 259.4 kB / 382.9 MB, free: 13.41 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.229e-05/0.008775, allocations: 15.84 kB / 383 MB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.86e-05/0.008793, allocations: 7.984 kB / 383 MB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.093e-05/0.008834, allocations: 0 / 383 MB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.105e-05/0.008865, allocations: 11.98 kB / 383 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.217e-05/0.008878, allocations: 4 kB / 383 MB, free: 13.37 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.141e-05/0.008949, allocations: 167.8 kB / 383.1 MB, free: 13.21 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.008949, allocations: 4 kB / 383.1 MB, free: 13.2 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001741/0.009123, allocations: 23.94 kB / 383.2 MB, free: 13.18 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.0009095/0.01003, allocations: 444 kB / 383.6 MB, free: 12.91 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001213/0.01015, allocations: 47.61 kB / 383.6 MB, free: 12.86 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.01016, allocations: 4 kB / 383.7 MB, free: 12.85 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.783e-05/0.01019, allocations: 27.67 kB / 383.7 MB, free: 12.82 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000219/0.01041, allocations: 28.09 kB / 383.7 MB, free: 12.79 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003192/0.01073, allocations: 222.2 kB / 383.9 MB, free: 12.54 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.62e-05/0.01077, allocations: 67.34 kB / 384 MB, free: 12.45 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.589e-05/0.0108, allocations: 21.25 kB / 384 MB, free: 12.43 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.922e-05/0.01083, allocations: 16.5 kB / 384 MB, free: 12.42 MB / 362.7 MB Notification: Performance of SimCode: time 6.51e-07/0.01083, allocations: 0 / 384 MB, free: 12.42 MB / 362.7 MB Notification: Performance of Templates: time 0.003651/0.01449, allocations: 2.007 MB / 386 MB, free: 10.44 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test18/Test18.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.1024887240491807]