Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.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.001252/0.001252, allocations: 83.58 kB / 21.19 MB, free: 3.379 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.001349/0.001349, allocations: 165 kB / 24.56 MB, free: 12 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.056/1.056, allocations: 177.1 MB / 205 MB, free: 5.617 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.3086/0.3086, 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.Test75,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75") translateModel(ModelicaTest.Tables.CombiTimeTable.Test75,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.755e-06/2.755e-06, allocations: 4 kB / 376.1 MB, free: 4.582 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.874e-05/3.15e-05, allocations: 6.25 kB / 376.1 MB, free: 4.574 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test75): time 0.003554/0.003585, allocations: 1.949 MB / 378.1 MB, free: 2.613 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0058/0.009385, allocations: 1.103 MB / 379.2 MB, free: 1.504 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001285/0.009514, allocations: 4 kB / 379.2 MB, free: 1.5 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000451/0.009965, allocations: 223.2 kB / 379.4 MB, free: 1.281 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004871/0.01045, allocations: 227 kB / 379.6 MB, free: 1.059 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002895/0.01074, allocations: 111.6 kB / 379.7 MB, free: 0.9492 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003342/0.01108, allocations: 263.2 kB / 380 MB, free: 0.6914 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001156/0.01119, allocations: 21.95 kB / 380 MB, free: 0.6719 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001915/0.01138, allocations: 159.5 kB / 380.2 MB, free: 0.5156 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00326/0.01464, allocations: 143.7 kB / 380.3 MB, free: 384 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.922e-05/0.01467, allocations: 12 kB / 380.3 MB, free: 372 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001506/0.01482, allocations: 67.89 kB / 380.4 MB, free: 304 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 8.474e-05/0.01491, allocations: 63.7 kB / 380.4 MB, free: 240 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 6.703e-05/0.01497, allocations: 47.73 kB / 380.5 MB, free: 192 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002962/0.01527, allocations: 191.2 kB / 380.7 MB, free: 0 / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.01527, allocations: 0 / 380.7 MB, free: 0 / 346.7 MB Notification: Performance of FrontEnd: time 1.213e-06/0.01527, allocations: 112 / 380.7 MB, free: 16 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.47e-06/0.01528, allocations: 7.938 kB / 380.7 MB, free: 15.99 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007925/0.01607, allocations: 0.608 MB / 381.3 MB, free: 15.34 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.01611, allocations: 8.031 kB / 381.3 MB, free: 15.34 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.198e-05/0.01619, allocations: 32.75 kB / 381.3 MB, free: 15.3 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002852/0.01647, allocations: 224.6 kB / 381.5 MB, free: 15.05 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.056e-05/0.01649, allocations: 12.14 kB / 381.6 MB, free: 15.05 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.183e-05/0.01652, allocations: 8.375 kB / 381.6 MB, free: 15.04 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002034/0.01673, allocations: 114.3 kB / 381.7 MB, free: 14.91 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.533e-05/0.01674, allocations: 7.891 kB / 381.7 MB, free: 14.9 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.316e-05/0.01675, allocations: 4 kB / 381.7 MB, free: 14.9 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.356e-06/0.01676, allocations: 0 / 381.7 MB, free: 14.9 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.412e-05/0.01684, allocations: 47.88 kB / 381.7 MB, free: 14.85 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003552/0.02039, allocations: 0.5023 MB / 382.2 MB, free: 14.31 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003271/0.02072, allocations: 122.1 kB / 382.4 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.975e-05/0.02078, allocations: 39.47 kB / 382.4 MB, free: 14.12 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.96e-05/0.0208, allocations: 4 kB / 382.4 MB, free: 14.11 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001758/0.02097, allocations: 120.5 kB / 382.5 MB, free: 13.97 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 1.362e-06/0.02097, allocations: 0 / 382.5 MB, free: 13.97 MB / 362.7 MB Notification: Performance of matching and sorting (n=22): time 0.0009713/0.02194, allocations: 465 kB / 383 MB, free: 13.51 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.884e-05/0.02199, allocations: 85.05 kB / 383.1 MB, free: 13.41 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003332/0.02233, allocations: 402.3 kB / 383.4 MB, free: 13 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.445e-05/0.02235, allocations: 29.7 kB / 383.5 MB, free: 12.97 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001171/0.02247, allocations: 215.3 kB / 383.7 MB, free: 12.75 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.436e-05/0.02253, allocations: 75.41 kB / 383.8 MB, free: 12.68 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.578e-05/0.0226, allocations: 51.3 kB / 383.8 MB, free: 12.62 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0004049/0.023, allocations: 0.5196 MB / 384.3 MB, free: 12.09 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.953e-05/0.02308, allocations: 39.97 kB / 384.4 MB, free: 12.05 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.143e-05/0.02317, allocations: 78.72 kB / 384.4 MB, free: 11.95 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003217/0.02639, allocations: 118.7 kB / 384.6 MB, free: 11.82 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.02639, allocations: 4 kB / 384.6 MB, free: 11.82 MB / 362.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003283/0.02672, allocations: 209.5 kB / 384.8 MB, free: 11.61 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.02674, allocations: 4 kB / 384.8 MB, free: 11.6 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.02675, allocations: 0 / 384.8 MB, free: 11.6 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.017e-05/0.02677, allocations: 8.062 kB / 384.8 MB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001426/0.02691, allocations: 47.84 kB / 384.8 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.137e-06/0.02692, allocations: 7.938 kB / 384.8 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.019e-05/0.02699, allocations: 8 kB / 384.8 MB, free: 11.53 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.444e-05/0.027, allocations: 8 kB / 384.8 MB, free: 11.52 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001159/0.02712, allocations: 172.5 kB / 385 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.585e-05/0.02717, allocations: 43.77 kB / 385.1 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003511/0.02753, allocations: 229.1 kB / 385.3 MB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.02753, allocations: 4 kB / 385.3 MB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.02753, allocations: 7.938 kB / 385.3 MB, free: 11.06 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.02754, allocations: 0 / 385.3 MB, free: 11.06 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006321/0.02817, allocations: 0.7567 MB / 386.1 MB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.02817, allocations: 0 / 386.1 MB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.788e-05/0.02827, allocations: 28 kB / 386.1 MB, free: 10.22 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.585e-06/0.02828, allocations: 7.984 kB / 386.1 MB, free: 10.21 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.814e-05/0.0283, allocations: 8 kB / 386.1 MB, free: 10.2 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.765e-06/0.0283, allocations: 7.922 kB / 386.1 MB, free: 10.2 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/0.02831, allocations: 4.125 kB / 386.1 MB, free: 10.19 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004777/0.02879, allocations: 0.5091 MB / 386.6 MB, free: 9.645 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.567e-05/0.02883, allocations: 31.75 kB / 386.6 MB, free: 9.613 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.03e-05/0.02887, allocations: 8 kB / 386.7 MB, free: 9.605 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001525/0.02902, allocations: 12 kB / 386.7 MB, free: 9.594 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.095e-05/0.0291, allocations: 23.89 kB / 386.7 MB, free: 9.57 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.969e-05/0.02913, allocations: 12 kB / 386.7 MB, free: 9.559 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002589/0.02938, allocations: 278.9 kB / 387 MB, free: 9.285 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02938, allocations: 0 / 387 MB, free: 9.285 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004499/0.02983, allocations: 51.92 kB / 387 MB, free: 9.234 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001584/0.03142, allocations: 0.4886 MB / 387.5 MB, free: 8.93 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003197/0.03174, allocations: 130.2 kB / 387.6 MB, free: 8.801 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.03174, allocations: 128 / 387.6 MB, free: 8.801 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001327/0.03187, allocations: 83.52 kB / 387.7 MB, free: 8.715 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006313/0.0325, allocations: 57.45 kB / 387.8 MB, free: 8.66 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009245/0.03343, allocations: 0.4895 MB / 388.3 MB, free: 8.117 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001201/0.03355, allocations: 100.3 kB / 388.4 MB, free: 8 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001049/0.03365, allocations: 42.16 kB / 388.4 MB, free: 7.961 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.678e-05/0.03373, allocations: 32.48 kB / 388.4 MB, free: 7.93 MB / 362.7 MB Notification: Performance of SimCode: time 1.162e-06/0.03373, allocations: 0 / 388.4 MB, free: 7.93 MB / 362.7 MB Notification: Performance of Templates: time 0.008272/0.042, allocations: 3.356 MB / 391.8 MB, free: 4.621 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test75/Test75.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.495255316607654]