Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test32.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.001276/0.001276, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.001502/0.001502, allocations: 173.2 kB / 24.91 MB, free: 8.777 MB / 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.025/1.025, allocations: 177.1 MB / 205.3 MB, free: 5.465 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2624/0.2624, allocations: 34.27 MB / 296.1 MB, free: 0.6484 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test32,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.1.0_ModelicaTest.Tables.CombiTable1Ds.Test32") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test32,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.1.0_ModelicaTest.Tables.CombiTable1Ds.Test32") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 325.3 MB, free: 7.586 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.961e-05/2.126e-05, allocations: 3.516 kB / 325.3 MB, free: 7.582 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test32): time 0.003111/0.003132, allocations: 1.697 MB / 327 MB, free: 5.871 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001028/0.00416, allocations: 0.5375 MB / 327.6 MB, free: 5.328 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.137e-05/0.004221, allocations: 0 / 327.6 MB, free: 5.328 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003288/0.00455, allocations: 111.5 kB / 327.7 MB, free: 5.219 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002899/0.00484, allocations: 119.5 kB / 327.8 MB, free: 5.102 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002461/0.005086, allocations: 95.62 kB / 327.9 MB, free: 5.008 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001788/0.005265, allocations: 96.38 kB / 328 MB, free: 4.914 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.753e-05/0.005362, allocations: 11.98 kB / 328 MB, free: 4.902 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.756e-05/0.00545, allocations: 47.88 kB / 328 MB, free: 4.855 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001126/0.005562, allocations: 63.86 kB / 328.1 MB, free: 4.793 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.422e-05/0.005577, allocations: 4 kB / 328.1 MB, free: 4.789 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.483e-05/0.005671, allocations: 43.92 kB / 328.1 MB, free: 4.746 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.912e-05/0.005721, allocations: 19.92 kB / 328.2 MB, free: 4.727 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.972e-05/0.00575, allocations: 23.86 kB / 328.2 MB, free: 4.703 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001734/0.005924, allocations: 95.59 kB / 328.3 MB, free: 4.609 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.944e-06/0.005926, allocations: 0 / 328.3 MB, free: 4.609 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.32e-07/0.005926, allocations: 0 / 328.3 MB, free: 4.609 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.727e-06/0.00593, allocations: 4 kB / 328.3 MB, free: 4.605 MB / 298.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.0003843/0.006314, allocations: 333.5 kB / 328.6 MB, free: 4.258 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.006352, allocations: 12.02 kB / 328.6 MB, free: 4.246 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.483e-05/0.006387, allocations: 8.938 kB / 328.6 MB, free: 4.238 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001607/0.006548, allocations: 146.4 kB / 328.8 MB, free: 4.066 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.678e-06/0.006557, allocations: 4.375 kB / 328.8 MB, free: 4.062 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.791e-05/0.006575, allocations: 384 / 328.8 MB, free: 4.062 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001076/0.006683, allocations: 66.86 kB / 328.8 MB, free: 3.988 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.006693, allocations: 192 / 328.8 MB, free: 3.988 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.006703, allocations: 8.125 kB / 328.8 MB, free: 3.98 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.00671, allocations: 4 kB / 328.8 MB, free: 3.977 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.643e-05/0.006736, allocations: 4 kB / 328.8 MB, free: 3.973 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002382/0.006974, allocations: 179 kB / 329 MB, free: 3.781 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.606e-05/0.00703, allocations: 34.5 kB / 329.1 MB, free: 3.738 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.527e-05/0.007046, allocations: 4.859 kB / 329.1 MB, free: 3.73 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.425e-05/0.00706, allocations: 4 kB / 329.1 MB, free: 3.727 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.569e-05/0.007086, allocations: 38.5 kB / 329.1 MB, free: 3.68 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.007087, allocations: 0 / 329.1 MB, free: 3.68 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004956/0.007582, allocations: 142.2 kB / 329.2 MB, free: 3.535 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.216e-05/0.007614, allocations: 51.41 kB / 329.3 MB, free: 3.473 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001624/0.007777, allocations: 201.6 kB / 329.5 MB, free: 3.262 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.181e-05/0.007789, allocations: 25.7 kB / 329.5 MB, free: 3.23 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.776e-05/0.007836, allocations: 108 kB / 329.6 MB, free: 3.121 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.542e-05/0.007862, allocations: 27.73 kB / 329.6 MB, free: 3.094 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.599e-05/0.007898, allocations: 17.72 kB / 329.7 MB, free: 3.07 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000101/0.007999, allocations: 330.7 kB / 330 MB, free: 2.738 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.785e-05/0.008017, allocations: 7.984 kB / 330 MB, free: 2.73 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.787e-05/0.008035, allocations: 8 kB / 330 MB, free: 2.723 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.586e-05/0.00808, allocations: 29.05 kB / 330 MB, free: 2.691 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.008081, allocations: 8 kB / 330 MB, free: 2.684 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 8.928e-05/0.008171, allocations: 61.61 kB / 330.1 MB, free: 2.617 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/0.008183, allocations: 4 kB / 330.1 MB, free: 2.613 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.008191, allocations: 8 kB / 330.1 MB, free: 2.605 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.008203, allocations: 0 / 330.1 MB, free: 2.605 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.634e-05/0.008279, allocations: 19.92 kB / 330.1 MB, free: 2.586 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.896e-06/0.008282, allocations: 0 / 330.1 MB, free: 2.586 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.935e-05/0.008312, allocations: 4 kB / 330.1 MB, free: 2.582 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.563e-06/0.008318, allocations: 0 / 330.1 MB, free: 2.582 MB / 298.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 6.889e-05/0.008387, allocations: 116.7 kB / 330.2 MB, free: 2.457 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.04e-05/0.008418, allocations: 15.92 kB / 330.3 MB, free: 2.441 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000126/0.008544, allocations: 75.06 kB / 330.3 MB, free: 2.359 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/0.008549, allocations: 4 kB / 330.3 MB, free: 2.355 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.703e-06/0.00855, allocations: 0 / 330.3 MB, free: 2.355 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.008554, allocations: 0 / 330.3 MB, free: 2.355 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002959/0.00885, allocations: 255.4 kB / 330.6 MB, free: 2.078 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.008851, allocations: 4 kB / 330.6 MB, free: 2.074 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.42e-05/0.008905, allocations: 15.98 kB / 330.6 MB, free: 2.059 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.008908, allocations: 0 / 330.6 MB, free: 2.059 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.091e-06/0.008914, allocations: 4.031 kB / 330.6 MB, free: 2.055 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.008917, allocations: 4 kB / 330.6 MB, free: 2.051 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.008918, allocations: 432 / 330.6 MB, free: 2.051 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001135/0.009032, allocations: 168.2 kB / 330.8 MB, free: 1.867 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.363e-05/0.009045, allocations: 11.91 kB / 330.8 MB, free: 1.855 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.954e-05/0.009065, allocations: 3.984 kB / 330.8 MB, free: 1.852 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.922e-05/0.009124, allocations: 4 kB / 330.8 MB, free: 1.848 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.965e-05/0.009154, allocations: 11.97 kB / 330.8 MB, free: 1.836 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.372e-06/0.00916, allocations: 4 kB / 330.8 MB, free: 1.832 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.509e-05/0.009235, allocations: 64.22 kB / 330.9 MB, free: 1.766 MB / 298.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.009235, allocations: 3.938 kB / 330.9 MB, free: 1.762 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002267/0.009462, allocations: 24 kB / 330.9 MB, free: 1.738 MB / 298.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.0018/0.01126, allocations: 0.5712 MB / 331.5 MB, free: 1.469 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.284e-05/0.01135, allocations: 44.72 kB / 331.5 MB, free: 1.422 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.01136, allocations: 0 / 331.5 MB, free: 1.422 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.295e-05/0.01139, allocations: 20.84 kB / 331.5 MB, free: 1.398 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00023/0.01162, allocations: 19.98 kB / 331.6 MB, free: 1.379 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003947/0.01202, allocations: 242.5 kB / 331.8 MB, free: 1.109 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.831e-05/0.01207, allocations: 71.33 kB / 331.9 MB, free: 1.02 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.77e-05/0.01212, allocations: 13.09 kB / 331.9 MB, free: 1.004 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.671e-05/0.01219, allocations: 63.36 kB / 331.9 MB, free: 0.9414 MB / 298.7 MB Notification: Performance of SimCode: time 6.91e-07/0.01219, allocations: 0 / 331.9 MB, free: 0.9414 MB / 298.7 MB Notification: Performance of Templates: time 0.004057/0.01625, allocations: 1.491 MB / 333.4 MB, free: 15.46 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test32.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test32.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test32 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test32/Test32.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: 2.9643814330920577]