Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001028/0.001028, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001042/0.001042, allocations: 161 kB / 24.56 MB, free: 16 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.015/1.015, allocations: 177.1 MB / 205 MB, free: 5.59 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.3032/0.3032, allocations: 32.8 MB / 294.3 MB, free: 1.266 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.Test7,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.Test7") translateModel(ModelicaTest.Tables.CombiTimeTable.Test7,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.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.804e-06/1.804e-06, allocations: 0 / 376.1 MB, free: 4.582 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.851e-05/3.032e-05, allocations: 6.25 kB / 376.1 MB, free: 4.574 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.002547/0.002577, allocations: 1.788 MB / 377.9 MB, free: 2.773 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001314/0.003892, allocations: 1.013 MB / 378.9 MB, free: 1.754 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.62e-05/0.003978, allocations: 4 kB / 378.9 MB, free: 1.75 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003744/0.004352, allocations: 99.61 kB / 379 MB, free: 1.652 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000345/0.004697, allocations: 131.4 kB / 379.1 MB, free: 1.523 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002361/0.004934, allocations: 87.53 kB / 379.2 MB, free: 1.438 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002081/0.005142, allocations: 139.5 kB / 379.4 MB, free: 1.301 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001004/0.005242, allocations: 7.984 kB / 379.4 MB, free: 1.293 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.585e-05/0.005338, allocations: 67.88 kB / 379.4 MB, free: 1.227 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001078/0.005446, allocations: 67.78 kB / 379.5 MB, free: 1.16 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.869e-05/0.005464, allocations: 8 kB / 379.5 MB, free: 1.152 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001043/0.005569, allocations: 51.92 kB / 379.6 MB, free: 1.102 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.549e-05/0.005624, allocations: 27.92 kB / 379.6 MB, free: 1.074 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.609e-05/0.00567, allocations: 23.86 kB / 379.6 MB, free: 1.051 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002237/0.005894, allocations: 127.5 kB / 379.7 MB, free: 0.9258 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.005896, allocations: 0 / 379.7 MB, free: 0.9258 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.005897, allocations: 3.938 kB / 379.7 MB, free: 0.9219 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.42e-06/0.005903, allocations: 4 kB / 379.7 MB, free: 0.918 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.001028/0.006931, allocations: 479.6 kB / 380.2 MB, free: 424 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.006972, allocations: 8.031 kB / 380.2 MB, free: 416 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.34e-05/0.007025, allocations: 24.83 kB / 380.2 MB, free: 392 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000183/0.007208, allocations: 148.4 kB / 380.4 MB, free: 216 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.27e-05/0.007231, allocations: 12.31 kB / 380.4 MB, free: 204 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.967e-05/0.007261, allocations: 4.359 kB / 380.4 MB, free: 200 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00014/0.007401, allocations: 70.92 kB / 380.5 MB, free: 120 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.007412, allocations: 3.938 kB / 380.5 MB, free: 116 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.859e-06/0.007422, allocations: 0 / 380.5 MB, free: 116 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.057e-06/0.007431, allocations: 4 kB / 380.5 MB, free: 112 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.1e-05/0.007472, allocations: 15.98 kB / 380.5 MB, free: 96 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003838/0.007856, allocations: 307.8 kB / 380.8 MB, free: 15.75 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002022/0.008058, allocations: 62.73 kB / 380.9 MB, free: 15.68 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.301e-05/0.008091, allocations: 19.8 kB / 380.9 MB, free: 15.66 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.677e-05/0.008108, allocations: 4 kB / 380.9 MB, free: 15.66 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001059/0.008214, allocations: 65.05 kB / 380.9 MB, free: 15.58 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 1.122e-06/0.008215, allocations: 0 / 380.9 MB, free: 15.58 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0005669/0.008782, allocations: 233.7 kB / 381.2 MB, free: 15.34 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.008e-05/0.008812, allocations: 51.41 kB / 381.2 MB, free: 15.28 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000162/0.008974, allocations: 265.6 kB / 381.5 MB, free: 15 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.456e-05/0.008989, allocations: 33.7 kB / 381.5 MB, free: 14.96 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.002e-05/0.009069, allocations: 166.8 kB / 381.7 MB, free: 14.8 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.982e-05/0.009108, allocations: 31.73 kB / 381.7 MB, free: 14.77 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.51e-05/0.009154, allocations: 31.38 kB / 381.7 MB, free: 14.73 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001594/0.009313, allocations: 0.5078 MB / 382.2 MB, free: 14.21 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.651e-05/0.009359, allocations: 23.98 kB / 382.3 MB, free: 14.18 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.861e-05/0.009408, allocations: 39.36 kB / 382.3 MB, free: 14.14 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.046e-05/0.009489, allocations: 63.31 kB / 382.4 MB, free: 14.07 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.00949, allocations: 0 / 382.4 MB, free: 14.07 MB / 362.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001477/0.009638, allocations: 113.5 kB / 382.5 MB, free: 13.95 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.009655, allocations: 4 kB / 382.5 MB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.009662, allocations: 0 / 382.5 MB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.509e-05/0.009687, allocations: 4 kB / 382.5 MB, free: 13.94 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.677e-05/0.009754, allocations: 27.92 kB / 382.5 MB, free: 13.91 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.518e-06/0.009764, allocations: 0 / 382.5 MB, free: 13.91 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.235e-05/0.009796, allocations: 4 kB / 382.5 MB, free: 13.91 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.417e-05/0.00981, allocations: 12.03 kB / 382.5 MB, free: 13.9 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.0001078/0.009918, allocations: 164.5 kB / 382.7 MB, free: 13.73 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.246e-05/0.009941, allocations: 23.86 kB / 382.7 MB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00022/0.01016, allocations: 135.1 kB / 382.9 MB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.641e-06/0.01017, allocations: 4 kB / 382.9 MB, free: 13.56 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.606e-06/0.01017, allocations: 0 / 382.9 MB, free: 13.56 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.01018, allocations: 0 / 382.9 MB, free: 13.56 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004236/0.0106, allocations: 448.6 kB / 383.3 MB, free: 13.07 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.01061, allocations: 4.062 kB / 383.3 MB, free: 13.07 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.946e-05/0.01065, allocations: 15.98 kB / 383.3 MB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.71e-06/0.01065, allocations: 4 kB / 383.3 MB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.207e-05/0.01066, allocations: 0 / 383.3 MB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.603e-06/0.01067, allocations: 7.938 kB / 383.3 MB, free: 13.04 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.01067, allocations: 0 / 383.3 MB, free: 13.04 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002206/0.01089, allocations: 287.1 kB / 383.6 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.071e-05/0.01091, allocations: 15.91 kB / 383.6 MB, free: 12.72 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.362e-05/0.01094, allocations: 7.938 kB / 383.6 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.64e-05/0.01098, allocations: 7.938 kB / 383.6 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.356e-05/0.01104, allocations: 15.97 kB / 383.7 MB, free: 12.69 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.777e-05/0.01105, allocations: 11.98 kB / 383.7 MB, free: 12.68 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001119/0.01117, allocations: 188.4 kB / 383.8 MB, free: 12.49 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01117, allocations: 0 / 383.8 MB, free: 12.49 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002192/0.01139, allocations: 27.94 kB / 383.9 MB, free: 12.46 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.00132/0.01271, allocations: 485.4 kB / 384.3 MB, free: 12.17 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001828/0.01289, allocations: 75.52 kB / 384.4 MB, free: 12.09 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.01289, allocations: 0 / 384.4 MB, free: 12.09 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.58e-05/0.01295, allocations: 43.61 kB / 384.5 MB, free: 12.05 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002864/0.01323, allocations: 31.73 kB / 384.5 MB, free: 12.02 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004786/0.01371, allocations: 282.1 kB / 384.8 MB, free: 11.71 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.004e-05/0.01377, allocations: 71.52 kB / 384.8 MB, free: 11.62 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.167e-05/0.01381, allocations: 16.66 kB / 384.9 MB, free: 11.6 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.215e-05/0.01385, allocations: 24.48 kB / 384.9 MB, free: 11.58 MB / 362.7 MB Notification: Performance of SimCode: time 9.12e-07/0.01386, allocations: 4 kB / 384.9 MB, free: 11.57 MB / 362.7 MB Notification: Performance of Templates: time 0.005111/0.01897, allocations: 2.132 MB / 387 MB, free: 9.473 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test7/Test7.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.6540647107176483]