Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test15.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.001009/0.001009, allocations: 75.59 kB / 21.18 MB, free: 3.391 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.0009715/0.0009715, allocations: 161.4 kB / 24.56 MB, free: 20 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.9594/0.9594, allocations: 177.1 MB / 205 MB, free: 5.27 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2734/0.2734, allocations: 34.26 MB / 295.7 MB, free: 0.7031 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test15") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test15") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.134e-06/2.134e-06, allocations: 0 / 378 MB, free: 2.652 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.706e-05/2.92e-05, allocations: 2.312 kB / 378 MB, free: 2.648 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test15): time 0.002733/0.002762, allocations: 1.71 MB / 379.8 MB, free: 0.9219 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006978/0.00346, allocations: 0.7986 MB / 380.6 MB, free: 124 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.426e-05/0.003504, allocations: 3.938 kB / 380.6 MB, free: 120 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003025/0.003806, allocations: 31.78 kB / 380.6 MB, free: 88 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002464/0.004053, allocations: 35.83 kB / 380.6 MB, free: 52 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.527e-06/0.004056, allocations: 0 / 380.6 MB, free: 52 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001743/0.004231, allocations: 39.83 kB / 380.7 MB, free: 12 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.645e-05/0.004267, allocations: 4 kB / 380.7 MB, free: 8 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.863e-05/0.004316, allocations: 15.97 kB / 380.7 MB, free: 15.99 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.158e-05/0.004367, allocations: 15.92 kB / 380.7 MB, free: 15.98 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.183e-05/0.004379, allocations: 0 / 380.7 MB, free: 15.98 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.245e-05/0.004432, allocations: 12 kB / 380.7 MB, free: 15.96 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.375e-05/0.004475, allocations: 19.88 kB / 380.7 MB, free: 15.95 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.134e-05/0.004497, allocations: 7.938 kB / 380.7 MB, free: 15.94 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000128/0.004625, allocations: 51.77 kB / 380.8 MB, free: 15.89 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.004627, allocations: 0 / 380.8 MB, free: 15.89 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.004628, allocations: 0 / 380.8 MB, free: 15.89 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.999e-06/0.004633, allocations: 4 kB / 380.8 MB, free: 15.88 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0003209/0.004954, allocations: 400.3 kB / 381.2 MB, free: 15.45 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.673e-05/0.004991, allocations: 12.03 kB / 381.2 MB, free: 15.44 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.25e-05/0.005033, allocations: 12.88 kB / 381.2 MB, free: 15.43 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001168/0.00515, allocations: 120.5 kB / 381.3 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.095e-05/0.005161, allocations: 384 / 381.3 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.087e-05/0.005172, allocations: 384 / 381.3 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001476/0.00532, allocations: 112.3 kB / 381.4 MB, free: 15.14 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.749e-06/0.005329, allocations: 192 / 381.4 MB, free: 15.14 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.151e-05/0.005341, allocations: 4.359 kB / 381.4 MB, free: 15.14 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-05/0.005389, allocations: 28.34 kB / 381.5 MB, free: 15.11 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.646e-05/0.005425, allocations: 27.86 kB / 381.5 MB, free: 15.09 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005849/0.00601, allocations: 1.2 MB / 382.7 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001141/0.006124, allocations: 269.5 kB / 383 MB, free: 13.55 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.177e-05/0.006166, allocations: 126.9 kB / 383.1 MB, free: 13.42 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.527e-05/0.006202, allocations: 119.2 kB / 383.2 MB, free: 13.3 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.671e-05/0.006258, allocations: 156.6 kB / 383.3 MB, free: 13.14 MB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 1.773e-06/0.00626, allocations: 0 / 383.3 MB, free: 13.14 MB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 7.859e-05/0.006339, allocations: 41.58 kB / 383.4 MB, free: 13.09 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.121e-05/0.0064, allocations: 182.5 kB / 383.6 MB, free: 12.9 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001571/0.006557, allocations: 243 kB / 383.8 MB, free: 12.64 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.455e-06/0.006565, allocations: 25.7 kB / 383.8 MB, free: 12.61 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.178e-05/0.006647, allocations: 214.2 kB / 384 MB, free: 12.4 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.626e-06/0.006651, allocations: 0 / 384 MB, free: 12.4 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.574e-05/0.006696, allocations: 55.31 kB / 384.1 MB, free: 12.34 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001115/0.006808, allocations: 0.4884 MB / 384.6 MB, free: 11.84 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.595e-05/0.006834, allocations: 15.98 kB / 384.6 MB, free: 11.82 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.542e-05/0.006929, allocations: 196 kB / 384.8 MB, free: 11.55 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001507/0.00708, allocations: 233.4 kB / 385 MB, free: 11.23 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/0.007083, allocations: 0 / 385 MB, free: 11.23 MB / 362.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000202/0.007285, allocations: 169.6 kB / 385.2 MB, free: 11.06 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.007301, allocations: 10.19 kB / 385.2 MB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.007308, allocations: 4 kB / 385.2 MB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.101e-05/0.007329, allocations: 11.94 kB / 385.2 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.357e-05/0.007422, allocations: 43.92 kB / 385.3 MB, free: 11 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.00743, allocations: 4 kB / 385.3 MB, free: 10.99 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.554e-05/0.007485, allocations: 27.72 kB / 385.3 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.023e-05/0.007495, allocations: 16 kB / 385.3 MB, free: 10.95 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.899e-05/0.007584, allocations: 283.9 kB / 385.6 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.449e-05/0.007639, allocations: 164.8 kB / 385.7 MB, free: 10.49 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.508e-05/0.007694, allocations: 152.7 kB / 385.9 MB, free: 10.34 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.826e-05/0.007752, allocations: 280 kB / 386.2 MB, free: 10.06 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.79e-05/0.00781, allocations: 268.2 kB / 386.4 MB, free: 9.789 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.955e-05/0.00787, allocations: 268.1 kB / 386.7 MB, free: 9.52 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001811/0.008051, allocations: 0.5116 MB / 387.2 MB, free: 8.965 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.218e-05/0.008083, allocations: 144.9 kB / 387.3 MB, free: 8.816 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.281e-05/0.008116, allocations: 156.8 kB / 387.5 MB, free: 8.656 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.724e-05/0.008173, allocations: 268.1 kB / 387.8 MB, free: 8.387 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.692e-05/0.00823, allocations: 268.1 kB / 388 MB, free: 8.117 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.597e-05/0.008286, allocations: 276 kB / 388.3 MB, free: 7.84 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.544e-05/0.008341, allocations: 268 kB / 388.5 MB, free: 7.57 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001324/0.008474, allocations: 455.9 kB / 389 MB, free: 7.098 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.368e-05/0.008517, allocations: 160.8 kB / 389.1 MB, free: 6.934 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.623e-05/0.008584, allocations: 264.1 kB / 389.4 MB, free: 6.668 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.524e-05/0.008639, allocations: 152.9 kB / 389.6 MB, free: 6.512 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.008e-05/0.008699, allocations: 272 kB / 389.8 MB, free: 6.238 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.44e-05/0.008733, allocations: 144.9 kB / 390 MB, free: 6.09 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.137e-05/0.008805, allocations: 159.3 kB / 390.1 MB, free: 5.934 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008805, allocations: 0 / 390.1 MB, free: 5.934 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001903/0.008995, allocations: 16 kB / 390.1 MB, free: 5.918 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 (0): * Single equations (assignments): 0 * 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.0004448/0.00944, allocations: 310.6 kB / 390.4 MB, free: 5.645 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001224/0.009562, allocations: 71.47 kB / 390.5 MB, free: 5.57 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.009564, allocations: 0 / 390.5 MB, free: 5.57 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.697e-06/0.009568, allocations: 3.938 kB / 390.5 MB, free: 5.566 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002892/0.009857, allocations: 0.7113 MB / 391.2 MB, free: 4.852 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000293/0.01015, allocations: 281.3 kB / 391.5 MB, free: 4.547 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.036e-05/0.01019, allocations: 67.83 kB / 391.6 MB, free: 4.457 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.427e-05/0.01027, allocations: 41.09 kB / 391.6 MB, free: 4.418 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.692e-05/0.0103, allocations: 24.48 kB / 391.6 MB, free: 4.395 MB / 362.7 MB Notification: Performance of SimCode: time 1.022e-06/0.0103, allocations: 0 / 391.6 MB, free: 4.395 MB / 362.7 MB Notification: Performance of Templates: time 0.002528/0.01283, allocations: 0.7401 MB / 392.4 MB, free: 3.668 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test15.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test15.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test15 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test15/Test15.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.359157910104841]