Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.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.001285/0.001285, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.001448/0.001448, allocations: 212.6 kB / 24.51 MB, free: 3.941 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.596/1.596, allocations: 230.6 MB / 258.3 MB, free: 7.797 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.2268/0.2268, allocations: 44.93 MB / 359.6 MB, free: 6.066 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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test29,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test29",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test29,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test29",fmuType="cs",version="2.0",platforms={"static"}) [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.00196/0.00196, allocations: 59.91 kB / 0.4938 GB, free: 10.52 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3416/0.3435, allocations: 65.46 MB / 0.5577 GB, free: 7.223 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test29): time 0.003398/0.3469, allocations: 1.676 MB / 0.5594 GB, free: 5.75 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001283/0.3482, allocations: 0.5621 MB / 0.5599 GB, free: 5.184 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.625e-05/0.3483, allocations: 0 / 0.5599 GB, free: 5.184 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003587/0.3487, allocations: 75.69 kB / 0.56 GB, free: 5.109 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004019/0.3491, allocations: 99.59 kB / 0.5601 GB, free: 5.012 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005724/0.3496, allocations: 187.3 kB / 0.5603 GB, free: 4.832 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002476/0.3499, allocations: 99.69 kB / 0.5604 GB, free: 4.734 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001461/0.35, allocations: 14.06 kB / 0.5604 GB, free: 4.719 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.072e-05/0.3501, allocations: 43.83 kB / 0.5604 GB, free: 4.676 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001533/0.3503, allocations: 59.8 kB / 0.5605 GB, free: 4.617 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.925e-05/0.3503, allocations: 4 kB / 0.5605 GB, free: 4.613 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001324/0.3504, allocations: 43.98 kB / 0.5605 GB, free: 4.57 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.233e-05/0.3505, allocations: 31.86 kB / 0.5606 GB, free: 4.539 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.385e-05/0.3506, allocations: 43.72 kB / 0.5606 GB, free: 4.496 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002912/0.3509, allocations: 123.4 kB / 0.5607 GB, free: 4.375 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.161e-06/0.3509, allocations: 0 / 0.5607 GB, free: 4.375 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.3509, allocations: 0 / 0.5607 GB, free: 4.375 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.406e-06/0.3509, allocations: 0 / 0.5607 GB, free: 4.375 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006975/0.3516, allocations: 361.4 kB / 0.5611 GB, free: 3.992 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.781e-05/0.3516, allocations: 12.03 kB / 0.5611 GB, free: 3.98 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.558e-05/0.3517, allocations: 192 / 0.5611 GB, free: 3.98 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.861e-05/0.3517, allocations: 38.75 kB / 0.5611 GB, free: 3.934 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.2e-05/0.3517, allocations: 12.84 kB / 0.5611 GB, free: 3.922 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002311/0.352, allocations: 158.8 kB / 0.5613 GB, free: 3.742 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.375e-05/0.352, allocations: 4.375 kB / 0.5613 GB, free: 3.738 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.929e-05/0.352, allocations: 8.125 kB / 0.5613 GB, free: 3.73 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002019/0.3522, allocations: 65.66 kB / 0.5613 GB, free: 3.66 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.3522, allocations: 0 / 0.5613 GB, free: 3.66 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.244e-05/0.3522, allocations: 4 kB / 0.5614 GB, free: 3.656 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.3522, allocations: 0 / 0.5614 GB, free: 3.656 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001483/0.3524, allocations: 47.89 kB / 0.5614 GB, free: 3.609 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004866/0.3529, allocations: 299.7 kB / 0.5617 GB, free: 3.273 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002805/0.3532, allocations: 58.58 kB / 0.5617 GB, free: 3.207 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.062e-05/0.3532, allocations: 24.97 kB / 0.5618 GB, free: 3.18 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.191e-05/0.3533, allocations: 4 kB / 0.5618 GB, free: 3.176 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.054e-05/0.3533, allocations: 38.56 kB / 0.5618 GB, free: 3.129 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 9.82e-07/0.3533, allocations: 0 / 0.5618 GB, free: 3.129 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001626/0.3549, allocations: 428.9 kB / 0.5622 GB, free: 2.703 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.015e-05/0.355, allocations: 51.41 kB / 0.5623 GB, free: 2.641 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002896/0.3553, allocations: 226.6 kB / 0.5625 GB, free: 2.402 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.594e-05/0.3553, allocations: 29.7 kB / 0.5625 GB, free: 2.367 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001042/0.3554, allocations: 108.1 kB / 0.5626 GB, free: 2.258 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.921e-05/0.3554, allocations: 31.7 kB / 0.5626 GB, free: 2.227 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.296e-05/0.3555, allocations: 33.64 kB / 0.5627 GB, free: 2.188 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002601/0.3558, allocations: 322.8 kB / 0.563 GB, free: 1.863 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002414/0.356, allocations: 55.95 kB / 0.563 GB, free: 1.809 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001426/0.3562, allocations: 59.95 kB / 0.5631 GB, free: 1.75 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002859/0.3564, allocations: 120.8 kB / 0.5632 GB, free: 1.629 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.3564, allocations: 0 / 0.5632 GB, free: 1.629 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003611/0.3568, allocations: 169.5 kB / 0.5634 GB, free: 1.457 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.3568, allocations: 4 kB / 0.5634 GB, free: 1.453 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.3568, allocations: 3.984 kB / 0.5634 GB, free: 1.449 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.758e-05/0.3568, allocations: 3.938 kB / 0.5634 GB, free: 1.445 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001261/0.357, allocations: 31.92 kB / 0.5634 GB, free: 1.414 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.357, allocations: 4 kB / 0.5634 GB, free: 1.41 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.606e-05/0.357, allocations: 7.984 kB / 0.5634 GB, free: 1.402 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.422e-05/0.3571, allocations: 7.984 kB / 0.5634 GB, free: 1.395 MB / 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 (11): * Single equations (assignments): 11 * 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.0001186/0.3572, allocations: 133.8 kB / 0.5636 GB, free: 1.254 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.368e-05/0.3572, allocations: 15.91 kB / 0.5636 GB, free: 1.238 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004472/0.3577, allocations: 203.8 kB / 0.5638 GB, free: 1.027 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.3577, allocations: 4 kB / 0.5638 GB, free: 1.023 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.3577, allocations: 0 / 0.5638 GB, free: 1.023 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.566e-06/0.3577, allocations: 0 / 0.5638 GB, free: 1.023 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007236/0.3584, allocations: 479 kB / 0.5642 GB, free: 0.5 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.3584, allocations: 0 / 0.5642 GB, free: 0.5 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001102/0.3585, allocations: 31.97 kB / 0.5643 GB, free: 480 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.07e-06/0.3585, allocations: 4 kB / 0.5643 GB, free: 476 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.01e-05/0.3585, allocations: 96 / 0.5643 GB, free: 476 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.3585, allocations: 3.938 kB / 0.5643 GB, free: 472 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/0.3585, allocations: 4 kB / 0.5643 GB, free: 468 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000393/0.3589, allocations: 281.1 kB / 0.5645 GB, free: 164 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.691e-05/0.359, allocations: 15.91 kB / 0.5645 GB, free: 148 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.599e-05/0.359, allocations: 7.984 kB / 0.5646 GB, free: 140 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.542e-05/0.3591, allocations: 7.938 kB / 0.5646 GB, free: 132 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.983e-05/0.3591, allocations: 11.98 kB / 0.5646 GB, free: 120 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.343e-06/0.3591, allocations: 4 kB / 0.5646 GB, free: 116 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001748/0.3593, allocations: 176.3 kB / 0.5647 GB, free: 15.94 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3593, allocations: 4 kB / 0.5648 GB, free: 15.94 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002735/0.3596, allocations: 27.94 kB / 0.5648 GB, free: 15.91 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.002436/0.362, allocations: 1.185 MB / 0.5659 GB, free: 14.91 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003564/0.3624, allocations: 127.8 kB / 0.5661 GB, free: 14.79 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.3624, allocations: 4 kB / 0.5661 GB, free: 14.78 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001548/0.3625, allocations: 63.89 kB / 0.5661 GB, free: 14.72 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003811/0.3629, allocations: 27.86 kB / 0.5661 GB, free: 14.69 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002554/0.3655, allocations: 1.983 MB / 0.5681 GB, free: 12.62 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001155/0.3656, allocations: 109.8 kB / 0.5682 GB, free: 12.49 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001058/0.3657, allocations: 32.39 kB / 0.5682 GB, free: 12.46 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.794e-05/0.3658, allocations: 47.42 kB / 0.5683 GB, free: 12.41 MB / 414.1 MB Notification: Performance of SimCode: time 7.41e-07/0.3658, allocations: 4 kB / 0.5683 GB, free: 12.41 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02275/0.3885, allocations: 3.876 MB / 0.5721 GB, free: 8.594 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.18/11.57, allocations: 13.19 kB / 0.5721 GB, free: 8.59 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test29_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test29.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test29/Test29.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.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: 14.933347707963549]