Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21.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.001132/0.001132, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00166/0.002792, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.001102/0.001102, allocations: 169.1 kB / 11.26 MB, free: 2.906 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001403/0.002505, allocations: 455.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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.008/1.008, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09842/1.107, allocations: 53.65 MB / 243.3 MB, free: 15.58 MB / 250.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.264/0.264, allocations: 34.25 MB / 278.2 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02532/0.2893, allocations: 13.1 MB / 291.3 MB, free: 7.371 MB / 282.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.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.944e-06/1.944e-06, allocations: 0 / 292.6 MB, free: 6.293 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.677e-05/2.871e-05, allocations: 3.188 kB / 292.6 MB, free: 6.289 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test21): time 0.003338/0.003366, allocations: 1.692 MB / 294.3 MB, free: 4.59 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001439/0.004806, allocations: 1.298 MB / 295.6 MB, free: 3.285 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.076e-05/0.004856, allocations: 0 / 295.6 MB, free: 3.285 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001302/0.004987, allocations: 23.8 kB / 295.6 MB, free: 3.262 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002316/0.005218, allocations: 92.19 kB / 295.7 MB, free: 3.172 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002273/0.005445, allocations: 87.69 kB / 295.8 MB, free: 3.086 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001342/0.00558, allocations: 67.78 kB / 295.9 MB, free: 3.02 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.245e-05/0.005652, allocations: 11.98 kB / 295.9 MB, free: 3.008 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.535e-05/0.005737, allocations: 59.89 kB / 296 MB, free: 2.949 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.996e-05/0.005827, allocations: 19.92 kB / 296 MB, free: 2.93 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.361e-05/0.005841, allocations: 4 kB / 296 MB, free: 2.926 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001605/0.006001, allocations: 103.7 kB / 296.1 MB, free: 2.824 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.084e-05/0.006032, allocations: 8 kB / 296.1 MB, free: 2.816 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.415e-05/0.006056, allocations: 11.94 kB / 296.1 MB, free: 2.805 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000177/0.006234, allocations: 123.6 kB / 296.2 MB, free: 2.684 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.112e-05/0.006245, allocations: 0 / 296.2 MB, free: 2.684 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.031e-06/0.006246, allocations: 0 / 296.2 MB, free: 2.684 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.167e-05/0.006257, allocations: 0 / 296.2 MB, free: 2.684 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003543/0.006612, allocations: 325.1 kB / 296.5 MB, free: 2.344 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.16e-05/0.006643, allocations: 8.031 kB / 296.6 MB, free: 2.336 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.584e-05/0.006669, allocations: 4.938 kB / 296.6 MB, free: 2.332 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001224/0.006791, allocations: 133.7 kB / 296.7 MB, free: 2.176 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.793e-06/0.006798, allocations: 384 / 296.7 MB, free: 2.176 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.592e-05/0.006814, allocations: 8.312 kB / 296.7 MB, free: 2.168 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001016/0.006916, allocations: 94.36 kB / 296.8 MB, free: 2.055 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.343e-06/0.006923, allocations: 192 / 296.8 MB, free: 2.055 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.574e-06/0.006931, allocations: 4.125 kB / 296.8 MB, free: 2.051 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.647e-06/0.006934, allocations: 0 / 296.8 MB, free: 2.051 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.884e-05/0.006953, allocations: 12 kB / 296.8 MB, free: 2.039 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001741/0.007127, allocations: 167.1 kB / 297 MB, free: 1.859 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001128/0.00724, allocations: 34.58 kB / 297 MB, free: 1.816 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.361e-05/0.007254, allocations: 8.938 kB / 297 MB, free: 1.805 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.628e-05/0.00727, allocations: 4 kB / 297 MB, free: 1.801 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.616e-05/0.007286, allocations: 30.56 kB / 297 MB, free: 1.762 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 1.833e-06/0.007288, allocations: 7.922 kB / 297 MB, free: 1.754 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002426/0.00753, allocations: 77.53 kB / 297.1 MB, free: 1.672 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.488e-05/0.007555, allocations: 55.41 kB / 297.2 MB, free: 1.605 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.026e-05/0.007646, allocations: 152.3 kB / 297.3 MB, free: 1.441 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.007e-06/0.007655, allocations: 25.7 kB / 297.4 MB, free: 1.41 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.971e-05/0.007684, allocations: 88.09 kB / 297.4 MB, free: 1.32 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.584e-05/0.0077, allocations: 19.81 kB / 297.5 MB, free: 1.301 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.591e-05/0.007726, allocations: 21.72 kB / 297.5 MB, free: 1.273 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.956e-05/0.007796, allocations: 318.8 kB / 297.8 MB, free: 0.9531 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.074e-05/0.007806, allocations: 4 kB / 297.8 MB, free: 0.9492 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.405e-05/0.00783, allocations: 43.36 kB / 297.8 MB, free: 0.8945 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.728e-05/0.007858, allocations: 20.84 kB / 297.9 MB, free: 0.8711 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.007859, allocations: 0 / 297.9 MB, free: 0.8711 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.067e-05/0.007909, allocations: 53.62 kB / 297.9 MB, free: 0.8125 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.007922, allocations: 9.75 kB / 297.9 MB, free: 0.8047 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.007927, allocations: 3.984 kB / 297.9 MB, free: 0.8008 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.712e-06/0.007933, allocations: 0 / 297.9 MB, free: 0.8008 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.938e-05/0.007983, allocations: 12 kB / 297.9 MB, free: 0.7891 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.903e-06/0.007985, allocations: 0 / 297.9 MB, free: 0.7891 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.877e-05/0.008003, allocations: 0 / 297.9 MB, free: 0.7891 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.493e-06/0.00801, allocations: 11.92 kB / 297.9 MB, free: 0.7773 MB / 282.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 (5): * Single equations (assignments): 5 * 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 5.116e-05/0.008061, allocations: 108.7 kB / 298.1 MB, free: 0.6602 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.724e-05/0.008078, allocations: 11.94 kB / 298.1 MB, free: 0.6484 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.844e-05/0.008167, allocations: 54.45 kB / 298.1 MB, free: 0.5898 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.00817, allocations: 8 kB / 298.1 MB, free: 0.582 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.262e-06/0.008171, allocations: 0 / 298.1 MB, free: 0.582 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.008174, allocations: 4 kB / 298.1 MB, free: 0.5781 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001927/0.008367, allocations: 210.8 kB / 298.3 MB, free: 356 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.008369, allocations: 3.938 kB / 298.3 MB, free: 352 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.681e-05/0.008406, allocations: 15.98 kB / 298.4 MB, free: 336 kB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.596e-06/0.008414, allocations: 7.953 kB / 298.4 MB, free: 328 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.008416, allocations: 0 / 298.4 MB, free: 328 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.408e-06/0.00842, allocations: 0 / 298.4 MB, free: 328 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.464e-06/0.008423, allocations: 4 kB / 298.4 MB, free: 324 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.008425, allocations: 7.984 kB / 298.4 MB, free: 316 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.702e-05/0.008502, allocations: 151.3 kB / 298.5 MB, free: 148 kB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.129e-05/0.008513, allocations: 4 kB / 298.5 MB, free: 144 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.156e-05/0.008544, allocations: 4 kB / 298.5 MB, free: 140 kB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.909e-05/0.008564, allocations: 3.984 kB / 298.5 MB, free: 136 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.226e-06/0.008567, allocations: 0 / 298.5 MB, free: 136 kB / 282.7 MB Notification: Performance of sorting global known variables: time 3.265e-05/0.008599, allocations: 31.66 kB / 298.6 MB, free: 100 kB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008599, allocations: 0 / 298.6 MB, free: 100 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001646/0.008764, allocations: 39.86 kB / 298.6 MB, free: 60 kB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.001329/0.01009, allocations: 0.6926 MB / 299.3 MB, free: 15.74 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.585e-05/0.01017, allocations: 20.86 kB / 299.3 MB, free: 15.71 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 7.614e-06/0.01018, allocations: 4 kB / 299.3 MB, free: 15.71 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.749e-05/0.01019, allocations: 20.78 kB / 299.3 MB, free: 15.69 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001613/0.01036, allocations: 31.88 kB / 299.4 MB, free: 15.66 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003949/0.01075, allocations: 158.6 kB / 299.5 MB, free: 15.47 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.659e-05/0.01079, allocations: 59.34 kB / 299.6 MB, free: 15.39 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.555e-05/0.01083, allocations: 23.83 kB / 299.6 MB, free: 15.37 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.968e-05/0.0109, allocations: 71.3 kB / 299.7 MB, free: 15.3 MB / 298.7 MB Notification: Performance of SimCode: time 8.22e-07/0.0109, allocations: 0 / 299.7 MB, free: 15.3 MB / 298.7 MB Notification: Performance of Templates: time 0.003533/0.01444, allocations: 2.017 MB / 301.7 MB, free: 13.3 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test21/Test21.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.962728725746274]