Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.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.001214/0.001214, allocations: 95.2 kB / 20.43 MB, free: 4.145 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.001519/0.001519, allocations: 165 kB / 23.79 MB, free: 0.7812 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9909/0.9909, allocations: 158.6 MB / 185.7 MB, free: 2.91 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1469/0.1469, allocations: 32.38 MB / 270.4 MB, free: 14.71 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40") translateModel(ModelicaTest.Tables.CombiTimeTable.Test40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 347.7 MB, free: 9.375 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.195e-05/3.37e-05, allocations: 12.22 kB / 347.7 MB, free: 9.363 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test40): time 0.003634/0.003668, allocations: 1.726 MB / 349.5 MB, free: 7.625 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001341/0.005009, allocations: 0.7999 MB / 350.3 MB, free: 6.816 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.841e-05/0.005107, allocations: 3.938 kB / 350.3 MB, free: 6.812 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004483/0.005555, allocations: 83.62 kB / 350.4 MB, free: 6.73 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002949/0.00585, allocations: 79.66 kB / 350.4 MB, free: 6.652 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004453/0.006296, allocations: 91.7 kB / 350.5 MB, free: 6.562 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001732/0.006469, allocations: 111.6 kB / 350.6 MB, free: 6.453 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.056e-05/0.006559, allocations: 8.234 kB / 350.6 MB, free: 6.445 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.575e-05/0.006635, allocations: 55.83 kB / 350.7 MB, free: 6.391 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.602e-05/0.006721, allocations: 55.86 kB / 350.8 MB, free: 6.336 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.667e-05/0.006738, allocations: 4 kB / 350.8 MB, free: 6.332 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.684e-05/0.006825, allocations: 47.91 kB / 350.8 MB, free: 6.285 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.584e-05/0.00687, allocations: 23.92 kB / 350.8 MB, free: 6.262 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.388e-05/0.006914, allocations: 19.88 kB / 350.8 MB, free: 6.242 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001717/0.007086, allocations: 99.59 kB / 350.9 MB, free: 6.145 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.007091, allocations: 8 kB / 351 MB, free: 6.137 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.007092, allocations: 0 / 351 MB, free: 6.137 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.53e-06/0.007098, allocations: 0 / 351 MB, free: 6.137 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003552/0.007453, allocations: 451.8 kB / 351.4 MB, free: 5.66 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.532e-05/0.007488, allocations: 8.031 kB / 351.4 MB, free: 5.652 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.993e-05/0.007528, allocations: 12.89 kB / 351.4 MB, free: 5.641 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001457/0.007674, allocations: 152.4 kB / 351.6 MB, free: 5.465 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.609e-05/0.00769, allocations: 4.375 kB / 351.6 MB, free: 5.461 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.049e-05/0.007711, allocations: 8.312 kB / 351.6 MB, free: 5.453 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001172/0.007828, allocations: 66.88 kB / 351.6 MB, free: 5.379 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.007837, allocations: 7.938 kB / 351.6 MB, free: 5.371 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.586e-06/0.007846, allocations: 3.984 kB / 351.7 MB, free: 5.367 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.184e-06/0.007853, allocations: 0 / 351.7 MB, free: 5.367 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.117e-05/0.007884, allocations: 8 kB / 351.7 MB, free: 5.359 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000234/0.008118, allocations: 283.8 kB / 351.9 MB, free: 5.047 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.156e-05/0.00821, allocations: 55.11 kB / 352 MB, free: 4.98 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.727e-05/0.008237, allocations: 23.61 kB / 352 MB, free: 4.953 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.224e-05/0.008249, allocations: 0 / 352 MB, free: 4.953 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.605e-05/0.008325, allocations: 65.05 kB / 352.1 MB, free: 4.875 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 9.42e-07/0.008326, allocations: 8 kB / 352.1 MB, free: 4.867 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003471/0.008673, allocations: 153.7 kB / 352.2 MB, free: 4.711 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.211e-05/0.008695, allocations: 59.41 kB / 352.3 MB, free: 4.641 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001096/0.008805, allocations: 242.6 kB / 352.5 MB, free: 4.387 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.293e-06/0.008812, allocations: 25.7 kB / 352.6 MB, free: 4.355 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.35e-05/0.008846, allocations: 154.9 kB / 352.7 MB, free: 4.199 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.019e-05/0.008866, allocations: 27.84 kB / 352.7 MB, free: 4.172 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.839e-05/0.008894, allocations: 27.38 kB / 352.8 MB, free: 4.137 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.733e-05/0.008942, allocations: 0.4962 MB / 353.3 MB, free: 3.629 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.218e-05/0.008964, allocations: 19.92 kB / 353.3 MB, free: 3.609 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.811e-05/0.008992, allocations: 35.36 kB / 353.3 MB, free: 3.566 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.814e-05/0.00904, allocations: 55.38 kB / 353.4 MB, free: 3.504 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.133e-06/0.009041, allocations: 0 / 353.4 MB, free: 3.504 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001005/0.009142, allocations: 89.53 kB / 353.5 MB, free: 3.41 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/0.009155, allocations: 4 kB / 353.5 MB, free: 3.406 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.00916, allocations: 4 kB / 353.5 MB, free: 3.402 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.009176, allocations: 0 / 353.5 MB, free: 3.402 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.502e-05/0.009241, allocations: 15.98 kB / 353.5 MB, free: 3.387 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.03e-06/0.009246, allocations: 32 / 353.5 MB, free: 3.387 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.502e-05/0.009271, allocations: 8 kB / 353.5 MB, free: 3.379 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.312e-06/0.009277, allocations: 11.94 kB / 353.5 MB, free: 3.367 MB / 282.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 4.936e-05/0.009327, allocations: 164.5 kB / 353.7 MB, free: 3.195 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.411e-05/0.009341, allocations: 19.91 kB / 353.7 MB, free: 3.176 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001234/0.009464, allocations: 111.2 kB / 353.8 MB, free: 3.059 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.009466, allocations: 0 / 353.8 MB, free: 3.059 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.009469, allocations: 3.938 kB / 353.8 MB, free: 3.055 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.009473, allocations: 4 kB / 353.8 MB, free: 3.051 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002095/0.009683, allocations: 392.9 kB / 354.2 MB, free: 2.621 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.009684, allocations: 4.031 kB / 354.2 MB, free: 2.617 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.692e-05/0.009711, allocations: 8 kB / 354.2 MB, free: 2.609 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.009715, allocations: 4 kB / 354.2 MB, free: 2.605 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.416e-06/0.009723, allocations: 7.984 kB / 354.2 MB, free: 2.598 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.009725, allocations: 0 / 354.2 MB, free: 2.598 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.009726, allocations: 0 / 354.2 MB, free: 2.598 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001024/0.009828, allocations: 259.4 kB / 354.5 MB, free: 2.32 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.077e-05/0.009839, allocations: 11.91 kB / 354.5 MB, free: 2.309 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.528e-05/0.009854, allocations: 4 kB / 354.5 MB, free: 2.305 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.725e-05/0.009891, allocations: 4 kB / 354.5 MB, free: 2.301 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.849e-05/0.00992, allocations: 11.98 kB / 354.5 MB, free: 2.289 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.051e-05/0.00993, allocations: 4 kB / 354.5 MB, free: 2.285 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.512e-05/0.009986, allocations: 183.1 kB / 354.7 MB, free: 2.105 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009986, allocations: 0 / 354.7 MB, free: 2.105 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001649/0.01015, allocations: 24 kB / 354.7 MB, free: 2.082 MB / 282.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.000859/0.01101, allocations: 439.6 kB / 355.1 MB, free: 1.75 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001121/0.01112, allocations: 59.52 kB / 355.2 MB, free: 1.688 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.01112, allocations: 4 kB / 355.2 MB, free: 1.684 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.489e-05/0.01116, allocations: 31.73 kB / 355.2 MB, free: 1.648 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002169/0.01138, allocations: 32.2 kB / 355.2 MB, free: 1.617 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003013/0.01168, allocations: 229 kB / 355.5 MB, free: 1.363 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.697e-05/0.0117, allocations: 67.34 kB / 355.5 MB, free: 1.277 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.02e-05/0.01173, allocations: 16.47 kB / 355.5 MB, free: 1.262 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.834e-05/0.01176, allocations: 16.5 kB / 355.6 MB, free: 1.246 MB / 282.7 MB Notification: Performance of SimCode: time 4.11e-07/0.01176, allocations: 4.062 kB / 355.6 MB, free: 1.242 MB / 282.7 MB Notification: Performance of Templates: time 0.003357/0.01512, allocations: 1.843 MB / 357.4 MB, free: 15.42 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test40/Test40.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.391645680181682]