Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.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.001774/0.001774, allocations: 75.59 kB / 21.18 MB, free: 3.391 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.001799/0.001799, allocations: 161.4 kB / 24.56 MB, free: 20 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.012/1.012, allocations: 177.1 MB / 205 MB, free: 5.281 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.3203/0.3203, allocations: 32.8 MB / 294.3 MB, free: 1.238 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.CombiTable1Ds.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0 / 376 MB, free: 4.66 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.515e-05/3.695e-05, allocations: 10.25 kB / 376 MB, free: 4.648 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test31): time 0.003531/0.003568, allocations: 1.665 MB / 377.7 MB, free: 2.969 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001145/0.004714, allocations: 0.5337 MB / 378.2 MB, free: 2.43 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.946e-05/0.004803, allocations: 0 / 378.2 MB, free: 2.43 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004027/0.005206, allocations: 123.6 kB / 378.4 MB, free: 2.309 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004088/0.005615, allocations: 131.5 kB / 378.5 MB, free: 2.18 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000348/0.005963, allocations: 95.62 kB / 378.6 MB, free: 2.086 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000243/0.006206, allocations: 103.7 kB / 378.7 MB, free: 1.984 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001136/0.006319, allocations: 8 kB / 378.7 MB, free: 1.977 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001046/0.006424, allocations: 55.86 kB / 378.7 MB, free: 1.922 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000156/0.00658, allocations: 87.83 kB / 378.8 MB, free: 1.836 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.98e-05/0.0066, allocations: 7.938 kB / 378.8 MB, free: 1.828 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001263/0.006726, allocations: 51.91 kB / 378.9 MB, free: 1.777 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.306e-05/0.006789, allocations: 27.86 kB / 378.9 MB, free: 1.75 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.382e-05/0.006823, allocations: 11.94 kB / 378.9 MB, free: 1.738 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001809/0.007004, allocations: 103.6 kB / 379 MB, free: 1.637 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.007007, allocations: 0 / 379 MB, free: 1.637 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.243e-06/0.007008, allocations: 0 / 379 MB, free: 1.637 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.079e-06/0.007013, allocations: 4 kB / 379 MB, free: 1.633 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004636/0.007477, allocations: 463.7 kB / 379.5 MB, free: 1.145 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.007517, allocations: 15.97 kB / 379.5 MB, free: 1.129 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.203e-05/0.007569, allocations: 16.84 kB / 379.5 MB, free: 1.113 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002546/0.007824, allocations: 156.4 kB / 379.7 MB, free: 0.9336 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.286e-05/0.007836, allocations: 4.375 kB / 379.7 MB, free: 0.9297 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.343e-05/0.00787, allocations: 384 / 379.7 MB, free: 0.9297 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000181/0.008051, allocations: 58.95 kB / 379.7 MB, free: 0.8633 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/0.008064, allocations: 192 / 379.7 MB, free: 0.8633 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.489e-05/0.008079, allocations: 4.125 kB / 379.7 MB, free: 0.8594 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.937e-06/0.008088, allocations: 0 / 379.7 MB, free: 0.8594 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.52e-05/0.008143, allocations: 15.98 kB / 379.8 MB, free: 0.8438 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003414/0.008484, allocations: 307.6 kB / 380.1 MB, free: 0.5078 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.483e-05/0.008549, allocations: 43.05 kB / 380.1 MB, free: 464 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.486e-05/0.008574, allocations: 15.62 kB / 380.1 MB, free: 444 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.387e-05/0.008598, allocations: 8.078 kB / 380.1 MB, free: 436 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.3e-05/0.008621, allocations: 41.33 kB / 380.2 MB, free: 384 kB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 6.81e-07/0.008622, allocations: 3.938 kB / 380.2 MB, free: 380 kB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005278/0.009149, allocations: 169.7 kB / 380.3 MB, free: 204 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.975e-05/0.009179, allocations: 51.41 kB / 380.4 MB, free: 140 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000183/0.009362, allocations: 274.8 kB / 380.6 MB, free: 15.85 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.059e-05/0.009373, allocations: 25.7 kB / 380.7 MB, free: 15.82 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.767e-05/0.00945, allocations: 174.8 kB / 380.8 MB, free: 15.64 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.57e-05/0.009486, allocations: 27.81 kB / 380.9 MB, free: 15.61 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.545e-05/0.009531, allocations: 31.36 kB / 380.9 MB, free: 15.57 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001696/0.009701, allocations: 0.504 MB / 381.4 MB, free: 15.06 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.503e-05/0.009736, allocations: 8 kB / 381.4 MB, free: 15.05 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.028e-05/0.009766, allocations: 11.98 kB / 381.4 MB, free: 15.04 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.547e-05/0.009842, allocations: 39.84 kB / 381.5 MB, free: 15 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.009843, allocations: 0 / 381.5 MB, free: 15 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001449/0.009988, allocations: 81.58 kB / 381.5 MB, free: 14.91 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.01, allocations: 4 kB / 381.5 MB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.01001, allocations: 0 / 381.5 MB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.951e-05/0.01003, allocations: 7.984 kB / 381.6 MB, free: 14.9 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001192/0.01015, allocations: 16 kB / 381.6 MB, free: 14.88 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.674e-06/0.01016, allocations: 0 / 381.6 MB, free: 14.88 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.898e-05/0.0102, allocations: 7.922 kB / 381.6 MB, free: 14.88 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.004e-05/0.01021, allocations: 4 kB / 381.6 MB, free: 14.87 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 9.934e-05/0.0103, allocations: 164.5 kB / 381.7 MB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.231e-05/0.01035, allocations: 19.91 kB / 381.8 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002055/0.01055, allocations: 91.12 kB / 381.8 MB, free: 14.59 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.01056, allocations: 0 / 381.8 MB, free: 14.59 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.01056, allocations: 0 / 381.8 MB, free: 14.59 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.01056, allocations: 11.98 kB / 381.9 MB, free: 14.57 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004692/0.01103, allocations: 385 kB / 382.2 MB, free: 14.15 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.357e-06/0.01104, allocations: 0 / 382.2 MB, free: 14.15 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.409e-05/0.01111, allocations: 12 kB / 382.2 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.071e-06/0.01112, allocations: 4 kB / 382.3 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.212e-05/0.01113, allocations: 7.938 kB / 382.3 MB, free: 14.13 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.644e-06/0.01113, allocations: 3.938 kB / 382.3 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.01114, allocations: 3.984 kB / 382.3 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000222/0.01136, allocations: 239.4 kB / 382.5 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.921e-05/0.01138, allocations: 7.953 kB / 382.5 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.88e-05/0.0114, allocations: 4.031 kB / 382.5 MB, free: 13.85 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.757e-05/0.01147, allocations: 12 kB / 382.5 MB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.309e-05/0.01152, allocations: 11.92 kB / 382.5 MB, free: 13.83 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.112e-06/0.01152, allocations: 0 / 382.5 MB, free: 13.83 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001548/0.01168, allocations: 192.1 kB / 382.7 MB, free: 13.64 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.01168, allocations: 0 / 382.7 MB, free: 13.64 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003134/0.01199, allocations: 23.98 kB / 382.7 MB, free: 13.62 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.001476/0.01347, allocations: 438.3 kB / 383.2 MB, free: 13.34 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001558/0.01362, allocations: 43.67 kB / 383.2 MB, free: 13.3 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.01363, allocations: 0 / 383.2 MB, free: 13.3 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.16e-05/0.01368, allocations: 27.61 kB / 383.2 MB, free: 13.27 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003666/0.01404, allocations: 35.45 kB / 383.3 MB, free: 13.23 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005733/0.01462, allocations: 259.1 kB / 383.5 MB, free: 12.95 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.904e-05/0.01469, allocations: 71.33 kB / 383.6 MB, free: 12.86 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.836e-05/0.01474, allocations: 21.08 kB / 383.6 MB, free: 12.84 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.196e-05/0.01479, allocations: 12.5 kB / 383.6 MB, free: 12.82 MB / 362.7 MB Notification: Performance of SimCode: time 1.303e-06/0.01479, allocations: 0 / 383.6 MB, free: 12.82 MB / 362.7 MB Notification: Performance of Templates: time 0.005113/0.0199, allocations: 1.403 MB / 385 MB, free: 11.43 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test31/Test31.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.4703589333221316]