Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.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.0009382/0.0009382, allocations: 80.92 kB / 21.5 MB, free: 2.992 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.0009892/0.0009892, allocations: 170.2 kB / 24.92 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 0.9426/0.9426, allocations: 177.1 MB / 205.3 MB, free: 4.48 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.1362/0.1362, allocations: 32.79 MB / 294.6 MB, free: 15.43 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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.914e-06/1.914e-06, allocations: 0 / 323.3 MB, free: 2.719 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.723e-05/1.915e-05, allocations: 2.312 kB / 323.3 MB, free: 2.715 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test4): time 0.00296/0.002979, allocations: 1.728 MB / 325 MB, free: 0.9766 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009358/0.003915, allocations: 0.5568 MB / 325.6 MB, free: 424 kB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.947e-05/0.003964, allocations: 0 / 325.6 MB, free: 424 kB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005801/0.004544, allocations: 463 kB / 326 MB, free: 15.96 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004263/0.00497, allocations: 287.2 kB / 326.3 MB, free: 15.68 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002847/0.005255, allocations: 123.6 kB / 326.4 MB, free: 15.56 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002271/0.005482, allocations: 175.6 kB / 326.6 MB, free: 15.39 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.812e-05/0.00557, allocations: 19.92 kB / 326.6 MB, free: 15.37 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001484/0.005719, allocations: 115.8 kB / 326.7 MB, free: 15.25 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002073/0.005926, allocations: 199.6 kB / 326.9 MB, free: 15.06 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.642e-05/0.005943, allocations: 4 kB / 326.9 MB, free: 15.05 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.082e-05/0.006023, allocations: 31.98 kB / 327 MB, free: 15.02 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001126/0.006136, allocations: 87.7 kB / 327 MB, free: 14.94 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 4.125e-05/0.006177, allocations: 31.75 kB / 327.1 MB, free: 14.91 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002472/0.006424, allocations: 199.1 kB / 327.3 MB, free: 14.71 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.853e-06/0.006426, allocations: 0 / 327.3 MB, free: 14.71 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.006427, allocations: 0 / 327.3 MB, free: 14.71 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.017e-06/0.006431, allocations: 0 / 327.3 MB, free: 14.71 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.0005247/0.006956, allocations: 0.5489 MB / 327.8 MB, free: 14.14 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.384e-05/0.00699, allocations: 11.98 kB / 327.8 MB, free: 14.12 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.674e-05/0.007036, allocations: 28.91 kB / 327.9 MB, free: 14.1 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002228/0.007259, allocations: 242 kB / 328.1 MB, free: 13.84 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.167e-06/0.007268, allocations: 384 / 328.1 MB, free: 13.84 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.034e-05/0.007289, allocations: 12.31 kB / 328.1 MB, free: 13.82 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001041/0.007393, allocations: 58.92 kB / 328.2 MB, free: 13.76 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.007404, allocations: 192 / 328.2 MB, free: 13.76 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.626e-06/0.007412, allocations: 4.125 kB / 328.2 MB, free: 13.75 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.007419, allocations: 0 / 328.2 MB, free: 13.75 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.685e-05/0.007446, allocations: 12 kB / 328.2 MB, free: 13.74 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000241/0.007687, allocations: 168.4 kB / 328.3 MB, free: 13.56 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001149/0.007802, allocations: 26.52 kB / 328.4 MB, free: 13.53 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.255e-05/0.007814, allocations: 12.94 kB / 328.4 MB, free: 13.51 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.298e-05/0.007827, allocations: 0 / 328.4 MB, free: 13.51 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.949e-05/0.007847, allocations: 38.5 kB / 328.4 MB, free: 13.46 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 1.653e-06/0.007848, allocations: 3.984 kB / 328.4 MB, free: 13.46 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002499/0.008098, allocations: 97.47 kB / 328.5 MB, free: 13.36 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.934e-05/0.008127, allocations: 59.41 kB / 328.6 MB, free: 13.29 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003124/0.00844, allocations: 0.5244 MB / 329.1 MB, free: 12.75 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.018e-05/0.00845, allocations: 29.7 kB / 329.1 MB, free: 12.71 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.62e-05/0.008506, allocations: 141.3 kB / 329.3 MB, free: 12.57 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.475e-05/0.008531, allocations: 19.83 kB / 329.3 MB, free: 12.55 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.824e-05/0.008559, allocations: 17.7 kB / 329.3 MB, free: 12.53 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.842e-05/0.008658, allocations: 354.7 kB / 329.7 MB, free: 12.17 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.187e-05/0.008669, allocations: 8 kB / 329.7 MB, free: 12.16 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.08e-05/0.00868, allocations: 7.984 kB / 329.7 MB, free: 12.16 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.958e-05/0.00871, allocations: 16.8 kB / 329.7 MB, free: 12.14 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.008711, allocations: 0 / 329.7 MB, free: 12.14 MB / 314.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.936e-05/0.008781, allocations: 69.59 kB / 329.8 MB, free: 12.06 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.129e-05/0.008792, allocations: 11.94 kB / 329.8 MB, free: 12.05 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.008796, allocations: 0 / 329.8 MB, free: 12.05 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.034e-05/0.008806, allocations: 0 / 329.8 MB, free: 12.05 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.39e-05/0.00885, allocations: 11.98 kB / 329.8 MB, free: 12.04 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.374e-06/0.008853, allocations: 4 kB / 329.8 MB, free: 12.04 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.159e-05/0.008874, allocations: 0 / 329.8 MB, free: 12.04 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.562e-06/0.008881, allocations: 4 kB / 329.8 MB, free: 12.03 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 (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 6.997e-05/0.008951, allocations: 116.6 kB / 329.9 MB, free: 11.91 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.803e-05/0.008979, allocations: 27.91 kB / 329.9 MB, free: 11.88 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000109/0.009088, allocations: 81.23 kB / 330 MB, free: 11.79 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.009089, allocations: 4 kB / 330 MB, free: 11.79 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.242e-06/0.009091, allocations: 320 / 330 MB, free: 11.79 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.009094, allocations: 0 / 330 MB, free: 11.79 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002227/0.009316, allocations: 282.6 kB / 330.3 MB, free: 11.49 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.009317, allocations: 0 / 330.3 MB, free: 11.49 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.995e-05/0.009347, allocations: 11.98 kB / 330.3 MB, free: 11.48 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.225e-06/0.00935, allocations: 0 / 330.3 MB, free: 11.48 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.248e-06/0.009354, allocations: 0 / 330.3 MB, free: 11.48 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.009356, allocations: 4 kB / 330.3 MB, free: 11.47 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.009357, allocations: 0 / 330.3 MB, free: 11.47 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.193e-05/0.009449, allocations: 167.4 kB / 330.5 MB, free: 11.29 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.243e-05/0.009471, allocations: 35.66 kB / 330.5 MB, free: 11.26 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.389e-05/0.009485, allocations: 4 kB / 330.5 MB, free: 11.25 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.708e-05/0.009522, allocations: 4 kB / 330.5 MB, free: 11.25 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.285e-05/0.009545, allocations: 3.984 kB / 330.5 MB, free: 11.25 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.415e-06/0.009548, allocations: 0 / 330.5 MB, free: 11.25 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001792/0.009727, allocations: 283.2 kB / 330.8 MB, free: 10.97 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009727, allocations: 0 / 330.8 MB, free: 10.97 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001377/0.009865, allocations: 20 kB / 330.8 MB, free: 10.95 MB / 314.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.001066/0.01093, allocations: 0.4993 MB / 331.3 MB, free: 10.68 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 6.259e-05/0.01099, allocations: 24.78 kB / 331.3 MB, free: 10.65 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.202e-05/0.011, allocations: 4 kB / 331.3 MB, free: 10.65 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.79e-05/0.01102, allocations: 20.8 kB / 331.4 MB, free: 10.62 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001747/0.0112, allocations: 25.89 kB / 331.4 MB, free: 10.6 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005588/0.01176, allocations: 0.5729 MB / 332 MB, free: 10 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.388e-05/0.01183, allocations: 119.2 kB / 332.1 MB, free: 9.863 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.295e-05/0.01186, allocations: 20.22 kB / 332.1 MB, free: 9.844 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.159e-05/0.01191, allocations: 55.38 kB / 332.1 MB, free: 9.789 MB / 314.7 MB Notification: Performance of SimCode: time 8.11e-07/0.01192, allocations: 0 / 332.1 MB, free: 9.789 MB / 314.7 MB Notification: Performance of Templates: time 0.003714/0.01563, allocations: 1.452 MB / 333.6 MB, free: 8.344 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test4/Test4.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.866072520148009]