Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test8.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001869/0.001869, allocations: 116.8 kB / 19.17 MB, free: 3.895 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002222/0.002222, allocations: 214.6 kB / 22.13 MB, free: 0.9414 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.513/1.513, allocations: 230.2 MB / 255.1 MB, free: 15.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2428/0.2428, allocations: 46.89 MB / 358.1 MB, free: 10.52 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Ds.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test8") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test8") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002229/0.002229, allocations: 75.88 kB / 0.4924 GB, free: 8.035 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1318/0.134, allocations: 65.99 MB / 0.5568 GB, free: 5.914 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test8): time 0.003174/0.1372, allocations: 1.618 MB / 0.5584 GB, free: 4.281 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001006/0.1382, allocations: 0.541 MB / 0.5589 GB, free: 3.738 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.583e-05/0.1382, allocations: 0 / 0.5589 GB, free: 3.738 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005729/0.1388, allocations: 447.1 kB / 0.5594 GB, free: 3.301 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004608/0.1393, allocations: 295.3 kB / 0.5596 GB, free: 3.012 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003221/0.1396, allocations: 127.2 kB / 0.5598 GB, free: 2.891 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002329/0.1398, allocations: 163.6 kB / 0.5599 GB, free: 2.73 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001014/0.1399, allocations: 12.19 kB / 0.5599 GB, free: 2.715 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001278/0.14, allocations: 111.8 kB / 0.56 GB, free: 2.605 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002749/0.1403, allocations: 239.5 kB / 0.5603 GB, free: 2.371 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.978e-05/0.1403, allocations: 4 kB / 0.5603 GB, free: 2.367 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.422e-05/0.1404, allocations: 27.94 kB / 0.5603 GB, free: 2.34 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001149/0.1405, allocations: 83.67 kB / 0.5604 GB, free: 2.258 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 9.018e-05/0.1406, allocations: 99 kB / 0.5605 GB, free: 2.16 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003171/0.1409, allocations: 246.7 kB / 0.5607 GB, free: 1.918 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.1409, allocations: 4 kB / 0.5607 GB, free: 1.914 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1409, allocations: 0 / 0.5607 GB, free: 1.914 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.1409, allocations: 0 / 0.5607 GB, free: 1.914 MB / 414.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.0007695/0.1417, allocations: 0.6413 MB / 0.5613 GB, free: 1.223 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.238e-05/0.1418, allocations: 15.97 kB / 0.5613 GB, free: 1.207 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.771e-05/0.1418, allocations: 44.59 kB / 0.5614 GB, free: 1.164 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003105/0.1421, allocations: 304.6 kB / 0.5617 GB, free: 0.8281 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.321e-05/0.1422, allocations: 4.359 kB / 0.5617 GB, free: 0.8242 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.168e-05/0.1422, allocations: 4.375 kB / 0.5617 GB, free: 0.8203 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001391/0.1423, allocations: 54.25 kB / 0.5617 GB, free: 0.7617 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/0.1423, allocations: 3.938 kB / 0.5617 GB, free: 0.7578 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.478e-06/0.1423, allocations: 0 / 0.5617 GB, free: 0.7578 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.1423, allocations: 0 / 0.5617 GB, free: 0.7578 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.922e-05/0.1424, allocations: 19.98 kB / 0.5618 GB, free: 0.7383 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004781/0.1429, allocations: 384.7 kB / 0.5621 GB, free: 320 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.922e-05/0.143, allocations: 30.52 kB / 0.5622 GB, free: 280 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.088e-05/0.143, allocations: 16.91 kB / 0.5622 GB, free: 260 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.139e-05/0.1431, allocations: 0 / 0.5622 GB, free: 260 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.853e-05/0.1431, allocations: 34.56 kB / 0.5622 GB, free: 216 kB / 414.1 MB Notification: Performance of pre-optimization done (n=2): time 9.01e-07/0.1431, allocations: 0 / 0.5622 GB, free: 216 kB / 414.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002737/0.1434, allocations: 101.3 kB / 0.5623 GB, free: 108 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.202e-05/0.1434, allocations: 55.53 kB / 0.5624 GB, free: 40 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000927/0.1443, allocations: 0.8653 MB / 0.5632 GB, free: 15.16 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.24e-05/0.1444, allocations: 25.7 kB / 0.5632 GB, free: 15.13 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001953/0.1446, allocations: 220.1 kB / 0.5634 GB, free: 14.91 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.645e-05/0.1446, allocations: 7.891 kB / 0.5634 GB, free: 14.9 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.268e-05/0.1446, allocations: 17.72 kB / 0.5635 GB, free: 14.88 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001917/0.1448, allocations: 362.7 kB / 0.5638 GB, free: 14.52 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.476e-05/0.1449, allocations: 8 kB / 0.5638 GB, free: 14.51 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.527e-05/0.1449, allocations: 15.98 kB / 0.5638 GB, free: 14.49 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.563e-05/0.145, allocations: 24.84 kB / 0.5638 GB, free: 14.46 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.145, allocations: 3.938 kB / 0.5639 GB, free: 14.46 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001575/0.1451, allocations: 89.41 kB / 0.5639 GB, free: 14.37 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.1451, allocations: 4 kB / 0.5639 GB, free: 14.36 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.1451, allocations: 0 / 0.5639 GB, free: 14.36 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.1452, allocations: 4.094 kB / 0.5639 GB, free: 14.36 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.779e-05/0.1452, allocations: 7.984 kB / 0.564 GB, free: 14.35 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.144e-06/0.1452, allocations: 4 kB / 0.564 GB, free: 14.35 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.175e-05/0.1453, allocations: 0 / 0.564 GB, free: 14.35 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.913e-06/0.1453, allocations: 0 / 0.564 GB, free: 14.35 MB / 430.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 (2): * Single equations (assignments): 2 * 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.0001973/0.1455, allocations: 213.7 kB / 0.5642 GB, free: 14.13 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.949e-05/0.1455, allocations: 43.72 kB / 0.5642 GB, free: 14.09 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002224/0.1458, allocations: 108.6 kB / 0.5643 GB, free: 13.97 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.1458, allocations: 4 kB / 0.5643 GB, free: 13.97 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.1458, allocations: 0 / 0.5643 GB, free: 13.97 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.1458, allocations: 0 / 0.5643 GB, free: 13.97 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002994/0.1461, allocations: 285.5 kB / 0.5646 GB, free: 13.64 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.1461, allocations: 3.938 kB / 0.5646 GB, free: 13.64 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.488e-05/0.1461, allocations: 4 kB / 0.5646 GB, free: 13.63 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.1461, allocations: 3.984 kB / 0.5646 GB, free: 13.63 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.897e-06/0.1461, allocations: 4 kB / 0.5646 GB, free: 13.62 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.1461, allocations: 3.938 kB / 0.5646 GB, free: 13.62 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.1461, allocations: 0 / 0.5646 GB, free: 13.62 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002129/0.1463, allocations: 199.1 kB / 0.5648 GB, free: 13.41 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.108e-05/0.1464, allocations: 104.9 kB / 0.5649 GB, free: 13.29 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.588e-05/0.1464, allocations: 7.984 kB / 0.5649 GB, free: 13.28 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.895e-05/0.1465, allocations: 4 kB / 0.5649 GB, free: 13.28 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.116e-05/0.1465, allocations: 0 / 0.5649 GB, free: 13.28 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.745e-06/0.1465, allocations: 0 / 0.5649 GB, free: 13.28 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006491/0.1472, allocations: 0.659 MB / 0.5655 GB, free: 12.62 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1472, allocations: 0 / 0.5655 GB, free: 12.62 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002439/0.1474, allocations: 23.94 kB / 0.5656 GB, free: 12.6 MB / 430.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 (2): * Single equations (assignments): 2 * 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.001272/0.1487, allocations: 344.7 kB / 0.5659 GB, free: 12.38 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001546/0.1488, allocations: 27.97 kB / 0.5659 GB, free: 12.35 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.1488, allocations: 0 / 0.5659 GB, free: 12.35 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 3.675e-05/0.1489, allocations: 4 kB / 0.5659 GB, free: 12.35 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00038/0.1493, allocations: 34.17 kB / 0.566 GB, free: 12.32 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001156/0.1504, allocations: 0.8118 MB / 0.5668 GB, free: 11.47 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004965/0.1509, allocations: 0.8259 MB / 0.5676 GB, free: 10.62 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.111e-05/0.1509, allocations: 11.44 kB / 0.5676 GB, free: 10.61 MB / 430.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1509, allocations: 0 / 0.5676 GB, free: 10.61 MB / 430.1 MB Notification: Performance of Templates: time 0.006873/0.1578, allocations: 3.468 MB / 0.571 GB, free: 7.133 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test8.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test8.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test8.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: 7.752747884951532]