Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.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.001828/0.001828, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.002361/0.002361, allocations: 211.8 kB / 24.51 MB, free: 3.914 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.594/1.594, allocations: 230.6 MB / 258.3 MB, free: 7.789 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.2333/0.2333, allocations: 44.93 MB / 359.6 MB, free: 6.039 MB / 286.1 MB " [Timeout remaining time 179] 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.Test4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test4",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test4",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.002022/0.002022, allocations: 63.91 kB / 0.4938 GB, free: 10.5 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3382/0.3402, allocations: 65.48 MB / 0.5578 GB, free: 7.508 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test4): time 0.003953/0.3441, allocations: 1.639 MB / 0.5594 GB, free: 6.012 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001339/0.3455, allocations: 0.5621 MB / 0.5599 GB, free: 5.445 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.328e-05/0.3456, allocations: 4 kB / 0.5599 GB, free: 5.441 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008184/0.3464, allocations: 451.1 kB / 0.5603 GB, free: 5 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006202/0.347, allocations: 295.3 kB / 0.5606 GB, free: 4.711 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005288/0.3475, allocations: 171.3 kB / 0.5608 GB, free: 4.547 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002954/0.3478, allocations: 175.7 kB / 0.5609 GB, free: 4.375 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000141/0.348, allocations: 14.11 kB / 0.561 GB, free: 4.363 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001493/0.3481, allocations: 119.7 kB / 0.5611 GB, free: 4.246 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003107/0.3484, allocations: 243.5 kB / 0.5613 GB, free: 4.008 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.406e-05/0.3484, allocations: 4 kB / 0.5613 GB, free: 4.004 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001084/0.3485, allocations: 39.91 kB / 0.5613 GB, free: 3.965 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001389/0.3487, allocations: 87.62 kB / 0.5614 GB, free: 3.879 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.921e-05/0.3488, allocations: 67.25 kB / 0.5615 GB, free: 3.812 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004042/0.3492, allocations: 278.6 kB / 0.5618 GB, free: 3.539 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.156e-06/0.3492, allocations: 0 / 0.5618 GB, free: 3.539 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3492, allocations: 0 / 0.5618 GB, free: 3.539 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.566e-06/0.3492, allocations: 0 / 0.5618 GB, free: 3.539 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0009576/0.3502, allocations: 0.5892 MB / 0.5623 GB, free: 2.918 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.053e-05/0.3502, allocations: 12.03 kB / 0.5623 GB, free: 2.906 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.266e-05/0.3502, allocations: 8.125 kB / 0.5624 GB, free: 2.898 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.701e-05/0.3503, allocations: 30.75 kB / 0.5624 GB, free: 2.859 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.412e-05/0.3503, allocations: 44.66 kB / 0.5624 GB, free: 2.816 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003188/0.3507, allocations: 254.8 kB / 0.5627 GB, free: 2.543 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.1e-05/0.3507, allocations: 384 / 0.5627 GB, free: 2.543 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.749e-05/0.3507, allocations: 12.12 kB / 0.5627 GB, free: 2.531 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001746/0.3509, allocations: 53.69 kB / 0.5627 GB, free: 2.473 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.3509, allocations: 0 / 0.5627 GB, free: 2.473 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.127e-06/0.3509, allocations: 0 / 0.5627 GB, free: 2.473 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.3509, allocations: 0 / 0.5627 GB, free: 2.473 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001098/0.351, allocations: 35.91 kB / 0.5628 GB, free: 2.438 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006019/0.3516, allocations: 371.7 kB / 0.5631 GB, free: 2.031 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002308/0.3518, allocations: 38.56 kB / 0.5632 GB, free: 1.984 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.85e-05/0.3519, allocations: 24.94 kB / 0.5632 GB, free: 1.957 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.463e-05/0.3519, allocations: 3.938 kB / 0.5632 GB, free: 1.953 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.613e-05/0.352, allocations: 30.56 kB / 0.5632 GB, free: 1.914 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.352, allocations: 7.938 kB / 0.5632 GB, free: 1.906 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006995/0.3527, allocations: 240.7 kB / 0.5635 GB, free: 1.664 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.262e-05/0.3527, allocations: 51.41 kB / 0.5635 GB, free: 1.602 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000959/0.3537, allocations: 0.8815 MB / 0.5644 GB, free: 0.707 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.671e-05/0.3537, allocations: 29.7 kB / 0.5644 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002119/0.3539, allocations: 224.1 kB / 0.5646 GB, free: 460 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.86e-05/0.3539, allocations: 23.8 kB / 0.5646 GB, free: 436 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.655e-05/0.354, allocations: 21.7 kB / 0.5646 GB, free: 408 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002022/0.3542, allocations: 354.8 kB / 0.565 GB, free: 44 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.523e-05/0.3543, allocations: 27.91 kB / 0.565 GB, free: 16 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.586e-05/0.3544, allocations: 20.05 kB / 0.565 GB, free: 15.99 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001455/0.3545, allocations: 52.77 kB / 0.5651 GB, free: 15.94 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.3545, allocations: 4 kB / 0.5651 GB, free: 15.94 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002289/0.3547, allocations: 129.3 kB / 0.5652 GB, free: 15.8 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.3548, allocations: 4 kB / 0.5652 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.992e-06/0.3548, allocations: 0 / 0.5652 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.3548, allocations: 0 / 0.5652 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.782e-05/0.3548, allocations: 16.23 kB / 0.5652 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.438e-06/0.3548, allocations: 3.938 kB / 0.5652 GB, free: 15.78 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.476e-05/0.3549, allocations: 12 kB / 0.5652 GB, free: 15.77 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.723e-06/0.3549, allocations: 0 / 0.5652 GB, free: 15.77 MB / 414.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 (5): * Single equations (assignments): 5 * 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.0002115/0.3551, allocations: 217.8 kB / 0.5655 GB, free: 15.55 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.537e-05/0.3552, allocations: 47.95 kB / 0.5655 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000315/0.3555, allocations: 145.2 kB / 0.5656 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.226e-06/0.3555, allocations: 3.984 kB / 0.5656 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.3555, allocations: 3.938 kB / 0.5656 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.3555, allocations: 0 / 0.5656 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006219/0.3562, allocations: 429.6 kB / 0.5661 GB, free: 14.87 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.3562, allocations: 4 kB / 0.5661 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.802e-05/0.3562, allocations: 11.98 kB / 0.5661 GB, free: 14.85 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.3562, allocations: 7.938 kB / 0.5661 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.024e-05/0.3562, allocations: 4 kB / 0.5661 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.3562, allocations: 3.938 kB / 0.5661 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.3562, allocations: 0 / 0.5661 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003684/0.3566, allocations: 215.2 kB / 0.5663 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.35e-05/0.3567, allocations: 39.72 kB / 0.5663 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.844e-05/0.3567, allocations: 3.938 kB / 0.5663 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.706e-05/0.3568, allocations: 11.98 kB / 0.5663 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.502e-05/0.3568, allocations: 0 / 0.5663 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.304e-06/0.3568, allocations: 4 kB / 0.5663 GB, free: 14.55 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007129/0.3575, allocations: 0.6589 MB / 0.567 GB, free: 13.89 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3575, allocations: 0 / 0.567 GB, free: 13.89 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002723/0.3578, allocations: 39.81 kB / 0.567 GB, free: 13.86 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 (5): * Single equations (assignments): 5 * 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.002116/0.3599, allocations: 1.089 MB / 0.5681 GB, free: 12.92 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002005/0.3601, allocations: 47.97 kB / 0.5681 GB, free: 12.88 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3601, allocations: 0 / 0.5681 GB, free: 12.88 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.358e-05/0.3602, allocations: 31.92 kB / 0.5682 GB, free: 12.84 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004135/0.3606, allocations: 33.98 kB / 0.5682 GB, free: 12.82 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003975/0.3646, allocations: 3.276 MB / 0.5714 GB, free: 9.449 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002502/0.3648, allocations: 232.1 kB / 0.5716 GB, free: 9.203 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.527e-05/0.3649, allocations: 20.64 kB / 0.5716 GB, free: 9.18 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001481/0.365, allocations: 115.4 kB / 0.5717 GB, free: 9.066 MB / 414.1 MB Notification: Performance of SimCode: time 3.7e-07/0.365, allocations: 4 kB / 0.5718 GB, free: 9.062 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02803/0.3931, allocations: 6.375 MB / 0.578 GB, free: 2.75 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.03/12.42, allocations: 3.984 kB / 0.578 GB, free: 2.746 MB / 414.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test4_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test4.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.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: 15.750647481065243]