Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001142/0.001142, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001152/0.001152, allocations: 160.5 kB / 24.99 MB, free: 9.316 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 1.024/1.024, allocations: 177.1 MB / 205.3 MB, free: 5.582 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.2716/0.2716, allocations: 34.26 MB / 296.1 MB, free: 0.7656 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.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.1.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.1.0_ModelicaTest.Tables.CombiTable2Ds.Test20") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 378 MB, free: 2.969 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.406e-05/2.567e-05, allocations: 6.25 kB / 378 MB, free: 2.961 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test20): time 0.002845/0.002871, allocations: 2.038 MB / 380.1 MB, free: 0.9062 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001323/0.004193, allocations: 0.9965 MB / 381.1 MB, free: 15.9 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001393/0.004332, allocations: 0 / 381.1 MB, free: 15.9 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004334/0.004766, allocations: 267 kB / 381.3 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004891/0.005255, allocations: 266.9 kB / 381.6 MB, free: 15.38 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008215/0.006076, allocations: 478.8 kB / 382.1 MB, free: 14.91 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003993/0.006476, allocations: 339 kB / 382.4 MB, free: 14.58 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000159/0.006635, allocations: 44.89 kB / 382.4 MB, free: 14.54 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002345/0.006869, allocations: 179.5 kB / 382.6 MB, free: 14.36 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000198/0.007067, allocations: 195.6 kB / 382.8 MB, free: 14.17 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.339e-05/0.007091, allocations: 8 kB / 382.8 MB, free: 14.16 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001312/0.007222, allocations: 83.77 kB / 382.9 MB, free: 14.08 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000107/0.007329, allocations: 91.62 kB / 383 MB, free: 13.99 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.274e-05/0.007382, allocations: 59.72 kB / 383 MB, free: 13.93 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003023/0.007684, allocations: 250.9 kB / 383.3 MB, free: 13.68 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.007689, allocations: 0 / 383.3 MB, free: 13.68 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.502e-06/0.00769, allocations: 0 / 383.3 MB, free: 13.68 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.58e-06/0.007696, allocations: 4 kB / 383.3 MB, free: 13.68 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.0005753/0.008271, allocations: 0.6815 MB / 384 MB, free: 12.96 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.008309, allocations: 8.031 kB / 384 MB, free: 12.95 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.205e-05/0.008381, allocations: 56.61 kB / 384 MB, free: 12.9 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002417/0.008623, allocations: 274.7 kB / 384.3 MB, free: 12.6 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.201e-05/0.008635, allocations: 8.375 kB / 384.3 MB, free: 12.59 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.731e-05/0.008662, allocations: 16.31 kB / 384.3 MB, free: 12.58 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001792/0.008841, allocations: 98.91 kB / 384.4 MB, free: 12.47 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.008853, allocations: 4.188 kB / 384.4 MB, free: 12.47 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.254e-05/0.008865, allocations: 8.125 kB / 384.4 MB, free: 12.46 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.215e-06/0.008873, allocations: 7.938 kB / 384.4 MB, free: 12.45 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.198e-05/0.008945, allocations: 36.62 kB / 384.5 MB, free: 12.42 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004876/0.009433, allocations: 475.3 kB / 384.9 MB, free: 11.92 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001111/0.009544, allocations: 75.03 kB / 385 MB, free: 11.83 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.389e-05/0.009588, allocations: 31.61 kB / 385 MB, free: 11.8 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.532e-05/0.009613, allocations: 4 kB / 385.1 MB, free: 11.79 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.226e-05/0.009636, allocations: 37.39 kB / 385.1 MB, free: 11.75 MB / 362.7 MB Notification: Performance of pre-optimization done (n=11): time 1.503e-06/0.009637, allocations: 0 / 385.1 MB, free: 11.75 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.0006094/0.01025, allocations: 320.7 kB / 385.4 MB, free: 11.43 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.978e-05/0.01029, allocations: 59.41 kB / 385.5 MB, free: 11.36 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003471/0.01063, allocations: 486.7 kB / 385.9 MB, free: 10.87 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.226e-05/0.01065, allocations: 25.7 kB / 386 MB, free: 10.84 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001198/0.01077, allocations: 259.2 kB / 386.2 MB, free: 10.57 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.969e-05/0.01081, allocations: 59.48 kB / 386.3 MB, free: 10.52 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.485e-05/0.01085, allocations: 43.36 kB / 386.3 MB, free: 10.46 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001322/0.01098, allocations: 0.5274 MB / 386.8 MB, free: 9.926 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.389e-05/0.01103, allocations: 31.89 kB / 386.9 MB, free: 9.895 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.985e-05/0.01107, allocations: 27.98 kB / 386.9 MB, free: 9.867 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.85e-05/0.01116, allocations: 77.55 kB / 387 MB, free: 9.789 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.01117, allocations: 0 / 387 MB, free: 9.789 MB / 362.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001774/0.01134, allocations: 163.5 kB / 387.1 MB, free: 9.625 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.01136, allocations: 7.938 kB / 387.1 MB, free: 9.617 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.01136, allocations: 0 / 387.1 MB, free: 9.617 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.01137, allocations: 7.938 kB / 387.2 MB, free: 9.609 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000105/0.01148, allocations: 27.98 kB / 387.2 MB, free: 9.582 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.02e-06/0.01148, allocations: 0 / 387.2 MB, free: 9.582 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.945e-05/0.01152, allocations: 11.98 kB / 387.2 MB, free: 9.57 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.496e-06/0.01153, allocations: 4 kB / 387.2 MB, free: 9.566 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.314e-05/0.01162, allocations: 168.5 kB / 387.4 MB, free: 9.391 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.388e-05/0.01166, allocations: 51.72 kB / 387.4 MB, free: 9.34 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002466/0.01191, allocations: 181.6 kB / 387.6 MB, free: 9.152 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.01191, allocations: 4 kB / 387.6 MB, free: 9.148 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.01191, allocations: 0 / 387.6 MB, free: 9.148 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.01192, allocations: 3.938 kB / 387.6 MB, free: 9.145 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004682/0.01238, allocations: 0.5583 MB / 388.2 MB, free: 8.547 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.01239, allocations: 3.984 kB / 388.2 MB, free: 8.543 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.472e-05/0.01245, allocations: 31.92 kB / 388.2 MB, free: 8.512 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.01246, allocations: 4 kB / 388.2 MB, free: 8.508 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.747e-06/0.01246, allocations: 0 / 388.2 MB, free: 8.508 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.01247, allocations: 4 kB / 388.2 MB, free: 8.504 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.01247, allocations: 4 kB / 388.2 MB, free: 8.5 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002035/0.01267, allocations: 319.3 kB / 388.5 MB, free: 8.168 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.217e-05/0.01269, allocations: 27.77 kB / 388.5 MB, free: 8.141 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2e-05/0.01271, allocations: 4 kB / 388.5 MB, free: 8.137 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.399e-05/0.01276, allocations: 4 kB / 388.5 MB, free: 8.133 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.645e-05/0.01279, allocations: 11.97 kB / 388.6 MB, free: 8.121 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.243e-06/0.0128, allocations: 8 kB / 388.6 MB, free: 8.113 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002084/0.01301, allocations: 327 kB / 388.9 MB, free: 7.797 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01301, allocations: 0 / 388.9 MB, free: 7.797 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002059/0.01322, allocations: 47.89 kB / 388.9 MB, free: 7.75 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.001462/0.01468, allocations: 0.6738 MB / 389.6 MB, free: 7.359 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001574/0.01484, allocations: 98.61 kB / 389.7 MB, free: 7.262 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.01484, allocations: 3.938 kB / 389.7 MB, free: 7.258 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.949e-05/0.0149, allocations: 59.59 kB / 389.8 MB, free: 7.195 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003425/0.01524, allocations: 96.22 kB / 389.9 MB, free: 7.105 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006911/0.01593, allocations: 0.5784 MB / 390.4 MB, free: 6.496 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.989e-05/0.016, allocations: 112.3 kB / 390.5 MB, free: 6.367 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.032e-05/0.01608, allocations: 49.88 kB / 390.6 MB, free: 6.32 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.691e-05/0.01613, allocations: 28.5 kB / 390.6 MB, free: 6.293 MB / 362.7 MB Notification: Performance of SimCode: time 8.92e-07/0.01613, allocations: 0 / 390.6 MB, free: 6.293 MB / 362.7 MB Notification: Performance of Templates: time 0.005616/0.02174, allocations: 3.349 MB / 394 MB, free: 2.992 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test20.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test20.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test20 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.342484242049977]