Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.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.001062/0.001062, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.00111/0.00111, allocations: 165 kB / 24.56 MB, free: 16 kB / 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.9754/0.9754, allocations: 177.2 MB / 205 MB, free: 5.289 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.2716/0.2716, allocations: 32.81 MB / 294.3 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.CombiTable2Ds.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.[0-9,]+.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.[0-9,]+.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.482e-06/1.482e-06, allocations: 0 / 376 MB, free: 4.676 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.467e-05/2.615e-05, allocations: 2.312 kB / 376 MB, free: 4.672 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test20): time 0.002841/0.002868, allocations: 2.035 MB / 378.1 MB, free: 2.621 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001348/0.004216, allocations: 1.008 MB / 379.1 MB, free: 1.605 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001191/0.004335, allocations: 4 kB / 379.1 MB, free: 1.602 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004185/0.004753, allocations: 266.9 kB / 379.3 MB, free: 1.34 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000449/0.005203, allocations: 266.9 kB / 379.6 MB, free: 1.078 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007816/0.005984, allocations: 478.8 kB / 380.1 MB, free: 0.6094 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003668/0.006351, allocations: 331 kB / 380.4 MB, free: 292 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001552/0.006506, allocations: 48.89 kB / 380.4 MB, free: 244 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001788/0.006685, allocations: 179.4 kB / 380.6 MB, free: 64 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001993/0.006884, allocations: 203.5 kB / 380.8 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.296e-05/0.006907, allocations: 8 kB / 380.8 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001243/0.007032, allocations: 75.84 kB / 380.9 MB, free: 15.78 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 9.835e-05/0.00713, allocations: 99.61 kB / 381 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.268e-05/0.007183, allocations: 51.72 kB / 381 MB, free: 15.63 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002951/0.007478, allocations: 246.9 kB / 381.3 MB, free: 15.39 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/0.007481, allocations: 0 / 381.3 MB, free: 15.39 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.007482, allocations: 4 kB / 381.3 MB, free: 15.39 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.111e-06/0.007488, allocations: 0 / 381.3 MB, free: 15.39 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.00058/0.008068, allocations: 0.6971 MB / 382 MB, free: 14.65 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/0.008104, allocations: 11.98 kB / 382 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.485e-05/0.008179, allocations: 56.61 kB / 382.1 MB, free: 14.59 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002419/0.008421, allocations: 258.8 kB / 382.3 MB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.466e-05/0.008435, allocations: 12.36 kB / 382.3 MB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.729e-05/0.008463, allocations: 16.33 kB / 382.3 MB, free: 14.28 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001611/0.008624, allocations: 90.92 kB / 382.4 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.574e-05/0.008639, allocations: 4.188 kB / 382.4 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.706e-05/0.008656, allocations: 8.125 kB / 382.4 MB, free: 14.17 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.063e-05/0.008667, allocations: 11.98 kB / 382.4 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.966e-05/0.008737, allocations: 40.56 kB / 382.5 MB, free: 14.12 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004824/0.009219, allocations: 471.3 kB / 382.9 MB, free: 13.62 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001067/0.009326, allocations: 74.97 kB / 383 MB, free: 13.54 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.497e-05/0.009361, allocations: 23.69 kB / 383 MB, free: 13.51 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.242e-05/0.009383, allocations: 7.984 kB / 383 MB, free: 13.5 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.042e-05/0.009404, allocations: 33.39 kB / 383.1 MB, free: 13.46 MB / 362.7 MB Notification: Performance of pre-optimization done (n=11): time 1.343e-06/0.009405, allocations: 0 / 383.1 MB, free: 13.46 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.0005539/0.009959, allocations: 326.6 kB / 383.4 MB, free: 13.13 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.156e-05/0.00999, allocations: 55.41 kB / 383.5 MB, free: 13.07 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003595/0.01035, allocations: 490.7 kB / 383.9 MB, free: 12.57 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.403e-05/0.01036, allocations: 25.7 kB / 384 MB, free: 12.54 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001187/0.01048, allocations: 259.2 kB / 384.2 MB, free: 12.28 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.054e-05/0.01052, allocations: 63.47 kB / 384.3 MB, free: 12.22 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.294e-05/0.01057, allocations: 39.36 kB / 384.3 MB, free: 12.17 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001363/0.0107, allocations: 0.5313 MB / 384.8 MB, free: 11.63 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.168e-05/0.01074, allocations: 27.89 kB / 384.9 MB, free: 11.6 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.705e-05/0.01078, allocations: 23.98 kB / 384.9 MB, free: 11.58 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.177e-05/0.01087, allocations: 77.86 kB / 385 MB, free: 11.5 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.01087, allocations: 0 / 385 MB, free: 11.5 MB / 362.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001698/0.01104, allocations: 169.2 kB / 385.1 MB, free: 11.33 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.01106, allocations: 14.42 kB / 385.2 MB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.01106, allocations: 0 / 385.2 MB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.01108, allocations: 7.938 kB / 385.2 MB, free: 11.31 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001071/0.01119, allocations: 27.98 kB / 385.2 MB, free: 11.28 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.01119, allocations: 0 / 385.2 MB, free: 11.28 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.024e-05/0.01123, allocations: 12 kB / 385.2 MB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.646e-06/0.01124, allocations: 4 kB / 385.2 MB, free: 11.27 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 (17): * Single equations (assignments): 17 * 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.452e-05/0.01133, allocations: 172.4 kB / 385.4 MB, free: 11.09 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.818e-05/0.01137, allocations: 55.7 kB / 385.4 MB, free: 11.03 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002344/0.01161, allocations: 177.6 kB / 385.6 MB, free: 10.85 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.01161, allocations: 4 kB / 385.6 MB, free: 10.84 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.01161, allocations: 0 / 385.6 MB, free: 10.84 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.01162, allocations: 0 / 385.6 MB, free: 10.84 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004536/0.01207, allocations: 0.5595 MB / 386.2 MB, free: 10.24 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.01207, allocations: 0 / 386.2 MB, free: 10.24 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.45e-05/0.01214, allocations: 31.98 kB / 386.2 MB, free: 10.21 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/0.01214, allocations: 4 kB / 386.2 MB, free: 10.21 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.077e-06/0.01215, allocations: 3.984 kB / 386.2 MB, free: 10.2 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.724e-06/0.01215, allocations: 4 kB / 386.2 MB, free: 10.2 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.01215, allocations: 4 kB / 386.2 MB, free: 10.2 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000198/0.01235, allocations: 316.1 kB / 386.5 MB, free: 9.867 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.18e-05/0.01237, allocations: 31.75 kB / 386.5 MB, free: 9.836 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.123e-05/0.01239, allocations: 8 kB / 386.6 MB, free: 9.828 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.403e-05/0.01244, allocations: 4 kB / 386.6 MB, free: 9.824 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.351e-05/0.01247, allocations: 7.984 kB / 386.6 MB, free: 9.816 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.193e-06/0.01248, allocations: 11.98 kB / 386.6 MB, free: 9.805 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001988/0.01268, allocations: 319.1 kB / 386.9 MB, free: 9.496 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01268, allocations: 0 / 386.9 MB, free: 9.496 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000198/0.01288, allocations: 59.88 kB / 386.9 MB, free: 9.438 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 (17): * Single equations (assignments): 17 * 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.001362/0.01424, allocations: 0.6523 MB / 387.6 MB, free: 9.07 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001658/0.0144, allocations: 95.48 kB / 387.7 MB, free: 8.973 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.0144, allocations: 0 / 387.7 MB, free: 8.973 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.841e-05/0.01446, allocations: 66.09 kB / 387.8 MB, free: 8.906 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003439/0.01481, allocations: 99.31 kB / 387.9 MB, free: 8.816 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006493/0.01546, allocations: 0.5768 MB / 388.4 MB, free: 8.211 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.806e-05/0.01552, allocations: 112.3 kB / 388.5 MB, free: 8.082 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.268e-05/0.01561, allocations: 41.92 kB / 388.6 MB, free: 8.043 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.065e-05/0.01566, allocations: 36.48 kB / 388.6 MB, free: 8.008 MB / 362.7 MB Notification: Performance of SimCode: time 1.472e-06/0.01566, allocations: 0 / 388.6 MB, free: 8.008 MB / 362.7 MB Notification: Performance of Templates: time 0.005605/0.02126, allocations: 3.639 MB / 392.3 MB, free: 4.414 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test20/Test20.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.165901273023337]