Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.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.001035/0.001035, allocations: 76.31 kB / 22.21 MB, free: 2.289 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.0009815/0.0009815, allocations: 171.3 kB / 25.61 MB, free: 8.441 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.022/1.022, allocations: 177.2 MB / 206.1 MB, free: 4.477 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.1836/0.1836, allocations: 32.79 MB / 295.4 MB, free: 15.36 MB / 282.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.CombiTable2Ds.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 377.3 MB, free: 25.57 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.518e-05/2.68e-05, allocations: 2.312 kB / 377.3 MB, free: 25.57 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test27): time 0.005691/0.005718, allocations: 1.704 MB / 379 MB, free: 23.86 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008764/0.006595, allocations: 0.5335 MB / 379.5 MB, free: 23.32 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.575e-05/0.00667, allocations: 4 kB / 379.5 MB, free: 23.31 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002743/0.006945, allocations: 59.72 kB / 379.6 MB, free: 23.25 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000344/0.007289, allocations: 103.5 kB / 379.7 MB, free: 23.15 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003512/0.00764, allocations: 131.5 kB / 379.8 MB, free: 23.02 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001954/0.007835, allocations: 91.75 kB / 379.9 MB, free: 22.93 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001153/0.007951, allocations: 12.22 kB / 379.9 MB, free: 22.92 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001049/0.008055, allocations: 51.83 kB / 380 MB, free: 22.87 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001237/0.008179, allocations: 43.88 kB / 380 MB, free: 22.82 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.011e-05/0.008199, allocations: 4 kB / 380 MB, free: 22.82 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00013/0.008329, allocations: 51.92 kB / 380.1 MB, free: 22.77 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 9.566e-05/0.008425, allocations: 23.91 kB / 380.1 MB, free: 22.75 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.896e-05/0.008454, allocations: 11.94 kB / 380.1 MB, free: 22.73 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002181/0.008672, allocations: 99.64 kB / 380.2 MB, free: 22.64 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.008675, allocations: 4 kB / 380.2 MB, free: 22.63 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.008677, allocations: 3.938 kB / 380.2 MB, free: 22.63 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.372e-06/0.008683, allocations: 0 / 380.2 MB, free: 22.63 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000491/0.009174, allocations: 440 kB / 380.6 MB, free: 22.16 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.1e-05/0.009225, allocations: 15.98 kB / 380.7 MB, free: 22.15 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.175e-05/0.009277, allocations: 16.84 kB / 380.7 MB, free: 22.13 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001925/0.00947, allocations: 151.1 kB / 380.8 MB, free: 21.96 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.679e-05/0.009486, allocations: 4.375 kB / 380.8 MB, free: 21.96 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.884e-05/0.009515, allocations: 4.375 kB / 380.8 MB, free: 21.95 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001517/0.009667, allocations: 70.88 kB / 380.9 MB, free: 21.88 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/0.00968, allocations: 4.188 kB / 380.9 MB, free: 21.87 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.22e-05/0.009692, allocations: 4.125 kB / 380.9 MB, free: 21.87 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.0097, allocations: 0 / 380.9 MB, free: 21.87 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.721e-05/0.009738, allocations: 15.92 kB / 380.9 MB, free: 21.85 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003506/0.01009, allocations: 276.2 kB / 381.2 MB, free: 21.55 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001902/0.01028, allocations: 47.05 kB / 381.2 MB, free: 21.5 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.316e-05/0.0103, allocations: 19.61 kB / 381.3 MB, free: 21.47 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.066e-05/0.01032, allocations: 3.938 kB / 381.3 MB, free: 21.47 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.266e-05/0.01034, allocations: 37.39 kB / 381.3 MB, free: 21.42 MB / 314.7 MB Notification: Performance of pre-optimization done (n=5): time 2.314e-06/0.01035, allocations: 4 kB / 381.3 MB, free: 21.42 MB / 314.7 MB Notification: Performance of matching and sorting (n=11): time 0.0007189/0.01107, allocations: 220.2 kB / 381.5 MB, free: 21.2 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.8e-05/0.01109, allocations: 55.41 kB / 381.6 MB, free: 21.13 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001097/0.0112, allocations: 210.5 kB / 381.8 MB, free: 20.91 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.458e-06/0.01121, allocations: 25.7 kB / 381.8 MB, free: 20.88 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.445e-05/0.01126, allocations: 154.8 kB / 381.9 MB, free: 20.72 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.336e-05/0.01129, allocations: 39.64 kB / 382 MB, free: 20.68 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.26e-05/0.01133, allocations: 39.34 kB / 382 MB, free: 20.64 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.458e-05/0.0114, allocations: 0.4961 MB / 382.5 MB, free: 20.13 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.479e-05/0.01142, allocations: 11.98 kB / 382.5 MB, free: 20.12 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.403e-05/0.01145, allocations: 8 kB / 382.5 MB, free: 20.11 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.381e-05/0.01151, allocations: 55.53 kB / 382.6 MB, free: 20.05 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.01151, allocations: 0.5625 kB / 382.6 MB, free: 20.05 MB / 314.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001181/0.01163, allocations: 73.64 kB / 382.7 MB, free: 19.97 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.01165, allocations: 8 kB / 382.7 MB, free: 19.96 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.01165, allocations: 0 / 382.7 MB, free: 19.96 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.068e-05/0.01166, allocations: 0 / 382.7 MB, free: 19.96 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.34e-05/0.01176, allocations: 31.98 kB / 382.7 MB, free: 19.93 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.048e-06/0.01176, allocations: 4 kB / 382.7 MB, free: 19.93 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001175/0.01293, allocations: 7.984 kB / 382.7 MB, free: 19.92 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.651e-05/0.01295, allocations: 0 / 382.7 MB, free: 19.92 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 (11): * Single equations (assignments): 11 * 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 0.0001022/0.01305, allocations: 168.5 kB / 382.9 MB, free: 19.75 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.445e-05/0.01311, allocations: 19.84 kB / 382.9 MB, free: 19.73 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000235/0.01334, allocations: 98.86 kB / 383 MB, free: 19.62 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-06/0.01335, allocations: 4 kB / 383 MB, free: 19.62 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.01335, allocations: 0 / 383 MB, free: 19.62 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.01336, allocations: 7.984 kB / 383 MB, free: 19.61 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004408/0.0138, allocations: 377.2 kB / 383.4 MB, free: 19.2 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.0138, allocations: 0 / 383.4 MB, free: 19.2 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001027/0.0139, allocations: 23.98 kB / 383.4 MB, free: 19.18 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.649e-06/0.01391, allocations: 3.938 kB / 383.4 MB, free: 19.18 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.03e-05/0.01392, allocations: 11.98 kB / 383.4 MB, free: 19.16 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.908e-06/0.01392, allocations: 3.984 kB / 383.4 MB, free: 19.16 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.01392, allocations: 0 / 383.4 MB, free: 19.16 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001769/0.0141, allocations: 259.2 kB / 383.7 MB, free: 18.88 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.689e-05/0.01412, allocations: 15.95 kB / 383.7 MB, free: 18.86 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.676e-05/0.01414, allocations: 4 kB / 383.7 MB, free: 18.86 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.176e-05/0.01422, allocations: 8 kB / 383.7 MB, free: 18.85 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.204e-05/0.01426, allocations: 15.86 kB / 383.7 MB, free: 18.84 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.317e-06/0.01427, allocations: 4 kB / 383.7 MB, free: 18.83 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.793e-05/0.01434, allocations: 156.7 kB / 383.9 MB, free: 18.68 MB / 314.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01434, allocations: 0 / 383.9 MB, free: 18.68 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003089/0.01465, allocations: 31.92 kB / 383.9 MB, free: 18.65 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001391/0.01604, allocations: 435.4 kB / 384.3 MB, free: 18.38 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001074/0.01614, allocations: 51.55 kB / 384.4 MB, free: 18.33 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.01615, allocations: 0 / 384.4 MB, free: 18.33 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.082e-05/0.01618, allocations: 43.58 kB / 384.4 MB, free: 18.28 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002288/0.01641, allocations: 23.98 kB / 384.4 MB, free: 18.26 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003492/0.01675, allocations: 250.4 kB / 384.7 MB, free: 17.98 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.862e-05/0.01678, allocations: 75.2 kB / 384.8 MB, free: 17.89 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.94e-05/0.01682, allocations: 20.59 kB / 384.8 MB, free: 17.87 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.227e-05/0.01687, allocations: 82.2 kB / 384.9 MB, free: 17.79 MB / 314.7 MB Notification: Performance of SimCode: time 1.213e-06/0.01688, allocations: 0 / 384.9 MB, free: 17.79 MB / 314.7 MB Notification: Performance of Templates: time 0.003356/0.02023, allocations: 1.749 MB / 386.6 MB, free: 16.05 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/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.393901930656284]