Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.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.001287/0.001287, allocations: 75.77 kB / 21.18 MB, free: 3.383 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.001535/0.001535, allocations: 161 kB / 24.56 MB, free: 12 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 0.9247/0.9247, allocations: 177.1 MB / 205 MB, free: 5.633 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.2946/0.2946, allocations: 32.81 MB / 294.3 MB, free: 1.281 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.CombiTable1Dv.Test15,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.CombiTable1Dv.Test15") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test15,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.CombiTable1Dv.Test15") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.834e-06/1.834e-06, allocations: 0 / 376 MB, free: 4.656 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.421e-05/1.604e-05, allocations: 2.312 kB / 376 MB, free: 4.652 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test15): time 0.001933/0.001949, allocations: 1.66 MB / 377.7 MB, free: 2.98 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006851/0.002634, allocations: 0.5492 MB / 378.2 MB, free: 2.426 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.633e-05/0.00269, allocations: 0 / 378.2 MB, free: 2.426 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002639/0.002954, allocations: 79.7 kB / 378.3 MB, free: 2.348 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000298/0.003252, allocations: 103.5 kB / 378.4 MB, free: 2.246 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002701/0.003522, allocations: 119.6 kB / 378.5 MB, free: 2.129 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001413/0.003664, allocations: 83.75 kB / 378.6 MB, free: 2.047 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.796e-05/0.003752, allocations: 15.97 kB / 378.6 MB, free: 2.031 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.915e-05/0.003811, allocations: 43.89 kB / 378.7 MB, free: 1.988 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.754e-05/0.003898, allocations: 59.81 kB / 378.7 MB, free: 1.93 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.195e-05/0.00391, allocations: 0 / 378.7 MB, free: 1.93 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.934e-05/0.00399, allocations: 51.91 kB / 378.8 MB, free: 1.879 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.273e-05/0.004032, allocations: 19.92 kB / 378.8 MB, free: 1.859 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.574e-05/0.004058, allocations: 15.94 kB / 378.8 MB, free: 1.844 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001412/0.004199, allocations: 95.59 kB / 378.9 MB, free: 1.75 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.773e-06/0.004201, allocations: 0 / 378.9 MB, free: 1.75 MB / 346.7 MB Notification: Performance of FrontEnd: time 6.62e-07/0.004202, allocations: 0 / 378.9 MB, free: 1.75 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.417e-06/0.004205, allocations: 0 / 378.9 MB, free: 1.75 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.0003429/0.004548, allocations: 447.9 kB / 379.4 MB, free: 1.277 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.28e-05/0.004581, allocations: 12.03 kB / 379.4 MB, free: 1.266 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.719e-05/0.004618, allocations: 12.84 kB / 379.4 MB, free: 1.254 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00012/0.004738, allocations: 149.1 kB / 379.5 MB, free: 1.078 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.893e-06/0.004745, allocations: 384 / 379.5 MB, free: 1.078 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.896e-05/0.004764, allocations: 8.375 kB / 379.5 MB, free: 1.07 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.746e-05/0.004861, allocations: 54.95 kB / 379.6 MB, free: 1.008 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.296e-06/0.00487, allocations: 192 / 379.6 MB, free: 1.008 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.011e-05/0.00488, allocations: 8.125 kB / 379.6 MB, free: 1 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.004887, allocations: 7.984 kB / 379.6 MB, free: 0.9922 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.953e-05/0.004916, allocations: 7.938 kB / 379.6 MB, free: 0.9844 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002672/0.005184, allocations: 295.7 kB / 379.9 MB, free: 0.6602 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.933e-05/0.005243, allocations: 43.05 kB / 379.9 MB, free: 0.6055 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.308e-05/0.005266, allocations: 15.62 kB / 380 MB, free: 0.5859 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.73e-05/0.005283, allocations: 0 / 380 MB, free: 0.5859 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.074e-05/0.005304, allocations: 49.33 kB / 380 MB, free: 0.5273 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 7.81e-07/0.005305, allocations: 0 / 380 MB, free: 0.5273 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.000511/0.005816, allocations: 173.3 kB / 380.2 MB, free: 360 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.825e-05/0.005844, allocations: 51.41 kB / 380.2 MB, free: 296 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001346/0.005979, allocations: 234.4 kB / 380.5 MB, free: 44 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.104e-05/0.00599, allocations: 25.7 kB / 380.5 MB, free: 12 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.565e-05/0.006055, allocations: 154.9 kB / 380.6 MB, free: 15.86 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.645e-05/0.006082, allocations: 31.73 kB / 380.7 MB, free: 15.82 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.201e-05/0.006114, allocations: 31.38 kB / 380.7 MB, free: 15.79 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000289/0.006403, allocations: 0.5 MB / 381.2 MB, free: 15.27 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.126e-05/0.006424, allocations: 7.984 kB / 381.2 MB, free: 15.27 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.653e-05/0.006441, allocations: 8 kB / 381.2 MB, free: 15.26 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.932e-05/0.00649, allocations: 43.91 kB / 381.3 MB, free: 15.21 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.006492, allocations: 3.984 kB / 381.3 MB, free: 15.21 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 8.728e-05/0.006579, allocations: 77.59 kB / 381.3 MB, free: 15.12 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.043e-05/0.00659, allocations: 4 kB / 381.3 MB, free: 15.12 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.006594, allocations: 0 / 381.3 MB, free: 15.12 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/0.006605, allocations: 4 kB / 381.3 MB, free: 15.12 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.616e-05/0.006671, allocations: 12 kB / 381.4 MB, free: 15.11 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.038e-06/0.006675, allocations: 4 kB / 381.4 MB, free: 15.1 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.011e-05/0.006695, allocations: 11.98 kB / 381.4 MB, free: 15.09 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.4e-06/0.006701, allocations: 0 / 381.4 MB, free: 15.09 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 6.234e-05/0.006763, allocations: 164.5 kB / 381.5 MB, free: 14.92 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.223e-05/0.006785, allocations: 15.91 kB / 381.5 MB, free: 14.9 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001299/0.006915, allocations: 91.12 kB / 381.6 MB, free: 14.81 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.006917, allocations: 432 / 381.6 MB, free: 14.81 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.00692, allocations: 0 / 381.6 MB, free: 14.81 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.006923, allocations: 0 / 381.6 MB, free: 14.81 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000519/0.007442, allocations: 377 kB / 382 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.007444, allocations: 4 kB / 382 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.495e-05/0.007479, allocations: 19.98 kB / 382 MB, free: 14.37 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.007483, allocations: 3.984 kB / 382 MB, free: 14.37 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.312e-06/0.007489, allocations: 3.938 kB / 382 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.007492, allocations: 4 kB / 382 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.007493, allocations: 0 / 382 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001131/0.007606, allocations: 243.4 kB / 382.3 MB, free: 14.1 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.356e-06/0.007615, allocations: 7.953 kB / 382.3 MB, free: 14.09 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.209e-05/0.007627, allocations: 7.938 kB / 382.3 MB, free: 14.08 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.393e-05/0.007661, allocations: 8.031 kB / 382.3 MB, free: 14.07 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.873e-05/0.007689, allocations: 11.92 kB / 382.3 MB, free: 14.06 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.687e-06/0.007693, allocations: 0 / 382.3 MB, free: 14.06 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.595e-05/0.007759, allocations: 171.2 kB / 382.5 MB, free: 13.89 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007759, allocations: 0 / 382.5 MB, free: 13.89 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001636/0.007923, allocations: 27.86 kB / 382.5 MB, free: 13.87 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.0008539/0.008777, allocations: 439.5 kB / 382.9 MB, free: 13.6 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.783e-05/0.008874, allocations: 43.66 kB / 383 MB, free: 13.55 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.008876, allocations: 4 kB / 383 MB, free: 13.55 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.048e-05/0.008906, allocations: 35.61 kB / 383 MB, free: 13.51 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001967/0.009103, allocations: 19.94 kB / 383 MB, free: 13.49 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003167/0.00942, allocations: 233.8 kB / 383.3 MB, free: 13.23 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.83e-05/0.009458, allocations: 71.33 kB / 383.3 MB, free: 13.14 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.826e-05/0.009496, allocations: 17.02 kB / 383.3 MB, free: 13.12 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.773e-05/0.009524, allocations: 24.56 kB / 383.4 MB, free: 13.1 MB / 362.7 MB Notification: Performance of SimCode: time 4.4e-07/0.009524, allocations: 0 / 383.4 MB, free: 13.1 MB / 362.7 MB Notification: Performance of Templates: time 0.00298/0.0125, allocations: 1.503 MB / 384.9 MB, free: 11.61 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test15/Test15.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.9819683809764683]