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.001322/0.001322, 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.000915/0.000915, allocations: 173.4 kB / 24.91 MB, free: 8.766 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 0.9578/0.9578, allocations: 177.1 MB / 205.3 MB, free: 5.105 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.2418/0.2418, allocations: 34.26 MB / 296.1 MB, free: 0.6094 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.462e-06/1.462e-06, allocations: 0 / 325.3 MB, free: 7.664 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.452e-05/1.598e-05, allocations: 5.453 kB / 325.3 MB, free: 7.66 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test32): time 0.00202/0.002036, allocations: 1.653 MB / 326.9 MB, free: 5.996 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007491/0.002785, allocations: 0.5335 MB / 327.5 MB, free: 5.457 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.712e-05/0.002842, allocations: 0 / 327.5 MB, free: 5.457 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003128/0.003155, allocations: 115.6 kB / 327.6 MB, free: 5.344 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002565/0.003412, allocations: 119.5 kB / 327.7 MB, free: 5.227 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001966/0.003608, allocations: 95.56 kB / 327.8 MB, free: 5.133 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001324/0.003741, allocations: 88.42 kB / 327.9 MB, free: 5.047 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.231e-05/0.003813, allocations: 15.98 kB / 327.9 MB, free: 5.031 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.339e-05/0.003876, allocations: 51.88 kB / 327.9 MB, free: 4.98 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.489e-05/0.003961, allocations: 59.86 kB / 328 MB, free: 4.922 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.197e-05/0.003973, allocations: 0 / 328 MB, free: 4.922 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.359e-05/0.004057, allocations: 47.88 kB / 328 MB, free: 4.875 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.382e-05/0.004101, allocations: 31.91 kB / 328.1 MB, free: 4.844 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.49e-05/0.004126, allocations: 19.86 kB / 328.1 MB, free: 4.824 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001334/0.004259, allocations: 95.66 kB / 328.2 MB, free: 4.73 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.523e-06/0.00426, allocations: 0 / 328.2 MB, free: 4.73 MB / 298.7 MB Notification: Performance of FrontEnd: time 4.71e-07/0.004261, allocations: 0 / 328.2 MB, free: 4.73 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.406e-06/0.004264, allocations: 0 / 328.2 MB, free: 4.73 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.0003195/0.004584, allocations: 329.5 kB / 328.5 MB, free: 4.387 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.926e-05/0.004613, allocations: 8.031 kB / 328.5 MB, free: 4.379 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.596e-05/0.004649, allocations: 20.86 kB / 328.5 MB, free: 4.359 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001319/0.004781, allocations: 146.4 kB / 328.7 MB, free: 4.188 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.504e-06/0.004788, allocations: 4.375 kB / 328.7 MB, free: 4.184 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.984e-05/0.004808, allocations: 8.375 kB / 328.7 MB, free: 4.176 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.985e-05/0.004888, allocations: 54.94 kB / 328.7 MB, free: 4.113 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.545e-06/0.004896, allocations: 192 / 328.7 MB, free: 4.113 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.043e-06/0.004903, allocations: 4.125 kB / 328.7 MB, free: 4.109 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.004908, allocations: 4 kB / 328.8 MB, free: 4.105 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.927e-05/0.004928, allocations: 8 kB / 328.8 MB, free: 4.098 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001841/0.005112, allocations: 178.9 kB / 328.9 MB, free: 3.906 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.241e-05/0.005154, allocations: 30.73 kB / 329 MB, free: 3.867 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.225e-05/0.005166, allocations: 12.84 kB / 329 MB, free: 3.852 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.328e-05/0.00518, allocations: 11.98 kB / 329 MB, free: 3.84 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.809e-05/0.005198, allocations: 34.5 kB / 329 MB, free: 3.797 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 7.01e-07/0.005198, allocations: 0 / 329 MB, free: 3.797 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003753/0.005574, allocations: 141.9 kB / 329.2 MB, free: 3.652 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.85e-05/0.005602, allocations: 51.41 kB / 329.2 MB, free: 3.59 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001213/0.005724, allocations: 201.6 kB / 329.4 MB, free: 3.379 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.191e-05/0.005735, allocations: 25.7 kB / 329.4 MB, free: 3.348 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.85e-05/0.005774, allocations: 104 kB / 329.5 MB, free: 3.242 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.261e-05/0.005797, allocations: 27.73 kB / 329.6 MB, free: 3.215 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.165e-05/0.005828, allocations: 29.7 kB / 329.6 MB, free: 3.18 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.256e-05/0.005921, allocations: 326.8 kB / 329.9 MB, free: 2.852 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.124e-05/0.005932, allocations: 4 kB / 329.9 MB, free: 2.848 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.253e-05/0.005945, allocations: 7.984 kB / 329.9 MB, free: 2.84 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.156e-05/0.005976, allocations: 25.08 kB / 329.9 MB, free: 2.812 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.005977, allocations: 0 / 329.9 MB, free: 2.812 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 6.59e-05/0.006043, allocations: 69.53 kB / 330 MB, free: 2.738 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.718e-06/0.006053, allocations: 4 kB / 330 MB, free: 2.734 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.006057, allocations: 0 / 330 MB, free: 2.734 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.00607, allocations: 4 kB / 330 MB, free: 2.73 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.598e-05/0.006126, allocations: 19.98 kB / 330 MB, free: 2.711 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.326e-06/0.006129, allocations: 0 / 330 MB, free: 2.711 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.655e-05/0.006146, allocations: 0 / 330 MB, free: 2.711 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.122e-06/0.006152, allocations: 8 kB / 330 MB, free: 2.703 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.012e-05/0.006212, allocations: 112.7 kB / 330.2 MB, free: 2.582 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.995e-05/0.006232, allocations: 15.92 kB / 330.2 MB, free: 2.566 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.257e-05/0.006325, allocations: 75.02 kB / 330.2 MB, free: 2.484 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.006326, allocations: 0 / 330.2 MB, free: 2.484 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-06/0.006328, allocations: 0 / 330.2 MB, free: 2.484 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.006332, allocations: 7.984 kB / 330.3 MB, free: 2.477 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002132/0.006546, allocations: 255.5 kB / 330.5 MB, free: 2.199 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.006546, allocations: 0 / 330.5 MB, free: 2.199 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.058e-05/0.006577, allocations: 16 kB / 330.5 MB, free: 2.184 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-06/0.006582, allocations: 7.984 kB / 330.5 MB, free: 2.176 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.081e-06/0.006588, allocations: 4 kB / 330.5 MB, free: 2.172 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.51e-07/0.006589, allocations: 0 / 330.5 MB, free: 2.172 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.00659, allocations: 0 / 330.5 MB, free: 2.172 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.778e-05/0.006667, allocations: 164.3 kB / 330.7 MB, free: 1.992 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.087e-05/0.006678, allocations: 11.91 kB / 330.7 MB, free: 1.98 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.028e-05/0.006689, allocations: 4 kB / 330.7 MB, free: 1.977 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.193e-05/0.00672, allocations: 8.031 kB / 330.7 MB, free: 1.969 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.267e-05/0.006743, allocations: 3.984 kB / 330.7 MB, free: 1.965 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.378e-06/0.006748, allocations: 4 kB / 330.7 MB, free: 1.961 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.061e-05/0.006798, allocations: 64.22 kB / 330.8 MB, free: 1.895 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006798, allocations: 3.938 kB / 330.8 MB, free: 1.891 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001386/0.006937, allocations: 23.98 kB / 330.8 MB, free: 1.867 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.001161/0.008098, allocations: 0.575 MB / 331.4 MB, free: 1.586 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 6.723e-05/0.008165, allocations: 32.78 kB / 331.4 MB, free: 1.551 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.008169, allocations: 4 kB / 331.4 MB, free: 1.547 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.147e-05/0.00819, allocations: 24.78 kB / 331.5 MB, free: 1.52 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001445/0.008335, allocations: 19.98 kB / 331.5 MB, free: 1.5 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002795/0.008614, allocations: 242.6 kB / 331.7 MB, free: 1.234 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.705e-05/0.008651, allocations: 71.33 kB / 331.8 MB, free: 1.145 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.923e-05/0.00868, allocations: 9.047 kB / 331.8 MB, free: 1.133 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.864e-05/0.008729, allocations: 67.36 kB / 331.9 MB, free: 1.066 MB / 298.7 MB Notification: Performance of SimCode: time 4e-07/0.008729, allocations: 0 / 331.9 MB, free: 1.066 MB / 298.7 MB Notification: Performance of Templates: time 0.002846/0.01158, allocations: 1.491 MB / 333.3 MB, free: 15.59 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 -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.9416106240823865]