Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test27.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.0009033/0.0009033, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.001512/0.001512, allocations: 170.1 kB / 24.91 MB, free: 8.723 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.015/1.015, allocations: 177.1 MB / 205.3 MB, free: 4.496 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.1385/0.1385, allocations: 34.26 MB / 296.1 MB, free: 13.98 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.Test27,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.Test27") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test27,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.Test27") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.953e-06/1.953e-06, allocations: 0 / 325.3 MB, free: 0.7617 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.592e-05/2.787e-05, allocations: 5.266 kB / 325.3 MB, free: 0.7578 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test27): time 0.003285/0.003313, allocations: 1.65 MB / 326.9 MB, free: 15.09 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001029/0.004342, allocations: 0.5452 MB / 327.5 MB, free: 14.54 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.685e-05/0.004409, allocations: 4 kB / 327.5 MB, free: 14.54 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003598/0.004768, allocations: 123.6 kB / 327.6 MB, free: 14.42 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003732/0.005142, allocations: 127.4 kB / 327.7 MB, free: 14.29 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002928/0.005434, allocations: 95.69 kB / 327.8 MB, free: 14.2 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001933/0.005628, allocations: 99.72 kB / 327.9 MB, free: 14.1 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.217e-05/0.00572, allocations: 11.98 kB / 327.9 MB, free: 14.09 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001039/0.005824, allocations: 63.81 kB / 328 MB, free: 14.03 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001347/0.005959, allocations: 71.84 kB / 328 MB, free: 13.96 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.702e-05/0.005976, allocations: 4 kB / 328.1 MB, free: 13.95 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001023/0.006078, allocations: 47.91 kB / 328.1 MB, free: 13.91 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.596e-05/0.006134, allocations: 27.92 kB / 328.1 MB, free: 13.88 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.208e-05/0.006166, allocations: 15.88 kB / 328.1 MB, free: 13.86 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001912/0.006357, allocations: 103.6 kB / 328.2 MB, free: 13.76 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.00636, allocations: 0 / 328.2 MB, free: 13.76 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.006361, allocations: 0 / 328.2 MB, free: 13.76 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.457e-06/0.006365, allocations: 4 kB / 328.2 MB, free: 13.76 MB / 314.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.0004097/0.006774, allocations: 339.9 kB / 328.6 MB, free: 13.4 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.006812, allocations: 8.031 kB / 328.6 MB, free: 13.39 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.385e-05/0.006856, allocations: 20.92 kB / 328.6 MB, free: 13.38 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001689/0.007025, allocations: 141.6 kB / 328.7 MB, free: 13.21 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.179e-05/0.007036, allocations: 8.312 kB / 328.8 MB, free: 13.2 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.281e-05/0.007059, allocations: 4.375 kB / 328.8 MB, free: 13.2 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001148/0.007174, allocations: 58.94 kB / 328.8 MB, free: 13.13 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.007185, allocations: 192 / 328.8 MB, free: 13.13 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.191e-05/0.007197, allocations: 12.11 kB / 328.8 MB, free: 13.12 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.007204, allocations: 4 kB / 328.8 MB, free: 13.12 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.11e-05/0.007235, allocations: 8 kB / 328.8 MB, free: 13.11 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002658/0.0075, allocations: 175 kB / 329 MB, free: 12.92 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.285e-05/0.007563, allocations: 26.58 kB / 329 MB, free: 12.89 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.166e-05/0.007585, allocations: 12.94 kB / 329 MB, free: 12.87 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.712e-05/0.007602, allocations: 0 / 329 MB, free: 12.87 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.729e-05/0.007629, allocations: 38.5 kB / 329.1 MB, free: 12.82 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 1.273e-06/0.007631, allocations: 0 / 329.1 MB, free: 12.82 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005622/0.008193, allocations: 145.5 kB / 329.2 MB, free: 12.68 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.853e-05/0.008231, allocations: 59.34 kB / 329.3 MB, free: 12.61 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001878/0.008419, allocations: 213.1 kB / 329.5 MB, free: 12.38 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.523e-05/0.008434, allocations: 33.7 kB / 329.5 MB, free: 12.34 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.609e-05/0.00848, allocations: 96.06 kB / 329.6 MB, free: 12.24 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.911e-05/0.00851, allocations: 23.78 kB / 329.6 MB, free: 12.22 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.07e-05/0.00855, allocations: 25.7 kB / 329.7 MB, free: 12.19 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001097/0.00866, allocations: 326.8 kB / 330 MB, free: 11.86 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.863e-05/0.008679, allocations: 4 kB / 330 MB, free: 11.86 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.582e-05/0.008694, allocations: 4 kB / 330 MB, free: 11.85 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.017e-05/0.008745, allocations: 40.97 kB / 330 MB, free: 11.81 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.008746, allocations: 4 kB / 330 MB, free: 11.8 MB / 314.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.4e-05/0.00884, allocations: 61.62 kB / 330.1 MB, free: 11.74 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.008855, allocations: 7.938 kB / 330.1 MB, free: 11.73 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.00886, allocations: 0 / 330.1 MB, free: 11.73 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/0.008877, allocations: 3.984 kB / 330.1 MB, free: 11.73 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.89e-05/0.008965, allocations: 12 kB / 330.1 MB, free: 11.71 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.687e-06/0.008969, allocations: 4 kB / 330.1 MB, free: 11.71 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.004e-05/0.008999, allocations: 0 / 330.1 MB, free: 11.71 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.109e-05/0.00901, allocations: 7.984 kB / 330.1 MB, free: 11.7 MB / 314.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.508e-05/0.009105, allocations: 116.7 kB / 330.2 MB, free: 11.58 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.439e-05/0.00914, allocations: 11.94 kB / 330.3 MB, free: 11.57 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001605/0.0093, allocations: 79.02 kB / 330.3 MB, free: 11.48 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.009303, allocations: 0 / 330.3 MB, free: 11.48 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.034e-06/0.009305, allocations: 4 kB / 330.3 MB, free: 11.48 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.009309, allocations: 0 / 330.3 MB, free: 11.48 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003718/0.009681, allocations: 255.5 kB / 330.6 MB, free: 11.2 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.009685, allocations: 4 kB / 330.6 MB, free: 11.2 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7e-05/0.009755, allocations: 12 kB / 330.6 MB, free: 11.18 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/0.00976, allocations: 0 / 330.6 MB, free: 11.18 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.086e-06/0.009768, allocations: 8.016 kB / 330.6 MB, free: 11.18 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.005e-06/0.009771, allocations: 0 / 330.6 MB, free: 11.18 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.009775, allocations: 4 kB / 330.6 MB, free: 11.17 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001496/0.009924, allocations: 168.2 kB / 330.8 MB, free: 10.99 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.942e-05/0.009944, allocations: 12.33 kB / 330.8 MB, free: 10.98 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.674e-05/0.00996, allocations: 0 / 330.8 MB, free: 10.98 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.499e-05/0.01003, allocations: 4 kB / 330.8 MB, free: 10.97 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.564e-05/0.01006, allocations: 11.98 kB / 330.8 MB, free: 10.96 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.38e-06/0.01007, allocations: 0 / 330.8 MB, free: 10.96 MB / 314.7 MB Notification: Performance of sorting global known variables: time 9.176e-05/0.01016, allocations: 76.59 kB / 330.9 MB, free: 10.88 MB / 314.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.01016, allocations: 0 / 330.9 MB, free: 10.88 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002548/0.01041, allocations: 23.94 kB / 330.9 MB, free: 10.86 MB / 314.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.001952/0.01236, allocations: 0.5664 MB / 331.5 MB, free: 10.56 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001105/0.01248, allocations: 44.72 kB / 331.5 MB, free: 10.52 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.394e-06/0.01248, allocations: 4 kB / 331.5 MB, free: 10.51 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.61e-05/0.01252, allocations: 24.78 kB / 331.5 MB, free: 10.48 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002514/0.01277, allocations: 18.84 kB / 331.6 MB, free: 10.47 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005569/0.01333, allocations: 252.4 kB / 331.8 MB, free: 10.19 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.262e-05/0.01339, allocations: 71.33 kB / 331.9 MB, free: 10.1 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.887e-05/0.01346, allocations: 21.08 kB / 331.9 MB, free: 10.08 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.02e-05/0.01354, allocations: 59.38 kB / 332 MB, free: 10.02 MB / 314.7 MB Notification: Performance of SimCode: time 1.132e-06/0.01354, allocations: 0 / 332 MB, free: 10.02 MB / 314.7 MB Notification: Performance of Templates: time 0.004038/0.01758, allocations: 1.502 MB / 333.5 MB, free: 8.527 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test27.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test27.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test27 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test27/Test27.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.014345924835652]