Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.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.0009296/0.0009296, allocations: 91.33 kB / 20.43 MB, free: 4.145 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.001505/0.001505, allocations: 165 kB / 23.8 MB, free: 0.7773 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9015/0.9015, allocations: 158.6 MB / 185.7 MB, free: 2.918 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1525/0.1525, allocations: 32.37 MB / 270.4 MB, free: 14.7 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.CombiTable2D.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_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20") translateModel(ModelicaTest.Tables.CombiTable2D.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_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.853e-06/1.853e-06, allocations: 0 / 347.7 MB, free: 9.453 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.183e-05/2.368e-05, allocations: 6.312 kB / 347.7 MB, free: 9.445 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test20): time 0.007388/0.007412, allocations: 1.959 MB / 349.6 MB, free: 7.477 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009629/0.008375, allocations: 0.6697 MB / 350.3 MB, free: 6.801 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.91e-05/0.008464, allocations: 4 kB / 350.3 MB, free: 6.797 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004041/0.008868, allocations: 251.1 kB / 350.6 MB, free: 6.551 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003005/0.009168, allocations: 203.1 kB / 350.8 MB, free: 6.352 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003705/0.01287, allocations: 423.1 kB / 351.2 MB, free: 5.938 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002872/0.01316, allocations: 291.1 kB / 351.4 MB, free: 5.652 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001418/0.0133, allocations: 52.88 kB / 351.5 MB, free: 5.605 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001481/0.01345, allocations: 155.6 kB / 351.7 MB, free: 5.453 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001808/0.01363, allocations: 191.6 kB / 351.8 MB, free: 5.266 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.86e-05/0.01366, allocations: 12 kB / 351.9 MB, free: 5.254 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001109/0.01377, allocations: 79.77 kB / 351.9 MB, free: 5.176 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.552e-05/0.01387, allocations: 87.62 kB / 352 MB, free: 5.09 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.706e-05/0.01391, allocations: 47.78 kB / 352.1 MB, free: 5.043 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002612/0.01417, allocations: 235 kB / 352.3 MB, free: 4.812 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.01418, allocations: 0 / 352.3 MB, free: 4.812 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.01418, allocations: 0 / 352.3 MB, free: 4.812 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.469e-06/0.01418, allocations: 0 / 352.3 MB, free: 4.812 MB / 282.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.000527/0.01471, allocations: 0.6544 MB / 352.9 MB, free: 4.121 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.01475, allocations: 12.03 kB / 353 MB, free: 4.109 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.617e-05/0.01481, allocations: 44.7 kB / 353 MB, free: 4.066 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000225/0.01504, allocations: 250.8 kB / 353.2 MB, free: 3.793 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.707e-05/0.01505, allocations: 8.375 kB / 353.3 MB, free: 3.785 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.419e-05/0.0151, allocations: 12.38 kB / 353.3 MB, free: 3.773 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003259/0.01836, allocations: 94.92 kB / 353.4 MB, free: 3.672 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.967e-05/0.01839, allocations: 8.109 kB / 353.4 MB, free: 3.664 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.939e-05/0.01841, allocations: 12.12 kB / 353.4 MB, free: 3.652 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.126e-05/0.01842, allocations: 3.984 kB / 353.4 MB, free: 3.648 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001216/0.01854, allocations: 35.97 kB / 353.4 MB, free: 3.613 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006019/0.01914, allocations: 463.3 kB / 353.9 MB, free: 3.125 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000133/0.01927, allocations: 78.97 kB / 353.9 MB, free: 3.035 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.121e-05/0.01932, allocations: 27.67 kB / 354 MB, free: 3.004 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.946e-05/0.01935, allocations: 0 / 354 MB, free: 3.004 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.862e-05/0.01936, allocations: 41.39 kB / 354 MB, free: 2.953 MB / 282.7 MB Notification: Performance of pre-optimization done (n=11): time 1.213e-06/0.01937, allocations: 0 / 354 MB, free: 2.953 MB / 282.7 MB Notification: Performance of matching and sorting (n=17): time 0.000677/0.02004, allocations: 312.7 kB / 354.3 MB, free: 2.641 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.191e-05/0.02006, allocations: 59.34 kB / 354.4 MB, free: 2.57 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003119/0.02038, allocations: 454.6 kB / 354.8 MB, free: 2.109 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.378e-05/0.02039, allocations: 29.7 kB / 354.9 MB, free: 2.074 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.452e-05/0.02048, allocations: 251.2 kB / 355.1 MB, free: 1.824 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.871e-05/0.02052, allocations: 59.44 kB / 355.2 MB, free: 1.766 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.008e-05/0.02057, allocations: 39.36 kB / 355.2 MB, free: 1.719 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.096e-05/0.02064, allocations: 0.5235 MB / 355.7 MB, free: 1.184 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.745e-05/0.02069, allocations: 27.97 kB / 355.7 MB, free: 1.156 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.579e-05/0.02074, allocations: 34.17 kB / 355.8 MB, free: 1.125 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001028/0.02084, allocations: 71.59 kB / 355.8 MB, free: 1.051 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.02084, allocations: 0 / 355.8 MB, free: 1.051 MB / 282.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001907/0.02103, allocations: 159.9 kB / 356 MB, free: 0.8906 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.02105, allocations: 11.88 kB / 356 MB, free: 0.8789 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.02105, allocations: 0 / 356 MB, free: 0.8789 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003042/0.0241, allocations: 4 kB / 356 MB, free: 0.875 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001792/0.02428, allocations: 31.98 kB / 356 MB, free: 0.8438 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.02428, allocations: 0 / 356 MB, free: 0.8438 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.331e-05/0.02434, allocations: 8 kB / 356.1 MB, free: 0.8359 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.218e-05/0.02435, allocations: 4 kB / 356.1 MB, free: 0.832 MB / 282.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.496e-05/0.02443, allocations: 160.5 kB / 356.2 MB, free: 0.6641 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.082e-05/0.02449, allocations: 51.69 kB / 356.3 MB, free: 0.6133 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002869/0.02478, allocations: 181.2 kB / 356.4 MB, free: 436 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.02478, allocations: 0 / 356.4 MB, free: 436 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.02479, allocations: 4 kB / 356.4 MB, free: 432 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.02479, allocations: 7.984 kB / 356.5 MB, free: 424 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005818/0.02537, allocations: 0.5376 MB / 357 MB, free: 15.84 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.02538, allocations: 0 / 357 MB, free: 15.84 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001002/0.02548, allocations: 31.92 kB / 357 MB, free: 15.8 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.02548, allocations: 4 kB / 357 MB, free: 15.8 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.134e-05/0.02549, allocations: 4 kB / 357 MB, free: 15.8 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.427e-06/0.02549, allocations: 4 kB / 357 MB, free: 15.79 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.0255, allocations: 4 kB / 357 MB, free: 15.79 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002642/0.02576, allocations: 313.8 kB / 357.3 MB, free: 15.46 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.858e-05/0.02579, allocations: 27.81 kB / 357.4 MB, free: 15.44 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.415e-05/0.02581, allocations: 8 kB / 357.4 MB, free: 15.43 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.914e-05/0.02588, allocations: 0 / 357.4 MB, free: 15.43 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.95e-05/0.02593, allocations: 19.97 kB / 357.4 MB, free: 15.41 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.268e-05/0.02595, allocations: 4 kB / 357.4 MB, free: 15.41 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002445/0.02619, allocations: 295.1 kB / 357.7 MB, free: 15.12 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02619, allocations: 0 / 357.7 MB, free: 15.12 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002992/0.02649, allocations: 51.92 kB / 357.7 MB, free: 15.07 MB / 298.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.004221/0.03071, allocations: 0.6493 MB / 358.4 MB, free: 14.52 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002049/0.03092, allocations: 91.58 kB / 358.5 MB, free: 14.43 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.03092, allocations: 0 / 358.5 MB, free: 14.43 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.545e-05/0.03099, allocations: 62.72 kB / 358.5 MB, free: 14.36 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004419/0.03143, allocations: 88.61 kB / 358.6 MB, free: 14.28 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007841/0.03222, allocations: 0.5512 MB / 359.2 MB, free: 13.7 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.519e-05/0.0323, allocations: 107.9 kB / 359.3 MB, free: 13.57 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001021/0.03241, allocations: 45.91 kB / 359.3 MB, free: 13.53 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.351e-05/0.03247, allocations: 24.5 kB / 359.4 MB, free: 13.5 MB / 298.7 MB Notification: Performance of SimCode: time 8.92e-07/0.03247, allocations: 0 / 359.4 MB, free: 13.5 MB / 298.7 MB Notification: Performance of Templates: time 0.006599/0.03907, allocations: 3.258 MB / 362.6 MB, free: 10.26 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/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.2681387420743704]