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.001893/0.001893, allocations: 119.9 kB / 20.44 MB, free: 1.297 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.002279/0.002279, allocations: 214.5 kB / 23.74 MB, free: 4.527 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.537/1.537, allocations: 230.6 MB / 257.5 MB, free: 8 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.2281/0.2281, allocations: 44.91 MB / 358.8 MB, free: 6.273 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.CombiTable2Ds.Test9,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test9",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test9,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test9",fmuType="me",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.00204/0.00204, allocations: 71.89 kB / 0.4931 GB, free: 10.7 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3592/0.3612, allocations: 65.48 MB / 0.557 GB, free: 7.508 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test9): time 0.00354/0.3648, allocations: 1.639 MB / 0.5586 GB, free: 6.102 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001095/0.3659, allocations: 0.5416 MB / 0.5592 GB, free: 5.555 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.056e-05/0.3659, allocations: 11.94 kB / 0.5592 GB, free: 5.543 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006553/0.3666, allocations: 455.1 kB / 0.5596 GB, free: 5.098 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004461/0.367, allocations: 287.3 kB / 0.5599 GB, free: 4.816 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003202/0.3673, allocations: 131.4 kB / 0.56 GB, free: 4.691 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002606/0.3676, allocations: 167.6 kB / 0.5602 GB, free: 4.527 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001114/0.3677, allocations: 15.97 kB / 0.5602 GB, free: 4.512 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001306/0.3678, allocations: 107.7 kB / 0.5603 GB, free: 4.406 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003229/0.3682, allocations: 247.5 kB / 0.5605 GB, free: 4.164 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.723e-05/0.3682, allocations: 4 kB / 0.5605 GB, free: 4.16 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.155e-05/0.3683, allocations: 27.98 kB / 0.5606 GB, free: 4.133 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001201/0.3684, allocations: 84.67 kB / 0.5606 GB, free: 4.051 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.455e-05/0.3685, allocations: 103 kB / 0.5607 GB, free: 3.949 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003784/0.3689, allocations: 272.3 kB / 0.561 GB, free: 3.684 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.3689, allocations: 0 / 0.561 GB, free: 3.684 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.3689, allocations: 0 / 0.561 GB, free: 3.684 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.183e-06/0.3689, allocations: 0 / 0.561 GB, free: 3.684 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.0008866/0.3698, allocations: 0.5815 MB / 0.5616 GB, free: 3.07 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.837e-05/0.3698, allocations: 12.03 kB / 0.5616 GB, free: 3.059 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.44e-05/0.3699, allocations: 34.75 kB / 0.5616 GB, free: 3.016 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.92e-05/0.3699, allocations: 44.66 kB / 0.5617 GB, free: 2.973 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003191/0.3702, allocations: 242.8 kB / 0.5619 GB, free: 2.711 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.325e-05/0.3703, allocations: 4.375 kB / 0.5619 GB, free: 2.707 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.076e-05/0.3703, allocations: 8.312 kB / 0.5619 GB, free: 2.699 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001784/0.3704, allocations: 57.55 kB / 0.5619 GB, free: 2.637 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.3705, allocations: 0 / 0.5619 GB, free: 2.637 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.367e-06/0.3705, allocations: 0 / 0.5619 GB, free: 2.637 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.3705, allocations: 4 kB / 0.562 GB, free: 2.633 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001236/0.3706, allocations: 31.97 kB / 0.562 GB, free: 2.602 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000516/0.3711, allocations: 355.9 kB / 0.5623 GB, free: 2.211 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001267/0.3712, allocations: 42.5 kB / 0.5624 GB, free: 2.16 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.609e-05/0.3713, allocations: 16.94 kB / 0.5624 GB, free: 2.141 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.779e-05/0.3713, allocations: 11.98 kB / 0.5624 GB, free: 2.129 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.78e-05/0.3714, allocations: 30.56 kB / 0.5624 GB, free: 2.09 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.323e-06/0.3714, allocations: 0 / 0.5624 GB, free: 2.09 MB / 398.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003434/0.3717, allocations: 125.4 kB / 0.5625 GB, free: 1.961 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.716e-05/0.3717, allocations: 51.41 kB / 0.5626 GB, free: 1.898 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009723/0.3727, allocations: 0.866 MB / 0.5634 GB, free: 1.02 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.919e-05/0.3727, allocations: 25.7 kB / 0.5635 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001987/0.3729, allocations: 228 kB / 0.5637 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.032e-05/0.373, allocations: 7.891 kB / 0.5637 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.015e-05/0.373, allocations: 17.72 kB / 0.5637 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001894/0.3732, allocations: 366.7 kB / 0.5641 GB, free: 372 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.783e-05/0.3733, allocations: 15.98 kB / 0.5641 GB, free: 356 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.326e-05/0.3733, allocations: 15.98 kB / 0.5641 GB, free: 340 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001158/0.3734, allocations: 36.84 kB / 0.5641 GB, free: 300 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.3734, allocations: 0 / 0.5641 GB, free: 300 kB / 398.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002496/0.3737, allocations: 105.4 kB / 0.5642 GB, free: 188 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.3737, allocations: 4 kB / 0.5642 GB, free: 184 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.3737, allocations: 0 / 0.5642 GB, free: 184 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/0.3737, allocations: 0 / 0.5642 GB, free: 184 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.457e-05/0.3738, allocations: 19.92 kB / 0.5642 GB, free: 164 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.683e-06/0.3738, allocations: 0 / 0.5642 GB, free: 164 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.909e-05/0.3739, allocations: 11.95 kB / 0.5643 GB, free: 152 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.507e-06/0.3739, allocations: 4 kB / 0.5643 GB, free: 148 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.0002281/0.3741, allocations: 213.6 kB / 0.5645 GB, free: 15.93 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.025e-05/0.3742, allocations: 43.72 kB / 0.5645 GB, free: 15.88 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002646/0.3744, allocations: 117.2 kB / 0.5646 GB, free: 15.75 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.3744, allocations: 3.984 kB / 0.5646 GB, free: 15.75 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.3744, allocations: 3.938 kB / 0.5646 GB, free: 15.75 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.3745, allocations: 4 kB / 0.5646 GB, free: 15.74 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000302/0.3748, allocations: 268.6 kB / 0.5649 GB, free: 15.44 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.3748, allocations: 0 / 0.5649 GB, free: 15.44 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.54e-05/0.3748, allocations: 11.98 kB / 0.5649 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.3748, allocations: 3.938 kB / 0.5649 GB, free: 15.42 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.029e-05/0.3748, allocations: 4 kB / 0.5649 GB, free: 15.42 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.3748, allocations: 0 / 0.5649 GB, free: 15.42 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.3748, allocations: 4 kB / 0.5649 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002505/0.3751, allocations: 207.2 kB / 0.5651 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.873e-05/0.3751, allocations: 31.72 kB / 0.5651 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.286e-05/0.3752, allocations: 4 kB / 0.5651 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001183/0.3753, allocations: 7.984 kB / 0.5651 GB, free: 15.15 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.214e-05/0.3753, allocations: 0 / 0.5651 GB, free: 15.15 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.297e-06/0.3753, allocations: 0 / 0.5651 GB, free: 15.15 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006999/0.376, allocations: 0.6589 MB / 0.5658 GB, free: 14.5 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.376, allocations: 0 / 0.5658 GB, free: 14.5 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002573/0.3763, allocations: 23.94 kB / 0.5658 GB, free: 14.47 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.001821/0.3781, allocations: 0.9864 MB / 0.5668 GB, free: 13.59 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002091/0.3783, allocations: 35.95 kB / 0.5668 GB, free: 13.55 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.3783, allocations: 0 / 0.5668 GB, free: 13.55 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.823e-05/0.3784, allocations: 27.86 kB / 0.5668 GB, free: 13.52 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004563/0.3788, allocations: 28.34 kB / 0.5669 GB, free: 13.5 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004208/0.383, allocations: 3.178 MB / 0.57 GB, free: 10.23 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005585/0.3836, allocations: 0.8221 MB / 0.5708 GB, free: 9.387 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.873e-05/0.3836, allocations: 15.81 kB / 0.5708 GB, free: 9.371 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000141/0.3838, allocations: 111.4 kB / 0.5709 GB, free: 9.266 MB / 414.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3838, allocations: 0 / 0.5709 GB, free: 9.266 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03484/0.4186, allocations: 5.924 MB / 0.5767 GB, free: 3.402 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.71/12.13, allocations: 7.188 kB / 0.5767 GB, free: 3.398 MB / 414.1 MB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test9_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test9.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe 2>&1) [Timeout 52.5] 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: 15.265013705007732]