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.0008437/0.0008437, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001165/0.002009, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0007263/0.0007263, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00104/0.001766, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.068/1.068, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1188/1.187, allocations: 53.65 MB / 243.3 MB, free: 15.57 MB / 250.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.2821/0.2821, allocations: 32.81 MB / 276.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03169/0.3138, allocations: 12.53 MB / 289.3 MB, free: 8.676 MB / 282.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.445e-06/2.445e-06, allocations: 0 / 290.7 MB, free: 7.578 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.157e-05/3.401e-05, allocations: 3.078 kB / 290.7 MB, free: 7.574 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test75): time 0.005331/0.005365, allocations: 1.974 MB / 292.7 MB, free: 5.988 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002593/0.007959, allocations: 1.134 MB / 293.8 MB, free: 5.086 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001785/0.008137, allocations: 3.938 kB / 293.8 MB, free: 5.082 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005125/0.00865, allocations: 219.2 kB / 294 MB, free: 4.867 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006237/0.009274, allocations: 219 kB / 294.2 MB, free: 4.652 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004399/0.009713, allocations: 119.5 kB / 294.4 MB, free: 4.535 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000511/0.01022, allocations: 263.2 kB / 294.6 MB, free: 4.277 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001472/0.01037, allocations: 18.62 kB / 294.6 MB, free: 4.262 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003872/0.01076, allocations: 212.8 kB / 294.8 MB, free: 4.051 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002613/0.01102, allocations: 135.6 kB / 295 MB, free: 3.918 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 7.47e-05/0.01109, allocations: 8 kB / 295 MB, free: 3.91 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002044/0.0113, allocations: 67.86 kB / 295.1 MB, free: 3.844 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001022/0.0114, allocations: 55.78 kB / 295.1 MB, free: 3.789 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 7.686e-05/0.01148, allocations: 39.81 kB / 295.1 MB, free: 3.75 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003552/0.01183, allocations: 191.2 kB / 295.3 MB, free: 3.562 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.006e-05/0.01186, allocations: 0 / 295.3 MB, free: 3.562 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.472e-06/0.01187, allocations: 0 / 295.3 MB, free: 3.562 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.41e-05/0.01189, allocations: 0 / 295.3 MB, free: 3.562 MB / 282.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.0009462/0.01284, allocations: 0.507 MB / 295.8 MB, free: 3.031 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.932e-05/0.01288, allocations: 12.03 kB / 295.9 MB, free: 3.02 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.736e-05/0.01296, allocations: 24.91 kB / 295.9 MB, free: 2.996 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004158/0.01338, allocations: 213.8 kB / 296.1 MB, free: 2.762 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.771e-05/0.01341, allocations: 8.375 kB / 296.1 MB, free: 2.754 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.939e-05/0.01343, allocations: 4.375 kB / 296.1 MB, free: 2.75 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002345/0.01367, allocations: 119.3 kB / 296.2 MB, free: 2.617 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.579e-05/0.01369, allocations: 3.938 kB / 296.2 MB, free: 2.613 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.289e-05/0.0137, allocations: 0 / 296.2 MB, free: 2.613 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.849e-06/0.01371, allocations: 4 kB / 296.2 MB, free: 2.609 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.479e-05/0.01379, allocations: 29.58 kB / 296.2 MB, free: 2.578 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000485/0.01428, allocations: 300.9 kB / 296.5 MB, free: 2.262 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003504/0.01463, allocations: 186.6 kB / 296.7 MB, free: 2.059 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.921e-05/0.01468, allocations: 25.66 kB / 296.8 MB, free: 2.027 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.995e-05/0.0147, allocations: 8.25 kB / 296.8 MB, free: 2.02 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002028/0.0149, allocations: 103.8 kB / 296.9 MB, free: 1.898 MB / 282.7 MB Notification: Performance of pre-optimization done (n=14): time 2.064e-06/0.0149, allocations: 0 / 296.9 MB, free: 1.898 MB / 282.7 MB Notification: Performance of matching and sorting (n=22): time 0.001039/0.01594, allocations: 332.1 kB / 297.2 MB, free: 1.566 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.19e-05/0.016, allocations: 81.11 kB / 297.3 MB, free: 1.469 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003227/0.01633, allocations: 328.6 kB / 297.6 MB, free: 1.133 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001937/0.01652, allocations: 29.7 kB / 297.6 MB, free: 1.098 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.811e-05/0.01659, allocations: 121.5 kB / 297.7 MB, free: 0.9766 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.409e-05/0.01666, allocations: 71.44 kB / 297.8 MB, free: 0.9062 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.688e-05/0.01673, allocations: 37.69 kB / 297.8 MB, free: 0.8633 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001256/0.01685, allocations: 354.7 kB / 298.2 MB, free: 0.5078 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.096e-05/0.01691, allocations: 30.81 kB / 298.2 MB, free: 488 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.009e-05/0.01698, allocations: 57.98 kB / 298.3 MB, free: 420 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001374/0.01712, allocations: 111.8 kB / 298.4 MB, free: 296 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.01712, allocations: 0 / 298.4 MB, free: 296 kB / 282.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002069/0.01733, allocations: 133.6 kB / 298.5 MB, free: 156 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.01735, allocations: 4 kB / 298.5 MB, free: 152 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.01736, allocations: 0 / 298.5 MB, free: 152 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/0.01737, allocations: 8.062 kB / 298.5 MB, free: 144 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001588/0.01753, allocations: 51.86 kB / 298.6 MB, free: 92 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.01754, allocations: 3.984 kB / 298.6 MB, free: 88 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.422e-05/0.01762, allocations: 11.94 kB / 298.6 MB, free: 76 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.446e-05/0.01764, allocations: 4 kB / 298.6 MB, free: 72 kB / 282.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.0001284/0.01777, allocations: 128.6 kB / 298.7 MB, free: 15.93 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.44e-05/0.01781, allocations: 27.97 kB / 298.7 MB, free: 15.91 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002744/0.01809, allocations: 161 kB / 298.9 MB, free: 15.74 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/0.01809, allocations: 4 kB / 298.9 MB, free: 15.74 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.776e-06/0.0181, allocations: 0 / 298.9 MB, free: 15.74 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.073e-06/0.0181, allocations: 7.984 kB / 298.9 MB, free: 15.73 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006344/0.01874, allocations: 0.5594 MB / 299.5 MB, free: 15.13 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.01874, allocations: 4 kB / 299.5 MB, free: 15.13 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001053/0.01885, allocations: 39.92 kB / 299.5 MB, free: 15.09 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.337e-05/0.01889, allocations: 35.73 kB / 299.6 MB, free: 15.05 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.43e-06/0.0189, allocations: 0 / 299.6 MB, free: 15.05 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.566e-05/0.01891, allocations: 4 kB / 299.6 MB, free: 15.05 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.15e-06/0.01892, allocations: 4 kB / 299.6 MB, free: 15.05 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.01892, allocations: 4.125 kB / 299.6 MB, free: 15.04 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003283/0.01925, allocations: 427.8 kB / 300 MB, free: 14.6 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.833e-05/0.01929, allocations: 8 kB / 300 MB, free: 14.59 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001226/0.01941, allocations: 4 kB / 300 MB, free: 14.59 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.644e-05/0.01947, allocations: 23.95 kB / 300 MB, free: 14.56 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.53e-05/0.0195, allocations: 12 kB / 300 MB, free: 14.55 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001506/0.01965, allocations: 143.4 kB / 300.2 MB, free: 14.41 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.01965, allocations: 3.938 kB / 300.2 MB, free: 14.41 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000331/0.01998, allocations: 55.89 kB / 300.2 MB, free: 14.35 MB / 298.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.001917/0.0219, allocations: 0.7088 MB / 300.9 MB, free: 14.04 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001743/0.02207, allocations: 108.6 kB / 301 MB, free: 13.93 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.726e-05/0.02209, allocations: 4 kB / 301 MB, free: 13.93 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.545e-05/0.02216, allocations: 64.83 kB / 301.1 MB, free: 13.86 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000369/0.02253, allocations: 87.02 kB / 301.2 MB, free: 13.78 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00121/0.02374, allocations: 0.5012 MB / 301.7 MB, free: 13.23 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.016e-05/0.02381, allocations: 96.3 kB / 301.8 MB, free: 13.12 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 8.311e-05/0.02389, allocations: 45.92 kB / 301.8 MB, free: 13.07 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001055/0.02399, allocations: 91.36 kB / 301.9 MB, free: 12.98 MB / 298.7 MB Notification: Performance of SimCode: time 1.322e-06/0.024, allocations: 0 / 301.9 MB, free: 12.98 MB / 298.7 MB Notification: Performance of Templates: time 0.007232/0.03123, allocations: 3.7 MB / 305.6 MB, free: 9.352 MB / 298.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 -ignoreHideResult -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.171523552387953]