Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.0009852/0.0009852, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.0009068/0.0009068, allocations: 170.3 kB / 24.82 MB, free: 9.266 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.9393/0.9393, allocations: 177.1 MB / 205.3 MB, free: 5.469 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.2568/0.2568, allocations: 32.81 MB / 294.6 MB, free: 1.238 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.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.0.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.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 376.5 MB, free: 4.379 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.556e-05/2.734e-05, allocations: 6.25 kB / 376.5 MB, free: 4.371 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test27): time 0.003246/0.003273, allocations: 1.649 MB / 378.2 MB, free: 2.707 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001042/0.004314, allocations: 0.522 MB / 378.7 MB, free: 2.18 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.356e-05/0.004398, allocations: 8 kB / 378.7 MB, free: 2.172 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000359/0.004757, allocations: 131.4 kB / 378.8 MB, free: 2.043 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003767/0.005134, allocations: 119.6 kB / 378.9 MB, free: 1.926 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003099/0.005444, allocations: 103.6 kB / 379 MB, free: 1.824 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000193/0.005637, allocations: 95.78 kB / 379.1 MB, free: 1.73 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.987e-05/0.005736, allocations: 11.94 kB / 379.1 MB, free: 1.719 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001027/0.005839, allocations: 59.86 kB / 379.2 MB, free: 1.66 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001421/0.005981, allocations: 87.83 kB / 379.3 MB, free: 1.574 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.745e-05/0.005999, allocations: 4 kB / 379.3 MB, free: 1.57 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001009/0.0061, allocations: 39.94 kB / 379.3 MB, free: 1.531 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.595e-05/0.006155, allocations: 31.84 kB / 379.4 MB, free: 1.5 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.136e-05/0.006187, allocations: 19.92 kB / 379.4 MB, free: 1.48 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001933/0.00638, allocations: 103.6 kB / 379.5 MB, free: 1.379 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.006383, allocations: 0 / 379.5 MB, free: 1.379 MB / 346.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.006384, allocations: 0 / 379.5 MB, free: 1.379 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.717e-06/0.006387, allocations: 0 / 379.5 MB, free: 1.379 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.0004491/0.006837, allocations: 467.6 kB / 379.9 MB, free: 0.8867 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.006876, allocations: 16.03 kB / 379.9 MB, free: 0.8711 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.409e-05/0.00692, allocations: 16.84 kB / 380 MB, free: 0.8555 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001485/0.007069, allocations: 148.4 kB / 380.1 MB, free: 0.6836 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.699e-06/0.007079, allocations: 4.375 kB / 380.1 MB, free: 0.6797 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.938e-05/0.007098, allocations: 8.359 kB / 380.1 MB, free: 0.6719 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003526/0.00745, allocations: 54.94 kB / 380.2 MB, free: 0.6094 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.007461, allocations: 192 / 380.2 MB, free: 0.6094 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.388e-06/0.00747, allocations: 8.125 kB / 380.2 MB, free: 0.6016 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.007475, allocations: 0 / 380.2 MB, free: 0.6016 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.78e-05/0.007503, allocations: 15.92 kB / 380.2 MB, free: 0.5859 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002898/0.007793, allocations: 288.3 kB / 380.5 MB, free: 284 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.97e-05/0.007853, allocations: 35.05 kB / 380.5 MB, free: 236 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.909e-05/0.007872, allocations: 15.62 kB / 380.5 MB, free: 216 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.257e-05/0.007894, allocations: 4 kB / 380.5 MB, free: 212 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.481e-05/0.007919, allocations: 41.33 kB / 380.6 MB, free: 160 kB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.00792, allocations: 0 / 380.6 MB, free: 160 kB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005121/0.008432, allocations: 149.5 kB / 380.7 MB, free: 4 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.44e-05/0.008477, allocations: 51.41 kB / 380.8 MB, free: 15.94 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000197/0.008674, allocations: 270.7 kB / 381 MB, free: 15.66 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.198e-05/0.008686, allocations: 25.7 kB / 381.1 MB, free: 15.62 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.533e-05/0.008771, allocations: 174.8 kB / 381.2 MB, free: 15.45 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.056e-05/0.008802, allocations: 27.8 kB / 381.3 MB, free: 15.42 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.08e-05/0.008842, allocations: 27.36 kB / 381.3 MB, free: 15.39 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001492/0.008992, allocations: 0.5001 MB / 381.8 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.021e-05/0.009012, allocations: 7.984 kB / 381.8 MB, free: 14.87 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.857e-05/0.00903, allocations: 8.078 kB / 381.8 MB, free: 14.86 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.168e-05/0.009082, allocations: 35.75 kB / 381.8 MB, free: 14.82 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.009084, allocations: 3.938 kB / 381.8 MB, free: 14.82 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001178/0.009202, allocations: 85.58 kB / 381.9 MB, free: 14.73 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.009214, allocations: 4 kB / 381.9 MB, free: 14.72 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.009219, allocations: 0 / 381.9 MB, free: 14.72 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.009232, allocations: 0 / 381.9 MB, free: 14.72 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.23e-05/0.009314, allocations: 19.98 kB / 381.9 MB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.926e-06/0.009317, allocations: 0 / 381.9 MB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.854e-05/0.009346, allocations: 3.938 kB / 381.9 MB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.616e-06/0.009354, allocations: 7.938 kB / 382 MB, free: 14.69 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 8.539e-05/0.00944, allocations: 160.5 kB / 382.1 MB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.757e-05/0.009477, allocations: 15.91 kB / 382.1 MB, free: 14.51 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000155/0.009632, allocations: 91.08 kB / 382.2 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.137e-06/0.009636, allocations: 4 kB / 382.2 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.272e-06/0.009638, allocations: 0 / 382.2 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.009641, allocations: 3.938 kB / 382.2 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003723/0.01001, allocations: 349.6 kB / 382.6 MB, free: 14.03 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.01002, allocations: 432 / 382.6 MB, free: 14.03 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.819e-05/0.01008, allocations: 23.92 kB / 382.6 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.01009, allocations: 0 / 382.6 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.901e-06/0.01009, allocations: 0 / 382.6 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.0101, allocations: 4 kB / 382.6 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.0101, allocations: 8.031 kB / 382.6 MB, free: 13.99 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001653/0.01026, allocations: 235.5 kB / 382.8 MB, free: 13.74 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.871e-05/0.01028, allocations: 19.89 kB / 382.8 MB, free: 13.72 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.483e-05/0.0103, allocations: 0 / 382.8 MB, free: 13.72 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.739e-05/0.01037, allocations: 11.98 kB / 382.9 MB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.658e-05/0.01039, allocations: 3.938 kB / 382.9 MB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.594e-06/0.0104, allocations: 7.984 kB / 382.9 MB, free: 13.7 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001094/0.01051, allocations: 180.1 kB / 383 MB, free: 13.52 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.01051, allocations: 0 / 383 MB, free: 13.52 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002991/0.01081, allocations: 23.98 kB / 383.1 MB, free: 13.5 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.001285/0.01209, allocations: 448 kB / 383.5 MB, free: 13.22 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001068/0.0122, allocations: 35.61 kB / 383.5 MB, free: 13.18 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.0122, allocations: 0 / 383.5 MB, free: 13.18 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.829e-05/0.01224, allocations: 31.66 kB / 383.6 MB, free: 13.14 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003276/0.01257, allocations: 19.98 kB / 383.6 MB, free: 13.12 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004472/0.01301, allocations: 263.2 kB / 383.9 MB, free: 12.84 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.648e-05/0.01307, allocations: 75.33 kB / 383.9 MB, free: 12.74 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.158e-05/0.01312, allocations: 13.03 kB / 383.9 MB, free: 12.73 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.856e-05/0.01319, allocations: 82.19 kB / 384 MB, free: 12.64 MB / 362.7 MB Notification: Performance of SimCode: time 6.81e-07/0.01319, allocations: 0 / 384 MB, free: 12.64 MB / 362.7 MB Notification: Performance of Templates: time 0.004079/0.01727, allocations: 1.527 MB / 385.5 MB, free: 11.13 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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: 2.8142956881783903]