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.001711/0.001711, allocations: 112.2 kB / 21.22 MB, free: 0.7305 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.002351/0.002351, allocations: 212.2 kB / 24.53 MB, free: 4.07 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.561/1.561, allocations: 230.6 MB / 258.3 MB, free: 8.031 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.2639/0.2639, allocations: 44.92 MB / 359.6 MB, free: 6.305 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.Test9,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test9",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test9,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test9",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.002958/0.002958, allocations: 63.91 kB / 0.4939 GB, free: 10.74 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3895/0.3924, allocations: 65.46 MB / 0.5578 GB, free: 7.555 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test9): time 0.003473/0.3959, allocations: 1.638 MB / 0.5594 GB, free: 6.18 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001104/0.397, allocations: 0.5494 MB / 0.5599 GB, free: 5.625 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.495e-05/0.397, allocations: 3.938 kB / 0.5599 GB, free: 5.621 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006571/0.3977, allocations: 455.1 kB / 0.5604 GB, free: 5.176 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004893/0.3982, allocations: 291.3 kB / 0.5606 GB, free: 4.891 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003479/0.3985, allocations: 127.5 kB / 0.5608 GB, free: 4.77 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002479/0.3988, allocations: 175.6 kB / 0.5609 GB, free: 4.598 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001017/0.3989, allocations: 8 kB / 0.5609 GB, free: 4.59 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001352/0.399, allocations: 111.8 kB / 0.561 GB, free: 4.48 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002997/0.3993, allocations: 247.5 kB / 0.5613 GB, free: 4.238 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.884e-05/0.3993, allocations: 4 kB / 0.5613 GB, free: 4.234 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.842e-05/0.3994, allocations: 27.91 kB / 0.5613 GB, free: 4.207 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000123/0.3996, allocations: 88.61 kB / 0.5614 GB, free: 4.121 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001055/0.3997, allocations: 103 kB / 0.5615 GB, free: 4.02 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00037/0.4, allocations: 260.6 kB / 0.5617 GB, free: 3.766 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.4, allocations: 0 / 0.5617 GB, free: 3.766 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.4, allocations: 0 / 0.5617 GB, free: 3.766 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.652e-06/0.4, allocations: 0 / 0.5617 GB, free: 3.766 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.0008685/0.4009, allocations: 0.5893 MB / 0.5623 GB, free: 3.145 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.789e-05/0.401, allocations: 8.031 kB / 0.5623 GB, free: 3.137 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.965e-05/0.401, allocations: 4.188 kB / 0.5623 GB, free: 3.133 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.316e-05/0.401, allocations: 30.75 kB / 0.5624 GB, free: 3.094 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.926e-05/0.4011, allocations: 44.66 kB / 0.5624 GB, free: 3.051 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003255/0.4014, allocations: 250.7 kB / 0.5626 GB, free: 2.781 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.367e-06/0.4014, allocations: 384 / 0.5626 GB, free: 2.781 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.481e-05/0.4014, allocations: 12.12 kB / 0.5627 GB, free: 2.77 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001791/0.4016, allocations: 57.67 kB / 0.5627 GB, free: 2.707 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.924e-06/0.4016, allocations: 0 / 0.5627 GB, free: 2.707 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.506e-06/0.4016, allocations: 0 / 0.5627 GB, free: 2.707 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.4016, allocations: 0 / 0.5627 GB, free: 2.707 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000129/0.4018, allocations: 31.97 kB / 0.5627 GB, free: 2.676 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005189/0.4023, allocations: 355.8 kB / 0.5631 GB, free: 2.285 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001385/0.4024, allocations: 42.56 kB / 0.5631 GB, free: 2.234 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.01e-05/0.4025, allocations: 16.94 kB / 0.5631 GB, free: 2.215 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.329e-05/0.4025, allocations: 4 kB / 0.5631 GB, free: 2.211 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.369e-05/0.4025, allocations: 38.56 kB / 0.5632 GB, free: 2.164 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.4025, allocations: 0 / 0.5632 GB, free: 2.164 MB / 398.1 MB Notification: Performance of matching and sorting (n=3): time 0.00036/0.4029, allocations: 125.3 kB / 0.5633 GB, free: 2.035 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.218e-05/0.403, allocations: 55.41 kB / 0.5634 GB, free: 1.969 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009668/0.4039, allocations: 0.866 MB / 0.5642 GB, free: 1.09 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.471e-05/0.4039, allocations: 29.7 kB / 0.5642 GB, free: 1.055 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002051/0.4042, allocations: 220 kB / 0.5644 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.403e-05/0.4042, allocations: 7.938 kB / 0.5644 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.088e-05/0.4042, allocations: 17.72 kB / 0.5645 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001921/0.4044, allocations: 362.7 kB / 0.5648 GB, free: 452 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.833e-05/0.4045, allocations: 19.98 kB / 0.5648 GB, free: 432 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.752e-05/0.4045, allocations: 15.98 kB / 0.5648 GB, free: 416 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001281/0.4047, allocations: 41.09 kB / 0.5649 GB, free: 372 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.4047, allocations: 0 / 0.5649 GB, free: 372 kB / 398.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002061/0.4049, allocations: 109.3 kB / 0.565 GB, free: 256 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.4049, allocations: 10.34 kB / 0.565 GB, free: 248 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.4049, allocations: 0 / 0.565 GB, free: 248 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.4049, allocations: 4 kB / 0.565 GB, free: 244 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.536e-05/0.405, allocations: 8 kB / 0.565 GB, free: 236 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.777e-06/0.405, allocations: 3.984 kB / 0.565 GB, free: 232 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.802e-05/0.4051, allocations: 11.95 kB / 0.565 GB, free: 220 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.472e-06/0.4051, allocations: 0 / 0.565 GB, free: 220 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.0002209/0.4053, allocations: 213.7 kB / 0.5652 GB, free: 16 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.126e-05/0.4054, allocations: 43.72 kB / 0.5653 GB, free: 15.95 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002823/0.4056, allocations: 125.1 kB / 0.5654 GB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.4056, allocations: 0 / 0.5654 GB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.4056, allocations: 4 kB / 0.5654 GB, free: 15.81 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.4056, allocations: 0 / 0.5654 GB, free: 15.81 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003069/0.406, allocations: 264.6 kB / 0.5656 GB, free: 15.51 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.406, allocations: 0 / 0.5656 GB, free: 15.51 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.626e-05/0.406, allocations: 11.98 kB / 0.5657 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.406, allocations: 0 / 0.5657 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.404e-06/0.406, allocations: 3.938 kB / 0.5657 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.406, allocations: 0 / 0.5657 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.406, allocations: 4 kB / 0.5657 GB, free: 15.49 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002692/0.4063, allocations: 203.2 kB / 0.5659 GB, free: 15.28 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.843e-05/0.4064, allocations: 39.7 kB / 0.5659 GB, free: 15.24 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.673e-05/0.4064, allocations: 0 / 0.5659 GB, free: 15.24 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.009e-05/0.4065, allocations: 7.938 kB / 0.5659 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.431e-05/0.4065, allocations: 3.984 kB / 0.5659 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.731e-06/0.4065, allocations: 8 kB / 0.5659 GB, free: 15.22 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006974/0.4072, allocations: 0.655 MB / 0.5666 GB, free: 14.57 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4072, allocations: 0 / 0.5666 GB, free: 14.57 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002806/0.4075, allocations: 23.88 kB / 0.5666 GB, free: 14.54 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.001792/0.4093, allocations: 0.9868 MB / 0.5675 GB, free: 13.66 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001922/0.4095, allocations: 43.84 kB / 0.5676 GB, free: 13.61 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.4095, allocations: 0 / 0.5676 GB, free: 13.61 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.59e-05/0.4095, allocations: 23.97 kB / 0.5676 GB, free: 13.59 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004236/0.4099, allocations: 25.53 kB / 0.5676 GB, free: 13.57 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004047/0.414, allocations: 3.186 MB / 0.5707 GB, free: 10.29 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005569/0.4146, allocations: 0.8143 MB / 0.5715 GB, free: 9.453 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.48e-05/0.4146, allocations: 19.73 kB / 0.5716 GB, free: 9.434 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001707/0.4148, allocations: 111.4 kB / 0.5717 GB, free: 9.328 MB / 414.1 MB Notification: Performance of SimCode: time 1.022e-06/0.4148, allocations: 96 / 0.5717 GB, free: 9.328 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02757/0.4423, allocations: 5.959 MB / 0.5775 GB, free: 3.445 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.77/12.22, allocations: 2.234 kB / 0.5775 GB, free: 3.445 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.476325604016893]