Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7.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.00196/0.00196, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.002468/0.002468, allocations: 161.7 kB / 24.26 MB, free: 176 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.519/1.519, 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.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.3479/0.3479, allocations: 34.26 MB / 295.3 MB, free: 0.6992 MB / 266.7 MB " [Timeout remaining time 180] 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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7") translateModel(ModelicaTest.Tables.CombiTimeTable.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 377.4 MB, free: 2.883 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.636e-05/2.79e-05, allocations: 2.312 kB / 377.4 MB, free: 2.879 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.003261/0.003289, allocations: 1.727 MB / 379.1 MB, free: 1.137 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002118/0.005407, allocations: 0.9819 MB / 380.1 MB, free: 152 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.814e-05/0.005475, allocations: 3.938 kB / 380.1 MB, free: 148 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003569/0.005832, allocations: 107.6 kB / 380.2 MB, free: 40 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003866/0.006218, allocations: 131.5 kB / 380.3 MB, free: 15.91 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002204/0.006439, allocations: 83.59 kB / 380.4 MB, free: 15.83 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002087/0.006647, allocations: 123.6 kB / 380.5 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.262e-05/0.00674, allocations: 15.91 kB / 380.5 MB, free: 15.69 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001345/0.006874, allocations: 67.77 kB / 380.6 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000121/0.006995, allocations: 67.84 kB / 380.7 MB, free: 15.56 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.938e-05/0.007015, allocations: 4 kB / 380.7 MB, free: 15.55 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001284/0.007143, allocations: 63.91 kB / 380.7 MB, free: 15.49 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.752e-05/0.007201, allocations: 27.86 kB / 380.8 MB, free: 15.46 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.912e-05/0.00726, allocations: 27.92 kB / 380.8 MB, free: 15.44 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002553/0.007515, allocations: 143.5 kB / 380.9 MB, free: 15.3 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.007518, allocations: 0 / 380.9 MB, free: 15.3 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.007519, allocations: 0 / 380.9 MB, free: 15.3 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.969e-06/0.007524, allocations: 0 / 380.9 MB, free: 15.3 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006159/0.00814, allocations: 377.3 kB / 381.3 MB, free: 14.9 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/0.008178, allocations: 8.031 kB / 381.3 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.487e-05/0.008243, allocations: 20.84 kB / 381.3 MB, free: 14.87 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002546/0.008498, allocations: 153.5 kB / 381.5 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.588e-05/0.008513, allocations: 4.375 kB / 381.5 MB, free: 14.69 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.588e-05/0.008539, allocations: 8.375 kB / 381.5 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000176/0.008715, allocations: 74.08 kB / 381.6 MB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/0.008728, allocations: 3.938 kB / 381.6 MB, free: 14.6 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.008738, allocations: 0 / 381.6 MB, free: 14.6 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.561e-05/0.008754, allocations: 4 kB / 381.6 MB, free: 14.6 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.703e-05/0.008841, allocations: 23.98 kB / 381.6 MB, free: 14.57 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004061/0.009247, allocations: 248.5 kB / 381.8 MB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002577/0.009505, allocations: 66.42 kB / 381.9 MB, free: 14.23 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.066e-05/0.009586, allocations: 28.97 kB / 381.9 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.929e-05/0.009605, allocations: 0 / 381.9 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001815/0.009786, allocations: 71.38 kB / 382 MB, free: 14.11 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 1.232e-06/0.009788, allocations: 0 / 382 MB, free: 14.11 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0008442/0.01063, allocations: 249.2 kB / 382.2 MB, free: 13.86 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.75e-05/0.01069, allocations: 55.41 kB / 382.3 MB, free: 13.8 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003014/0.01099, allocations: 258.5 kB / 382.6 MB, free: 13.53 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.61e-05/0.01102, allocations: 25.7 kB / 382.6 MB, free: 13.5 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.465e-05/0.01111, allocations: 116.1 kB / 382.7 MB, free: 13.38 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.716e-05/0.01116, allocations: 39.73 kB / 382.7 MB, free: 13.34 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.789e-05/0.01122, allocations: 29.7 kB / 382.8 MB, free: 13.31 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001974/0.01141, allocations: 330.8 kB / 383.1 MB, free: 12.98 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.81e-05/0.01149, allocations: 27.98 kB / 383.1 MB, free: 12.95 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.843e-05/0.01159, allocations: 49.45 kB / 383.2 MB, free: 12.9 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001818/0.01177, allocations: 85.64 kB / 383.2 MB, free: 12.81 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.01177, allocations: 0 / 383.2 MB, free: 12.81 MB / 362.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000271/0.01204, allocations: 137.5 kB / 383.4 MB, free: 12.67 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.01206, allocations: 12.03 kB / 383.4 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.01206, allocations: 0 / 383.4 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.848e-05/0.01208, allocations: 0 / 383.4 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.01e-05/0.01217, allocations: 23.92 kB / 383.4 MB, free: 12.63 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.01218, allocations: 4 kB / 383.4 MB, free: 12.63 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.021e-05/0.01223, allocations: 0 / 383.4 MB, free: 12.63 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.568e-05/0.01224, allocations: 8 kB / 383.4 MB, free: 12.62 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 0.0001485/0.01239, allocations: 145.2 kB / 383.6 MB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.741e-05/0.01243, allocations: 19.86 kB / 383.6 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003529/0.01278, allocations: 163.1 kB / 383.7 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.01279, allocations: 4 kB / 383.7 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.01279, allocations: 0 / 383.7 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.709e-06/0.0128, allocations: 7.984 kB / 383.8 MB, free: 12.28 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005975/0.0134, allocations: 395.8 kB / 384.1 MB, free: 11.85 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.0134, allocations: 0 / 384.1 MB, free: 11.85 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.14e-05/0.01346, allocations: 23.92 kB / 384.2 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.01346, allocations: 0 / 384.2 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.202e-05/0.01347, allocations: 4 kB / 384.2 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.01348, allocations: 0 / 384.2 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.01348, allocations: 8 kB / 384.2 MB, free: 11.81 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003598/0.01384, allocations: 253 kB / 384.4 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.594e-05/0.01387, allocations: 15.91 kB / 384.4 MB, free: 11.53 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.892e-05/0.01389, allocations: 8 kB / 384.4 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.345e-05/0.01398, allocations: 7.984 kB / 384.5 MB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.558e-05/0.01402, allocations: 11.92 kB / 384.5 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.023e-05/0.01404, allocations: 8 kB / 384.5 MB, free: 11.49 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002026/0.01425, allocations: 187.2 kB / 384.7 MB, free: 11.31 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01425, allocations: 0 / 384.7 MB, free: 11.31 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002975/0.01454, allocations: 31.92 kB / 384.7 MB, free: 11.28 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.002481/0.01702, allocations: 0.5501 MB / 385.2 MB, free: 10.96 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002344/0.01726, allocations: 75.91 kB / 385.3 MB, free: 10.89 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.01726, allocations: 0 / 385.3 MB, free: 10.89 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.648e-05/0.01736, allocations: 39.92 kB / 385.4 MB, free: 10.85 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003998/0.01776, allocations: 39.19 kB / 385.4 MB, free: 10.81 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006191/0.01838, allocations: 311 kB / 385.7 MB, free: 10.48 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001443/0.01852, allocations: 113.1 kB / 385.8 MB, free: 10.35 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.491e-05/0.01859, allocations: 20.62 kB / 385.8 MB, free: 10.32 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.386e-05/0.01864, allocations: 20.48 kB / 385.8 MB, free: 10.3 MB / 362.7 MB Notification: Performance of SimCode: time 4.41e-07/0.01864, allocations: 0 / 385.8 MB, free: 10.3 MB / 362.7 MB Notification: Performance of Templates: time 0.006117/0.02476, allocations: 2.11 MB / 388 MB, free: 8.223 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test7/Test7.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7.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.807431163964793]