Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.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.002222/0.002222, 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.001824/0.001824, allocations: 212.9 kB / 24.52 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.487/1.487, allocations: 230.6 MB / 258.3 MB, free: 7.816 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.2316/0.2316, allocations: 44.92 MB / 359.6 MB, free: 6.078 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.Test5,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test5",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test5,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test5",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.002017/0.002017, allocations: 65.62 kB / 0.4938 GB, free: 10.55 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3582/0.3602, allocations: 65.47 MB / 0.5577 GB, free: 7.367 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test5): time 0.003433/0.3637, allocations: 1.644 MB / 0.5593 GB, free: 5.91 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001104/0.3648, allocations: 0.5583 MB / 0.5599 GB, free: 5.348 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.703e-05/0.3648, allocations: 7.938 kB / 0.5599 GB, free: 5.34 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006335/0.3655, allocations: 459.1 kB / 0.5603 GB, free: 4.891 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005142/0.366, allocations: 295.3 kB / 0.5606 GB, free: 4.602 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004586/0.3664, allocations: 170.9 kB / 0.5608 GB, free: 4.438 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002588/0.3667, allocations: 179.6 kB / 0.5609 GB, free: 4.262 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001073/0.3668, allocations: 13.81 kB / 0.561 GB, free: 4.25 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000122/0.3669, allocations: 111.8 kB / 0.5611 GB, free: 4.141 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002826/0.3672, allocations: 251.5 kB / 0.5613 GB, free: 3.895 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.163e-05/0.3672, allocations: 4 kB / 0.5613 GB, free: 3.891 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001001/0.3673, allocations: 35.94 kB / 0.5613 GB, free: 3.855 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001188/0.3674, allocations: 87.67 kB / 0.5614 GB, free: 3.77 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.503e-05/0.3675, allocations: 71.23 kB / 0.5615 GB, free: 3.699 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003665/0.3679, allocations: 274.6 kB / 0.5618 GB, free: 3.43 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.3679, allocations: 0 / 0.5618 GB, free: 3.43 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.3679, allocations: 4 kB / 0.5618 GB, free: 3.426 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.562e-06/0.3679, allocations: 0 / 0.5618 GB, free: 3.426 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.000756/0.3687, allocations: 0.5854 MB / 0.5623 GB, free: 2.809 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.3687, allocations: 12.03 kB / 0.5623 GB, free: 2.797 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.561e-05/0.3687, allocations: 192 / 0.5623 GB, free: 2.797 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.669e-05/0.3688, allocations: 38.69 kB / 0.5624 GB, free: 2.75 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.176e-05/0.3688, allocations: 44.66 kB / 0.5624 GB, free: 2.707 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002752/0.3691, allocations: 246.8 kB / 0.5627 GB, free: 2.441 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.269e-05/0.3691, allocations: 4.375 kB / 0.5627 GB, free: 2.438 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.159e-05/0.3691, allocations: 8.125 kB / 0.5627 GB, free: 2.43 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001531/0.3693, allocations: 57.67 kB / 0.5627 GB, free: 2.367 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.3693, allocations: 0 / 0.5627 GB, free: 2.367 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.107e-05/0.3693, allocations: 4 kB / 0.5627 GB, free: 2.363 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.097e-06/0.3693, allocations: 0 / 0.5627 GB, free: 2.363 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001108/0.3694, allocations: 23.98 kB / 0.5628 GB, free: 2.34 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005127/0.3699, allocations: 375.6 kB / 0.5631 GB, free: 1.93 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000206/0.3701, allocations: 46.5 kB / 0.5632 GB, free: 1.875 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.351e-05/0.3702, allocations: 16.94 kB / 0.5632 GB, free: 1.855 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.222e-05/0.3702, allocations: 8 kB / 0.5632 GB, free: 1.848 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.945e-05/0.3702, allocations: 38.5 kB / 0.5632 GB, free: 1.801 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.3702, allocations: 0 / 0.5632 GB, free: 1.801 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006276/0.3709, allocations: 236.7 kB / 0.5634 GB, free: 1.562 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.134e-05/0.3709, allocations: 55.34 kB / 0.5635 GB, free: 1.496 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008914/0.3718, allocations: 0.8776 MB / 0.5644 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.18e-05/0.3718, allocations: 29.7 kB / 0.5644 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001892/0.372, allocations: 228.1 kB / 0.5646 GB, free: 352 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.061e-05/0.372, allocations: 27.86 kB / 0.5646 GB, free: 324 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.94e-05/0.3721, allocations: 17.72 kB / 0.5646 GB, free: 300 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001989/0.3723, allocations: 362.8 kB / 0.565 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.619e-05/0.3724, allocations: 19.98 kB / 0.565 GB, free: 15.91 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.53e-05/0.3724, allocations: 19.98 kB / 0.565 GB, free: 15.89 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001364/0.3726, allocations: 52.83 kB / 0.5651 GB, free: 15.84 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.3726, allocations: 0 / 0.5651 GB, free: 15.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002326/0.3728, allocations: 133.6 kB / 0.5652 GB, free: 15.7 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.3728, allocations: 6.188 kB / 0.5652 GB, free: 15.7 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.3728, allocations: 0 / 0.5652 GB, free: 15.7 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.3728, allocations: 4 kB / 0.5652 GB, free: 15.69 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.823e-05/0.3729, allocations: 16.27 kB / 0.5652 GB, free: 15.68 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.3729, allocations: 3.938 kB / 0.5652 GB, free: 15.67 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.983e-05/0.373, allocations: 4 kB / 0.5652 GB, free: 15.67 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.967e-06/0.373, allocations: 3.984 kB / 0.5652 GB, free: 15.66 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.0002125/0.3732, allocations: 209.8 kB / 0.5654 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.201e-05/0.3732, allocations: 51.67 kB / 0.5655 GB, free: 15.4 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003181/0.3736, allocations: 149.2 kB / 0.5656 GB, free: 15.24 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.3736, allocations: 0 / 0.5656 GB, free: 15.24 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.3736, allocations: 3.938 kB / 0.5656 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.3736, allocations: 3.984 kB / 0.5656 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005663/0.3741, allocations: 429.6 kB / 0.566 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.3741, allocations: 0 / 0.566 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.166e-05/0.3742, allocations: 19.98 kB / 0.5661 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/0.3742, allocations: 3.938 kB / 0.5661 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.694e-06/0.3742, allocations: 3.938 kB / 0.5661 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.3742, allocations: 0 / 0.5661 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.3742, allocations: 3.938 kB / 0.5661 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002832/0.3745, allocations: 219.2 kB / 0.5663 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.377e-05/0.3746, allocations: 39.7 kB / 0.5663 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.905e-05/0.3746, allocations: 3.938 kB / 0.5663 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.902e-05/0.3747, allocations: 4 kB / 0.5663 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.872e-05/0.3747, allocations: 11.98 kB / 0.5663 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.832e-06/0.3747, allocations: 4.188 kB / 0.5664 GB, free: 14.44 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006761/0.3754, allocations: 0.6589 MB / 0.567 GB, free: 13.78 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3754, allocations: 0 / 0.567 GB, free: 13.78 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002614/0.3756, allocations: 27.89 kB / 0.567 GB, free: 13.75 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.002101/0.3777, allocations: 1.092 MB / 0.5681 GB, free: 12.82 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002132/0.378, allocations: 55.95 kB / 0.5681 GB, free: 12.77 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.378, allocations: 0 / 0.5681 GB, free: 12.77 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.942e-05/0.3781, allocations: 27.92 kB / 0.5682 GB, free: 12.74 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004048/0.3785, allocations: 26.3 kB / 0.5682 GB, free: 12.71 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004199/0.3827, allocations: 3.276 MB / 0.5714 GB, free: 9.344 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002614/0.3829, allocations: 232.1 kB / 0.5716 GB, free: 9.098 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.043e-05/0.383, allocations: 12.66 kB / 0.5716 GB, free: 9.082 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000163/0.3831, allocations: 119.3 kB / 0.5717 GB, free: 8.965 MB / 414.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3832, allocations: 0 / 0.5717 GB, free: 8.965 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02714/0.4103, allocations: 6.377 MB / 0.578 GB, free: 2.648 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.93/12.34, allocations: 15.62 kB / 0.578 GB, free: 2.637 MB / 414.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test5_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test5.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.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.561586825060658]