Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.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.001649/0.001649, 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.002311/0.002311, allocations: 218.7 kB / 24.52 MB, free: 3.91 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.484/1.484, allocations: 230.6 MB / 258.3 MB, free: 7.793 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.2732/0.2732, allocations: 44.94 MB / 359.6 MB, free: 6.094 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.CombiTable2Ds.Test6,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test6",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test6,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test6",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.002118/0.002118, allocations: 63.89 kB / 0.4938 GB, free: 10.56 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3808/0.3829, allocations: 65.47 MB / 0.5577 GB, free: 7.387 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test6): time 0.003283/0.3862, allocations: 1.649 MB / 0.5594 GB, free: 5.941 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001141/0.3873, allocations: 0.5231 MB / 0.5599 GB, free: 5.414 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.354e-05/0.3874, allocations: 7.938 kB / 0.5599 GB, free: 5.406 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007058/0.3881, allocations: 463.1 kB / 0.5603 GB, free: 4.953 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005704/0.3886, allocations: 295.3 kB / 0.5606 GB, free: 4.664 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003839/0.389, allocations: 131 kB / 0.5607 GB, free: 4.539 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002956/0.3893, allocations: 171.7 kB / 0.5609 GB, free: 4.371 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001297/0.3895, allocations: 13.83 kB / 0.5609 GB, free: 4.359 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001672/0.3896, allocations: 115.7 kB / 0.561 GB, free: 4.246 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003302/0.3899, allocations: 251.5 kB / 0.5612 GB, free: 4 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.34e-05/0.39, allocations: 8 kB / 0.5613 GB, free: 3.992 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001074/0.3901, allocations: 35.97 kB / 0.5613 GB, free: 3.957 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001331/0.3902, allocations: 83.69 kB / 0.5614 GB, free: 3.875 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.561e-05/0.3903, allocations: 75.19 kB / 0.5614 GB, free: 3.801 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003914/0.3907, allocations: 266.6 kB / 0.5617 GB, free: 3.539 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.3907, allocations: 0 / 0.5617 GB, free: 3.539 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.384e-06/0.3907, allocations: 0 / 0.5617 GB, free: 3.539 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.608e-05/0.3907, allocations: 0 / 0.5617 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.0009173/0.3916, allocations: 0.6009 MB / 0.5623 GB, free: 2.906 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.818e-05/0.3917, allocations: 15.97 kB / 0.5623 GB, free: 2.891 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.387e-05/0.3917, allocations: 4.188 kB / 0.5623 GB, free: 2.887 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.848e-05/0.3917, allocations: 34.75 kB / 0.5623 GB, free: 2.844 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.55e-05/0.3918, allocations: 44.66 kB / 0.5624 GB, free: 2.801 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003185/0.3921, allocations: 246.8 kB / 0.5626 GB, free: 2.535 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.112e-05/0.3922, allocations: 384 / 0.5626 GB, free: 2.535 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.973e-05/0.3922, allocations: 8.125 kB / 0.5626 GB, free: 2.527 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001771/0.3924, allocations: 61.67 kB / 0.5627 GB, free: 2.461 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/0.3924, allocations: 0 / 0.5627 GB, free: 2.461 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.908e-06/0.3924, allocations: 0 / 0.5627 GB, free: 2.461 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.103e-06/0.3924, allocations: 3.984 kB / 0.5627 GB, free: 2.457 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001456/0.3925, allocations: 43.91 kB / 0.5627 GB, free: 2.414 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005137/0.3931, allocations: 355.8 kB / 0.5631 GB, free: 2.023 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001439/0.3932, allocations: 42.66 kB / 0.5631 GB, free: 1.973 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.613e-05/0.3933, allocations: 28.81 kB / 0.5631 GB, free: 1.941 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.223e-05/0.3933, allocations: 3.938 kB / 0.5631 GB, free: 1.938 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.384e-05/0.3933, allocations: 38.56 kB / 0.5632 GB, free: 1.891 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.3933, allocations: 0 / 0.5632 GB, free: 1.891 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.00087/0.3942, allocations: 292.6 kB / 0.5635 GB, free: 1.598 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.923e-05/0.3942, allocations: 51.41 kB / 0.5635 GB, free: 1.535 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001008/0.3953, allocations: 0.8736 MB / 0.5644 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.079e-05/0.3953, allocations: 33.64 kB / 0.5644 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002152/0.3955, allocations: 220.1 kB / 0.5646 GB, free: 400 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.55e-05/0.3955, allocations: 23.81 kB / 0.5646 GB, free: 376 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001792/0.3957, allocations: 25.7 kB / 0.5646 GB, free: 344 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002229/0.3959, allocations: 354.8 kB / 0.565 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001152/0.396, allocations: 36.05 kB / 0.565 GB, free: 15.95 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.968e-05/0.3961, allocations: 31.95 kB / 0.565 GB, free: 15.91 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002157/0.3964, allocations: 77.05 kB / 0.5651 GB, free: 15.84 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.3964, allocations: 0 / 0.5651 GB, free: 15.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003085/0.3967, allocations: 149.3 kB / 0.5653 GB, free: 15.68 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.3967, allocations: 11.98 kB / 0.5653 GB, free: 15.67 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.3967, allocations: 0 / 0.5653 GB, free: 15.67 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/0.3967, allocations: 0 / 0.5653 GB, free: 15.67 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001401/0.3969, allocations: 19.98 kB / 0.5653 GB, free: 15.65 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.807e-06/0.3969, allocations: 3.938 kB / 0.5653 GB, free: 15.65 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.938e-05/0.3969, allocations: 19.86 kB / 0.5653 GB, free: 15.63 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.275e-06/0.3969, allocations: 4 kB / 0.5653 GB, free: 15.62 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 (7): * Single equations (assignments): 7 * 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.0002182/0.3972, allocations: 213.7 kB / 0.5655 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.66e-05/0.3972, allocations: 43.72 kB / 0.5656 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003918/0.3976, allocations: 173.4 kB / 0.5657 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.3976, allocations: 0 / 0.5657 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/0.3976, allocations: 7.938 kB / 0.5657 GB, free: 15.17 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.3976, allocations: 0 / 0.5657 GB, free: 15.17 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006835/0.3983, allocations: 465.5 kB / 0.5662 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.3983, allocations: 0 / 0.5662 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.594e-05/0.3984, allocations: 23.92 kB / 0.5662 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.559e-06/0.3984, allocations: 3.938 kB / 0.5662 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.314e-05/0.3984, allocations: 4 kB / 0.5662 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.502e-06/0.3984, allocations: 4 kB / 0.5662 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/0.3984, allocations: 0 / 0.5662 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003626/0.3988, allocations: 247.2 kB / 0.5665 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.923e-05/0.3988, allocations: 35.72 kB / 0.5665 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.832e-05/0.3989, allocations: 3.938 kB / 0.5665 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001045/0.399, allocations: 11.98 kB / 0.5665 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.335e-05/0.399, allocations: 11.98 kB / 0.5665 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.37e-06/0.399, allocations: 0 / 0.5665 GB, free: 14.31 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006727/0.3997, allocations: 0.6589 MB / 0.5672 GB, free: 13.65 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3997, allocations: 3.938 kB / 0.5672 GB, free: 13.65 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002637/0.4, allocations: 23.98 kB / 0.5672 GB, free: 13.62 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 (7): * Single equations (assignments): 7 * 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.002254/0.4022, allocations: 1.113 MB / 0.5683 GB, free: 12.68 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003674/0.4026, allocations: 87.84 kB / 0.5684 GB, free: 12.59 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.4026, allocations: 0 / 0.5684 GB, free: 12.59 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000115/0.4027, allocations: 35.97 kB / 0.5684 GB, free: 12.55 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004185/0.4031, allocations: 27.92 kB / 0.5684 GB, free: 12.53 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004176/0.4073, allocations: 3.327 MB / 0.5717 GB, free: 9.109 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002512/0.4075, allocations: 216.2 kB / 0.5719 GB, free: 8.879 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.907e-05/0.4076, allocations: 16.66 kB / 0.5719 GB, free: 8.863 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001578/0.4078, allocations: 111.4 kB / 0.572 GB, free: 8.754 MB / 414.1 MB Notification: Performance of SimCode: time 6.71e-07/0.4078, allocations: 3.938 kB / 0.572 GB, free: 8.75 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02993/0.4377, allocations: 6.427 MB / 0.5783 GB, free: 2.383 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.99/12.43, allocations: 10.97 kB / 0.5783 GB, free: 2.375 MB / 414.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test6_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test6.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.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.748416512971744]