Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test8.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.001221/0.001221, allocations: 81.95 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.001537/0.001537, allocations: 170.6 kB / 24.82 MB, free: 8.773 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.086/1.086, allocations: 177.1 MB / 205.3 MB, free: 5.523 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.3734/0.3734, allocations: 34.27 MB / 296.1 MB, free: 0.7148 MB / 266.7 MB " [Timeout remaining time 179] 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.CombiTable1Dv.Test8,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.CombiTable1Dv.Test8") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test8,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.CombiTable1Dv.Test8") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.315e-06/2.315e-06, allocations: 0 / 378.5 MB, free: 2.402 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.382e-05/3.614e-05, allocations: 6.25 kB / 378.5 MB, free: 2.395 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test8): time 0.003598/0.003634, allocations: 1.633 MB / 380.1 MB, free: 0.75 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009417/0.004576, allocations: 0.5336 MB / 380.7 MB, free: 216 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.84e-05/0.004654, allocations: 4 kB / 380.7 MB, free: 212 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002521/0.004907, allocations: 19.86 kB / 380.7 MB, free: 192 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003367/0.005243, allocations: 79.55 kB / 380.8 MB, free: 112 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004259/0.005669, allocations: 115.7 kB / 380.9 MB, free: 15.99 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001646/0.005834, allocations: 67.77 kB / 381 MB, free: 15.93 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001062/0.00594, allocations: 8 kB / 381 MB, free: 15.92 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.315e-05/0.006013, allocations: 35.81 kB / 381 MB, free: 15.89 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.04e-05/0.006073, allocations: 19.92 kB / 381 MB, free: 15.87 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.319e-05/0.006087, allocations: 0 / 381 MB, free: 15.87 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.426e-05/0.006181, allocations: 28 kB / 381.1 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.826e-05/0.006229, allocations: 19.91 kB / 381.1 MB, free: 15.82 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.567e-05/0.006255, allocations: 11.94 kB / 381.1 MB, free: 15.81 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001565/0.006411, allocations: 71.69 kB / 381.2 MB, free: 15.74 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.736e-06/0.006414, allocations: 4 kB / 381.2 MB, free: 15.73 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.006415, allocations: 0 / 381.2 MB, free: 15.73 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.449e-06/0.00642, allocations: 0 / 381.2 MB, free: 15.73 MB / 362.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.0004143/0.006834, allocations: 420.1 kB / 381.6 MB, free: 15.29 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/0.006877, allocations: 12.03 kB / 381.6 MB, free: 15.28 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.77e-05/0.006915, allocations: 8.891 kB / 381.6 MB, free: 15.27 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001403/0.007055, allocations: 140.4 kB / 381.7 MB, free: 15.11 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.406e-06/0.007064, allocations: 4.375 kB / 381.7 MB, free: 15.1 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.715e-05/0.007081, allocations: 384 / 381.7 MB, free: 15.1 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000111/0.007192, allocations: 58.89 kB / 381.8 MB, free: 15.04 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.007202, allocations: 4.188 kB / 381.8 MB, free: 15.03 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.267e-06/0.007211, allocations: 4.125 kB / 381.8 MB, free: 15.03 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.007217, allocations: 0 / 381.8 MB, free: 15.03 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.485e-05/0.007242, allocations: 11.98 kB / 381.8 MB, free: 15.02 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002757/0.007517, allocations: 252.4 kB / 382.1 MB, free: 14.74 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001413/0.007659, allocations: 47.05 kB / 382.1 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.769e-05/0.007676, allocations: 11.69 kB / 382.1 MB, free: 14.67 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.341e-05/0.0077, allocations: 0 / 382.1 MB, free: 14.67 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.484e-05/0.007725, allocations: 37.33 kB / 382.1 MB, free: 14.62 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 8.41e-07/0.007725, allocations: 4 kB / 382.1 MB, free: 14.62 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003038/0.008029, allocations: 93.58 kB / 382.2 MB, free: 14.52 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.292e-05/0.008062, allocations: 55.41 kB / 382.3 MB, free: 14.45 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001264/0.008189, allocations: 204.9 kB / 382.5 MB, free: 14.24 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.183e-05/0.0082, allocations: 25.7 kB / 382.5 MB, free: 14.21 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.968e-05/0.00828, allocations: 150.8 kB / 382.7 MB, free: 14.05 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.938e-05/0.008309, allocations: 15.86 kB / 382.7 MB, free: 14.04 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.408e-05/0.008354, allocations: 27.36 kB / 382.7 MB, free: 14 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001611/0.008515, allocations: 496.1 kB / 383.2 MB, free: 13.51 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.803e-05/0.008533, allocations: 7.984 kB / 383.2 MB, free: 13.5 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.526e-05/0.008548, allocations: 8 kB / 383.2 MB, free: 13.49 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.216e-05/0.00859, allocations: 31.61 kB / 383.2 MB, free: 13.46 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.008593, allocations: 3.938 kB / 383.2 MB, free: 13.45 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.683e-05/0.008679, allocations: 53.64 kB / 383.3 MB, free: 13.39 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.008693, allocations: 8 kB / 383.3 MB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.008699, allocations: 0 / 383.3 MB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.008714, allocations: 0 / 383.3 MB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.315e-05/0.008767, allocations: 11.98 kB / 383.3 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.525e-06/0.008769, allocations: 0 / 383.3 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.117e-05/0.008791, allocations: 4 kB / 383.3 MB, free: 13.37 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.753e-06/0.008797, allocations: 4 kB / 383.3 MB, free: 13.37 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 (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 7.511e-05/0.008873, allocations: 164.5 kB / 383.5 MB, free: 13.2 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.844e-05/0.008901, allocations: 11.95 kB / 383.5 MB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001311/0.009032, allocations: 70.06 kB / 383.6 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.009034, allocations: 0 / 383.6 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.944e-06/0.009036, allocations: 0 / 383.6 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.009039, allocations: 320 / 383.6 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002728/0.009312, allocations: 302 kB / 383.9 MB, free: 12.78 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/0.009314, allocations: 0 / 383.9 MB, free: 12.78 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.021e-05/0.009354, allocations: 15.98 kB / 383.9 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.009356, allocations: 0 / 383.9 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.08e-06/0.009361, allocations: 4 kB / 383.9 MB, free: 12.76 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.009363, allocations: 0 / 383.9 MB, free: 12.76 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.009364, allocations: 0 / 383.9 MB, free: 12.76 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001274/0.009491, allocations: 211.8 kB / 384.1 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.719e-06/0.009501, allocations: 7.953 kB / 384.1 MB, free: 12.53 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.209e-05/0.009513, allocations: 0 / 384.1 MB, free: 12.53 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.885e-05/0.009562, allocations: 7.984 kB / 384.1 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.613e-05/0.009588, allocations: 0 / 384.1 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.657e-06/0.009592, allocations: 0 / 384.1 MB, free: 12.52 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.913e-05/0.009661, allocations: 159.1 kB / 384.3 MB, free: 12.36 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.009661, allocations: 0 / 384.3 MB, free: 12.36 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002265/0.009887, allocations: 19.94 kB / 384.3 MB, free: 12.34 MB / 362.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.0009758/0.01086, allocations: 374.9 kB / 384.6 MB, free: 12.11 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001063/0.01097, allocations: 27.67 kB / 384.7 MB, free: 12.08 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.01097, allocations: 4 kB / 384.7 MB, free: 12.07 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.568e-05/0.011, allocations: 19.62 kB / 384.7 MB, free: 12.05 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000284/0.01128, allocations: 35.05 kB / 384.7 MB, free: 12.02 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003642/0.01165, allocations: 178.6 kB / 384.9 MB, free: 11.82 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.762e-05/0.0117, allocations: 67.34 kB / 385 MB, free: 11.73 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.867e-05/0.01173, allocations: 8 kB / 385 MB, free: 11.72 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.573e-05/0.0118, allocations: 86.12 kB / 385.1 MB, free: 11.64 MB / 362.7 MB Notification: Performance of SimCode: time 9.32e-07/0.0118, allocations: 0 / 385.1 MB, free: 11.64 MB / 362.7 MB Notification: Performance of Templates: time 0.003503/0.0153, allocations: 1.278 MB / 386.3 MB, free: 10.37 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test8.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test8.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test8 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test8/Test8.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.41930869827047]