Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.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.001308/0.001308, allocations: 112.2 kB / 21.19 MB, free: 0.7578 MB / 14.72 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.001511/0.001511, allocations: 209.8 kB / 24.5 MB, free: 4.133 MB / 14.72 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.532/1.532, allocations: 230.6 MB / 258.3 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] 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.2237/0.2237, allocations: 44.91 MB / 359.6 MB, free: 6.297 MB / 286.1 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.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003428/0.003428, allocations: 71.89 kB / 0.4943 GB, free: 10.21 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5413/0.5447, allocations: 65.46 MB / 0.5583 GB, free: 7.711 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test9): time 0.004891/0.5496, allocations: 1.633 MB / 0.5599 GB, free: 6.082 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001979/0.5516, allocations: 0.5572 MB / 0.5604 GB, free: 5.52 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.33e-05/0.5517, allocations: 0 / 0.5604 GB, free: 5.52 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009462/0.5526, allocations: 455.1 kB / 0.5608 GB, free: 5.074 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008125/0.5534, allocations: 291.3 kB / 0.5611 GB, free: 4.789 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006627/0.5541, allocations: 139.1 kB / 0.5612 GB, free: 4.656 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003823/0.5545, allocations: 167.6 kB / 0.5614 GB, free: 4.492 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000131/0.5546, allocations: 7.984 kB / 0.5614 GB, free: 4.484 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002094/0.5548, allocations: 111.8 kB / 0.5615 GB, free: 4.375 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004624/0.5553, allocations: 255.5 kB / 0.5618 GB, free: 4.125 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.202e-05/0.5553, allocations: 0 / 0.5618 GB, free: 4.125 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001067/0.5554, allocations: 20 kB / 0.5618 GB, free: 4.105 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001687/0.5556, allocations: 83.69 kB / 0.5619 GB, free: 4.023 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001367/0.5557, allocations: 99 kB / 0.5619 GB, free: 3.926 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005163/0.5562, allocations: 265 kB / 0.5622 GB, free: 3.672 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.5562, allocations: 0 / 0.5622 GB, free: 3.672 MB / 398.1 MB Notification: Performance of FrontEnd: time 5.981e-06/0.5562, allocations: 4 kB / 0.5622 GB, free: 3.668 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.376e-06/0.5563, allocations: 4 kB / 0.5622 GB, free: 3.664 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.00113/0.5574, allocations: 0.5738 MB / 0.5628 GB, free: 3.059 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.446e-05/0.5574, allocations: 8.031 kB / 0.5628 GB, free: 3.051 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001045/0.5575, allocations: 44.66 kB / 0.5628 GB, free: 3.008 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000452/0.558, allocations: 242.8 kB / 0.5631 GB, free: 2.746 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.343e-05/0.558, allocations: 384 / 0.5631 GB, free: 2.746 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.839e-05/0.558, allocations: 4.375 kB / 0.5631 GB, free: 2.742 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002586/0.5583, allocations: 66.78 kB / 0.5631 GB, free: 2.672 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.5583, allocations: 3.938 kB / 0.5631 GB, free: 2.668 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.316e-05/0.5583, allocations: 0 / 0.5631 GB, free: 2.668 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.5583, allocations: 0 / 0.5631 GB, free: 2.668 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002345/0.5586, allocations: 31.97 kB / 0.5632 GB, free: 2.637 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006773/0.5592, allocations: 351.8 kB / 0.5635 GB, free: 2.25 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001755/0.5594, allocations: 38.56 kB / 0.5635 GB, free: 2.203 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.995e-05/0.5595, allocations: 28.88 kB / 0.5636 GB, free: 2.172 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.426e-05/0.5595, allocations: 0 / 0.5636 GB, free: 2.172 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.096e-05/0.5596, allocations: 34.5 kB / 0.5636 GB, free: 2.129 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 9.21e-07/0.5596, allocations: 0 / 0.5636 GB, free: 2.129 MB / 398.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004215/0.56, allocations: 121.4 kB / 0.5637 GB, free: 2.004 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.048e-05/0.56, allocations: 59.41 kB / 0.5638 GB, free: 1.934 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001264/0.5613, allocations: 0.8613 MB / 0.5646 GB, free: 1.059 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.451e-05/0.5613, allocations: 25.7 kB / 0.5646 GB, free: 1.027 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002965/0.5616, allocations: 212.1 kB / 0.5648 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.03e-05/0.5616, allocations: 7.953 kB / 0.5648 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.676e-05/0.5617, allocations: 13.72 kB / 0.5648 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002629/0.562, allocations: 366.7 kB / 0.5652 GB, free: 432 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001187/0.5621, allocations: 19.92 kB / 0.5652 GB, free: 412 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001185/0.5622, allocations: 19.98 kB / 0.5652 GB, free: 392 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002321/0.5624, allocations: 37.11 kB / 0.5653 GB, free: 352 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.5624, allocations: 0 / 0.5653 GB, free: 352 kB / 398.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003818/0.5628, allocations: 113.3 kB / 0.5654 GB, free: 232 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.042e-05/0.5628, allocations: 4 kB / 0.5654 GB, free: 228 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.503e-06/0.5628, allocations: 3.938 kB / 0.5654 GB, free: 224 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.747e-05/0.5629, allocations: 4 kB / 0.5654 GB, free: 220 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001475/0.563, allocations: 11.98 kB / 0.5654 GB, free: 208 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-06/0.563, allocations: 0 / 0.5654 GB, free: 208 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001048/0.5631, allocations: 4 kB / 0.5654 GB, free: 204 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.074e-05/0.5631, allocations: 3.938 kB / 0.5654 GB, free: 200 kB / 398.1 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 (3): * Single equations (assignments): 3 * 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 0.0003587/0.5635, allocations: 213.7 kB / 0.5656 GB, free: 15.98 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.41e-05/0.5636, allocations: 43.72 kB / 0.5657 GB, free: 15.93 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004823/0.5641, allocations: 121.1 kB / 0.5658 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.5641, allocations: 0 / 0.5658 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.008e-05/0.5641, allocations: 4 kB / 0.5658 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.032e-06/0.5641, allocations: 0 / 0.5658 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004395/0.5645, allocations: 260.6 kB / 0.566 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/0.5645, allocations: 4 kB / 0.566 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.093e-05/0.5646, allocations: 7.984 kB / 0.566 GB, free: 15.49 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.554e-06/0.5646, allocations: 0 / 0.566 GB, free: 15.49 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.47e-05/0.5646, allocations: 4 kB / 0.566 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.5646, allocations: 4 kB / 0.566 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.835e-06/0.5646, allocations: 7.938 kB / 0.566 GB, free: 15.47 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000441/0.5651, allocations: 199.2 kB / 0.5662 GB, free: 15.26 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.686e-05/0.5652, allocations: 43.7 kB / 0.5663 GB, free: 15.22 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.95e-05/0.5652, allocations: 0 / 0.5663 GB, free: 15.22 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001574/0.5654, allocations: 4 kB / 0.5663 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.418e-05/0.5654, allocations: 4 kB / 0.5663 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.028e-05/0.5654, allocations: 3.984 kB / 0.5663 GB, free: 15.21 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001133/0.5665, allocations: 0.6472 MB / 0.5669 GB, free: 14.56 MB / 414.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.5665, allocations: 3.938 kB / 0.5669 GB, free: 14.56 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004681/0.567, allocations: 23.94 kB / 0.567 GB, free: 14.54 MB / 414.1 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 (3): * Single equations (assignments): 3 * 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.002041/0.569, allocations: 351.3 kB / 0.5673 GB, free: 14.32 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003199/0.5694, allocations: 43.83 kB / 0.5673 GB, free: 14.27 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.5694, allocations: 0 / 0.5673 GB, free: 14.27 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001234/0.5695, allocations: 19.98 kB / 0.5673 GB, free: 14.25 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006341/0.5701, allocations: 21.95 kB / 0.5674 GB, free: 14.23 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001975/0.5721, allocations: 0.8236 MB / 0.5682 GB, free: 13.38 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006949/0.5728, allocations: 0.8182 MB / 0.569 GB, free: 12.53 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.341e-05/0.5729, allocations: 11.44 kB / 0.569 GB, free: 12.52 MB / 414.1 MB Notification: Performance of SimCode: time 5.11e-07/0.5729, allocations: 0 / 0.569 GB, free: 12.52 MB / 414.1 MB Notification: Performance of Templates: time 0.0119/0.5848, allocations: 3.522 MB / 0.5724 GB, free: 8.988 MB / 414.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test9/Test9.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.050766152096912]