Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.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.0009876/0.0009876, 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.0009439/0.0009439, 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 0.9779/0.9779, allocations: 177.1 MB / 205 MB, free: 5.613 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.268/0.268, allocations: 32.81 MB / 294.3 MB, free: 1.285 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.Test60,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60") translateModel(ModelicaTest.Tables.CombiTimeTable.Test60,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 376.1 MB, free: 4.582 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.818e-05/1.958e-05, allocations: 2.312 kB / 376.1 MB, free: 4.578 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test60): time 0.002075/0.002095, allocations: 1.77 MB / 377.9 MB, free: 2.793 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001609/0.003703, allocations: 1.73 MB / 379.6 MB, free: 1.055 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.218e-05/0.003776, allocations: 0 / 379.6 MB, free: 1.055 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002632/0.004039, allocations: 35.77 kB / 379.6 MB, free: 1.02 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003148/0.004354, allocations: 107.4 kB / 379.7 MB, free: 0.9141 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001604/0.004514, allocations: 79.59 kB / 379.8 MB, free: 0.8359 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001474/0.004661, allocations: 107.7 kB / 379.9 MB, free: 0.7305 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.974e-05/0.004741, allocations: 7.984 kB / 379.9 MB, free: 0.7227 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.627e-05/0.004817, allocations: 59.78 kB / 380 MB, free: 0.6641 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.501e-05/0.004912, allocations: 39.89 kB / 380 MB, free: 0.625 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.597e-05/0.004928, allocations: 4 kB / 380 MB, free: 0.6211 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001424/0.005071, allocations: 111.7 kB / 380.1 MB, free: 0.5117 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.917e-05/0.00512, allocations: 15.94 kB / 380.2 MB, free: 0.4961 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.825e-05/0.005158, allocations: 23.91 kB / 380.2 MB, free: 484 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002123/0.005371, allocations: 155.5 kB / 380.3 MB, free: 328 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.924e-06/0.005372, allocations: 0 / 380.3 MB, free: 328 kB / 346.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.005373, allocations: 0 / 380.3 MB, free: 328 kB / 346.7 MB Notification: Performance of Transformations before backend: time 3.647e-06/0.005377, allocations: 0 / 380.3 MB, free: 328 kB / 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.0004642/0.005841, allocations: 455.8 kB / 380.8 MB, free: 15.84 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.005877, allocations: 16.03 kB / 380.8 MB, free: 15.82 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.644e-05/0.005924, allocations: 12.89 kB / 380.8 MB, free: 15.81 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001778/0.006102, allocations: 148.9 kB / 381 MB, free: 15.64 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.719e-05/0.006119, allocations: 384 / 381 MB, free: 15.64 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.735e-05/0.006146, allocations: 12.36 kB / 381 MB, free: 15.63 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001427/0.006289, allocations: 107.4 kB / 381.1 MB, free: 15.5 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.0063, allocations: 3.953 kB / 381.1 MB, free: 15.5 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.112e-05/0.006311, allocations: 7.984 kB / 381.1 MB, free: 15.49 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.004e-06/0.006318, allocations: 0 / 381.1 MB, free: 15.49 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.298e-05/0.006351, allocations: 8 kB / 381.1 MB, free: 15.48 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003015/0.006652, allocations: 295.7 kB / 381.4 MB, free: 15.16 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000102/0.006754, allocations: 47.17 kB / 381.4 MB, free: 15.1 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.11e-05/0.006785, allocations: 23.67 kB / 381.4 MB, free: 15.07 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.528e-05/0.006801, allocations: 0 / 381.4 MB, free: 15.07 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.654e-05/0.006897, allocations: 68.98 kB / 381.5 MB, free: 14.99 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 7.82e-07/0.006898, allocations: 0 / 381.5 MB, free: 14.99 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003721/0.00727, allocations: 153.3 kB / 381.7 MB, free: 14.83 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.811e-05/0.007308, allocations: 81.09 kB / 381.7 MB, free: 14.73 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001336/0.007442, allocations: 220.8 kB / 382 MB, free: 14.5 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.31e-05/0.007455, allocations: 33.7 kB / 382 MB, free: 14.46 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002147/0.007669, allocations: 146.8 kB / 382.1 MB, free: 14.32 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.44e-05/0.007694, allocations: 27.78 kB / 382.2 MB, free: 14.29 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.268e-05/0.007727, allocations: 27.38 kB / 382.2 MB, free: 14.25 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.896e-05/0.007825, allocations: 0.4922 MB / 382.7 MB, free: 13.75 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.434e-05/0.00785, allocations: 15.98 kB / 382.7 MB, free: 13.73 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.137e-05/0.007891, allocations: 68.75 kB / 382.8 MB, free: 13.65 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.633e-05/0.007948, allocations: 51.69 kB / 382.8 MB, free: 13.59 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.22e-07/0.007948, allocations: 0 / 382.8 MB, free: 13.59 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001003/0.008049, allocations: 97.59 kB / 382.9 MB, free: 13.49 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/0.008061, allocations: 6.344 kB / 382.9 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.008065, allocations: 4 kB / 382.9 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.008079, allocations: 3.938 kB / 382.9 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.297e-05/0.008142, allocations: 16 kB / 382.9 MB, free: 13.46 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.008147, allocations: 0 / 382.9 MB, free: 13.46 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.892e-05/0.008176, allocations: 7.984 kB / 382.9 MB, free: 13.45 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.14e-06/0.008181, allocations: 4 kB / 383 MB, free: 13.45 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 6.7e-05/0.008248, allocations: 167.6 kB / 383.1 MB, free: 13.28 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.628e-05/0.008264, allocations: 11.98 kB / 383.1 MB, free: 13.27 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001414/0.008406, allocations: 110.5 kB / 383.2 MB, free: 13.15 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.008408, allocations: 4 kB / 383.2 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.008411, allocations: 0 / 383.2 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.008414, allocations: 0 / 383.2 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002623/0.008677, allocations: 388.9 kB / 383.6 MB, free: 12.72 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.008678, allocations: 0 / 383.6 MB, free: 12.72 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.548e-05/0.008703, allocations: 15.98 kB / 383.6 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.008705, allocations: 0 / 383.6 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.963e-06/0.008712, allocations: 0 / 383.6 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.008714, allocations: 7.969 kB / 383.6 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.008715, allocations: 4 kB / 383.6 MB, free: 12.69 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001362/0.008851, allocations: 255.4 kB / 383.9 MB, free: 12.42 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.151e-05/0.008863, allocations: 11.95 kB / 383.9 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.689e-05/0.00888, allocations: 3.984 kB / 383.9 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.002e-05/0.00892, allocations: 4 kB / 383.9 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.104e-05/0.008951, allocations: 15.92 kB / 383.9 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.979e-06/0.008961, allocations: 0 / 383.9 MB, free: 12.38 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.612e-05/0.009037, allocations: 165.6 kB / 384.1 MB, free: 12.22 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009037, allocations: 3.938 kB / 384.1 MB, free: 12.22 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000201/0.009238, allocations: 43.86 kB / 384.1 MB, free: 12.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.001094/0.01033, allocations: 0.5421 MB / 384.7 MB, free: 11.83 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001196/0.01045, allocations: 47.61 kB / 384.7 MB, free: 11.78 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.352e-06/0.01045, allocations: 4 kB / 384.7 MB, free: 11.78 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.081e-05/0.01049, allocations: 35.61 kB / 384.8 MB, free: 11.74 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002181/0.01071, allocations: 39.08 kB / 384.8 MB, free: 11.7 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003199/0.01103, allocations: 205.9 kB / 385 MB, free: 11.47 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.903e-05/0.01107, allocations: 67.45 kB / 385.1 MB, free: 11.38 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.077e-05/0.01111, allocations: 25.27 kB / 385.1 MB, free: 11.36 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.699e-05/0.01115, allocations: 24.48 kB / 385.1 MB, free: 11.33 MB / 362.7 MB Notification: Performance of SimCode: time 4.11e-07/0.01115, allocations: 0 / 385.1 MB, free: 11.33 MB / 362.7 MB Notification: Performance of Templates: time 0.00389/0.01504, allocations: 2.528 MB / 387.6 MB, free: 8.832 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test60/Test60.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.2534947781823575]