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.0009757/0.0009757, allocations: 80.41 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.0009886/0.0009886, allocations: 167.6 kB / 25.61 MB, free: 8.902 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.9908/0.9908, allocations: 177.1 MB / 206 MB, free: 4.5 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.1383/0.1383, allocations: 32.8 MB / 295.4 MB, free: 15.41 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.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.854e-06/1.854e-06, allocations: 0 / 377.3 MB, free: 25.61 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.99e-05/2.175e-05, allocations: 2.312 kB / 377.3 MB, free: 25.61 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test20): time 0.002156/0.002178, allocations: 2.004 MB / 379.3 MB, free: 23.59 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001055/0.003233, allocations: 0.9965 MB / 380.3 MB, free: 22.59 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.915e-05/0.003322, allocations: 7.938 kB / 380.3 MB, free: 22.58 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003413/0.003663, allocations: 263 kB / 380.5 MB, free: 22.32 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003254/0.003989, allocations: 270.9 kB / 380.8 MB, free: 22.05 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006001/0.004589, allocations: 478.8 kB / 381.3 MB, free: 21.59 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002519/0.004841, allocations: 335 kB / 381.6 MB, free: 21.26 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001266/0.004967, allocations: 48.89 kB / 381.7 MB, free: 21.21 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001249/0.005092, allocations: 179.5 kB / 381.8 MB, free: 21.04 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001524/0.005245, allocations: 199.5 kB / 382 MB, free: 20.84 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.09e-05/0.005266, allocations: 12 kB / 382 MB, free: 20.83 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.139e-05/0.005357, allocations: 67.92 kB / 382.1 MB, free: 20.76 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 7.715e-05/0.005434, allocations: 99.66 kB / 382.2 MB, free: 20.66 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.586e-05/0.00547, allocations: 59.66 kB / 382.3 MB, free: 20.61 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002041/0.005674, allocations: 250.8 kB / 382.5 MB, free: 20.36 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.515e-06/0.005677, allocations: 0 / 382.5 MB, free: 20.36 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.91e-07/0.005677, allocations: 0 / 382.5 MB, free: 20.36 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.318e-06/0.005682, allocations: 0 / 382.5 MB, free: 20.36 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0004126/0.006094, allocations: 0.6893 MB / 383.2 MB, free: 19.63 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.776e-05/0.006132, allocations: 8.031 kB / 383.2 MB, free: 19.62 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.325e-05/0.006185, allocations: 52.64 kB / 383.2 MB, free: 19.57 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001746/0.00636, allocations: 266.7 kB / 383.5 MB, free: 19.29 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.122e-05/0.006371, allocations: 8.375 kB / 383.5 MB, free: 19.28 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.926e-05/0.00639, allocations: 12.38 kB / 383.5 MB, free: 19.27 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001044/0.006495, allocations: 90.91 kB / 383.6 MB, free: 19.17 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.006505, allocations: 4.141 kB / 383.6 MB, free: 19.16 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.167e-06/0.006514, allocations: 12.06 kB / 383.6 MB, free: 19.15 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.006519, allocations: 4 kB / 383.6 MB, free: 19.15 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.758e-05/0.006556, allocations: 31.91 kB / 383.7 MB, free: 19.12 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003071/0.006863, allocations: 411.9 kB / 384.1 MB, free: 18.69 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.266e-05/0.006936, allocations: 70.83 kB / 384.1 MB, free: 18.61 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.969e-05/0.006956, allocations: 23.67 kB / 384.2 MB, free: 18.58 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.818e-05/0.006974, allocations: 8 kB / 384.2 MB, free: 18.57 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.479e-05/0.006989, allocations: 37.39 kB / 384.2 MB, free: 18.52 MB / 314.7 MB Notification: Performance of pre-optimization done (n=11): time 9.31e-07/0.00699, allocations: 0 / 384.2 MB, free: 18.52 MB / 314.7 MB Notification: Performance of matching and sorting (n=17): time 0.0003968/0.007386, allocations: 257 kB / 384.5 MB, free: 18.27 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.738e-05/0.007404, allocations: 51.41 kB / 384.5 MB, free: 18.2 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001996/0.007603, allocations: 470.5 kB / 385 MB, free: 17.73 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.206e-06/0.007611, allocations: 33.7 kB / 385 MB, free: 17.69 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.981e-05/0.007691, allocations: 267.1 kB / 385.3 MB, free: 17.43 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.795e-05/0.007719, allocations: 59.47 kB / 385.3 MB, free: 17.37 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.457e-05/0.007754, allocations: 39.36 kB / 385.4 MB, free: 17.32 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.932e-05/0.007813, allocations: 0.539 MB / 385.9 MB, free: 16.77 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.356e-05/0.007837, allocations: 19.98 kB / 385.9 MB, free: 16.75 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.426e-05/0.007861, allocations: 19.98 kB / 385.9 MB, free: 16.73 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.951e-05/0.00792, allocations: 65.95 kB / 386 MB, free: 16.66 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.007921, allocations: 0 / 386 MB, free: 16.66 MB / 314.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001282/0.00805, allocations: 141.3 kB / 386.1 MB, free: 16.52 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.127e-05/0.008061, allocations: 9.719 kB / 386.1 MB, free: 16.51 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.008065, allocations: 0 / 386.1 MB, free: 16.51 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.198e-06/0.008074, allocations: 3.938 kB / 386.2 MB, free: 16.51 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.299e-05/0.008157, allocations: 31.98 kB / 386.2 MB, free: 16.48 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.887e-06/0.008161, allocations: 11.92 kB / 386.2 MB, free: 16.46 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.037e-05/0.008191, allocations: 7.953 kB / 386.2 MB, free: 16.46 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.983e-06/0.008198, allocations: 4 kB / 386.2 MB, free: 16.45 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 (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 5.775e-05/0.008256, allocations: 160.6 kB / 386.4 MB, free: 16.29 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.855e-05/0.008295, allocations: 51.7 kB / 386.4 MB, free: 16.23 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001723/0.008467, allocations: 173.5 kB / 386.6 MB, free: 16.05 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.008469, allocations: 3.938 kB / 386.6 MB, free: 16.05 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.733e-06/0.008471, allocations: 7.938 kB / 386.6 MB, free: 16.04 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.008474, allocations: 0 / 386.6 MB, free: 16.04 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003072/0.008781, allocations: 0.4919 MB / 387.1 MB, free: 15.52 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.008784, allocations: 7.938 kB / 387.1 MB, free: 15.51 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.777e-05/0.008841, allocations: 27.98 kB / 387.1 MB, free: 15.48 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.008844, allocations: 4 kB / 387.1 MB, free: 15.48 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.672e-06/0.008851, allocations: 4 kB / 387.1 MB, free: 15.47 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.008853, allocations: 0 / 387.1 MB, free: 15.47 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.008854, allocations: 4 kB / 387.1 MB, free: 15.47 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001327/0.008986, allocations: 303.5 kB / 387.4 MB, free: 15.15 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.844e-05/0.009005, allocations: 31.7 kB / 387.5 MB, free: 15.12 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.772e-05/0.009023, allocations: 0 / 387.5 MB, free: 15.12 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.346e-05/0.009066, allocations: 8 kB / 387.5 MB, free: 15.11 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.519e-05/0.009091, allocations: 15.97 kB / 387.5 MB, free: 15.1 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.052e-06/0.009097, allocations: 8 kB / 387.5 MB, free: 15.09 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001119/0.009209, allocations: 299 kB / 387.8 MB, free: 14.8 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.009209, allocations: 0 / 387.8 MB, free: 14.8 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001876/0.009397, allocations: 47.94 kB / 387.8 MB, free: 14.75 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 (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.00138/0.01078, allocations: 0.6549 MB / 388.5 MB, free: 14.39 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001138/0.01089, allocations: 91.47 kB / 388.6 MB, free: 14.29 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.01089, allocations: 0 / 388.6 MB, free: 14.29 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 4.07e-05/0.01093, allocations: 58.09 kB / 388.6 MB, free: 14.23 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003006/0.01123, allocations: 80.67 kB / 388.7 MB, free: 14.16 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004979/0.01173, allocations: 0.5708 MB / 389.3 MB, free: 13.57 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.732e-05/0.01178, allocations: 116.3 kB / 389.4 MB, free: 13.43 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 7.082e-05/0.01185, allocations: 45.89 kB / 389.4 MB, free: 13.39 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.607e-05/0.01195, allocations: 122.1 kB / 389.6 MB, free: 13.27 MB / 314.7 MB Notification: Performance of SimCode: time 1.253e-06/0.01195, allocations: 4 kB / 389.6 MB, free: 13.26 MB / 314.7 MB Notification: Performance of Templates: time 0.005399/0.01735, allocations: 3.738 MB / 393.3 MB, free: 9.582 MB / 314.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.3741798168048263]