Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.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.001303/0.001303, allocations: 112.2 kB / 21.22 MB, free: 0.75 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.001495/0.001495, allocations: 205.2 kB / 24.52 MB, free: 4.156 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.502/1.502, allocations: 230.6 MB / 258.3 MB, free: 8.035 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2405/0.2405, allocations: 46.93 MB / 361.6 MB, free: 4.281 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test5,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test5",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test5,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test5",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002012/0.002012, allocations: 67.89 kB / 0.497 GB, free: 7.887 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.381/0.383, allocations: 66.04 MB / 0.5614 GB, free: 4.473 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test5): time 0.003138/0.3862, allocations: 1.671 MB / 0.5631 GB, free: 2.789 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001031/0.3872, allocations: 0.562 MB / 0.5636 GB, free: 2.223 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.23e-05/0.3873, allocations: 0 / 0.5636 GB, free: 2.223 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005705/0.3878, allocations: 455.1 kB / 0.5641 GB, free: 1.777 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004564/0.3883, allocations: 295.3 kB / 0.5643 GB, free: 1.488 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003404/0.3886, allocations: 135.4 kB / 0.5645 GB, free: 1.359 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002281/0.3889, allocations: 171.6 kB / 0.5646 GB, free: 1.191 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.94e-05/0.3889, allocations: 13.81 kB / 0.5646 GB, free: 1.18 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001285/0.3891, allocations: 115.7 kB / 0.5648 GB, free: 1.066 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002736/0.3894, allocations: 247.5 kB / 0.565 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.448e-05/0.3894, allocations: 0 / 0.565 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.33e-05/0.3894, allocations: 36 kB / 0.565 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001017/0.3896, allocations: 83.69 kB / 0.5651 GB, free: 0.707 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.267e-05/0.3896, allocations: 103 kB / 0.5652 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000325/0.39, allocations: 274.5 kB / 0.5655 GB, free: 344 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.39, allocations: 0 / 0.5655 GB, free: 344 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.39, allocations: 0 / 0.5655 GB, free: 344 kB / 398.1 MB Notification: Performance of Transformations before backend: time 5.811e-06/0.39, allocations: 4 kB / 0.5655 GB, free: 340 kB / 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.0007546/0.3907, allocations: 0.5776 MB / 0.566 GB, free: 15.72 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.3908, allocations: 12.03 kB / 0.566 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.536e-05/0.3908, allocations: 4.188 kB / 0.566 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.093e-05/0.3908, allocations: 34.73 kB / 0.5661 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.171e-05/0.3909, allocations: 48.61 kB / 0.5661 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002769/0.3912, allocations: 250.8 kB / 0.5664 GB, free: 15.35 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.149e-06/0.3912, allocations: 384 / 0.5664 GB, free: 15.35 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.325e-05/0.3912, allocations: 8.125 kB / 0.5664 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001383/0.3913, allocations: 53.62 kB / 0.5664 GB, free: 15.28 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.3913, allocations: 0 / 0.5664 GB, free: 15.28 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.214e-06/0.3913, allocations: 0 / 0.5664 GB, free: 15.28 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.637e-06/0.3913, allocations: 0 / 0.5664 GB, free: 15.28 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.244e-05/0.3914, allocations: 31.97 kB / 0.5665 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004692/0.3919, allocations: 363.7 kB / 0.5668 GB, free: 14.85 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001972/0.3921, allocations: 42.5 kB / 0.5668 GB, free: 14.8 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.28e-05/0.3922, allocations: 16.94 kB / 0.5669 GB, free: 14.78 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.842e-05/0.3922, allocations: 4 kB / 0.5669 GB, free: 14.78 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.593e-05/0.3922, allocations: 34.56 kB / 0.5669 GB, free: 14.73 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 9.32e-07/0.3922, allocations: 0 / 0.5669 GB, free: 14.73 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006334/0.3928, allocations: 228.7 kB / 0.5671 GB, free: 14.5 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.887e-05/0.3929, allocations: 51.41 kB / 0.5672 GB, free: 14.44 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009143/0.3938, allocations: 0.8815 MB / 0.568 GB, free: 13.55 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.679e-05/0.3938, allocations: 29.7 kB / 0.5681 GB, free: 13.51 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002136/0.394, allocations: 220.1 kB / 0.5683 GB, free: 13.29 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.533e-05/0.394, allocations: 23.78 kB / 0.5683 GB, free: 13.27 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.431e-05/0.3941, allocations: 21.64 kB / 0.5683 GB, free: 13.24 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001791/0.3943, allocations: 358.8 kB / 0.5686 GB, free: 12.88 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.677e-05/0.3943, allocations: 19.98 kB / 0.5687 GB, free: 12.86 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.394e-05/0.3944, allocations: 20.17 kB / 0.5687 GB, free: 12.84 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001412/0.3946, allocations: 56.77 kB / 0.5687 GB, free: 12.79 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.3946, allocations: 0 / 0.5687 GB, free: 12.79 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002327/0.3948, allocations: 121.3 kB / 0.5689 GB, free: 12.66 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/0.3948, allocations: 7.984 kB / 0.5689 GB, free: 12.65 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.3948, allocations: 0 / 0.5689 GB, free: 12.65 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.3948, allocations: 0 / 0.5689 GB, free: 12.65 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.734e-05/0.3949, allocations: 12 kB / 0.5689 GB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-06/0.3949, allocations: 3.938 kB / 0.5689 GB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.287e-05/0.395, allocations: 11.98 kB / 0.5689 GB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.38e-06/0.395, allocations: 0 / 0.5689 GB, free: 12.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 (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.0002204/0.3952, allocations: 213.7 kB / 0.5691 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.192e-05/0.3953, allocations: 47.7 kB / 0.5691 GB, free: 12.36 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002953/0.3956, allocations: 125.3 kB / 0.5693 GB, free: 12.22 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.588e-06/0.3956, allocations: 4 kB / 0.5693 GB, free: 12.22 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.481e-05/0.3956, allocations: 7.938 kB / 0.5693 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.3956, allocations: 0 / 0.5693 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005903/0.3962, allocations: 437.8 kB / 0.5697 GB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.3962, allocations: 0 / 0.5697 GB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.006e-05/0.3962, allocations: 15.98 kB / 0.5697 GB, free: 11.72 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.234e-06/0.3962, allocations: 3.938 kB / 0.5697 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.005e-06/0.3962, allocations: 192 / 0.5697 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.3962, allocations: 4 kB / 0.5697 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.3963, allocations: 3.984 kB / 0.5697 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002904/0.3965, allocations: 219.2 kB / 0.5699 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.814e-05/0.3966, allocations: 43.66 kB / 0.57 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.756e-05/0.3966, allocations: 3.938 kB / 0.57 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.886e-05/0.3967, allocations: 7.984 kB / 0.57 GB, free: 11.42 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.094e-05/0.3967, allocations: 0 / 0.57 GB, free: 11.42 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.332e-06/0.3968, allocations: 4 kB / 0.57 GB, free: 11.42 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007428/0.3975, allocations: 0.6628 MB / 0.5706 GB, free: 10.76 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3975, allocations: 0 / 0.5706 GB, free: 10.76 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002662/0.3978, allocations: 27.94 kB / 0.5707 GB, free: 10.73 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.002023/0.3998, allocations: 1.056 MB / 0.5717 GB, free: 9.805 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002002/0.4, allocations: 47.91 kB / 0.5717 GB, free: 9.758 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.4, allocations: 0 / 0.5717 GB, free: 9.758 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.38e-05/0.4001, allocations: 15.98 kB / 0.5717 GB, free: 9.742 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004067/0.4005, allocations: 27.8 kB / 0.5718 GB, free: 9.715 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004116/0.4046, allocations: 3.252 MB / 0.5749 GB, free: 6.371 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005036/0.4051, allocations: 0.8298 MB / 0.5758 GB, free: 5.516 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.033e-05/0.4051, allocations: 7.984 kB / 0.5758 GB, free: 5.508 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001393/0.4053, allocations: 107.4 kB / 0.5759 GB, free: 5.406 MB / 414.1 MB Notification: Performance of SimCode: time 6.42e-07/0.4053, allocations: 0 / 0.5759 GB, free: 5.406 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0274/0.4327, allocations: 6.244 MB / 0.582 GB, free: 15.24 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.78/12.21, allocations: 16.91 kB / 0.582 GB, free: 15.23 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test5_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test5_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test5.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.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.470869363984093]