Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.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.00135/0.00135, 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.001566/0.001566, allocations: 202.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.545/1.545, allocations: 230.6 MB / 258.3 MB, free: 8.008 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.2358/0.2358, allocations: 44.92 MB / 359.6 MB, free: 6.262 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.Test29,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test29",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test29,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test29",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.002002/0.002002, allocations: 67.91 kB / 0.4939 GB, free: 10.68 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3819/0.3839, allocations: 65.48 MB / 0.5578 GB, free: 7.52 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test29): time 0.003399/0.3873, allocations: 1.695 MB / 0.5595 GB, free: 6.066 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001259/0.3886, allocations: 0.605 MB / 0.5601 GB, free: 5.457 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.785e-05/0.3887, allocations: 3.938 kB / 0.5601 GB, free: 5.453 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003166/0.389, allocations: 67.78 kB / 0.5601 GB, free: 5.387 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003438/0.3893, allocations: 99.58 kB / 0.5602 GB, free: 5.289 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00048/0.3898, allocations: 187.3 kB / 0.5604 GB, free: 5.109 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002113/0.39, allocations: 95.73 kB / 0.5605 GB, free: 5.016 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001264/0.3901, allocations: 10.06 kB / 0.5605 GB, free: 5.004 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.343e-05/0.3902, allocations: 47.83 kB / 0.5606 GB, free: 4.957 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001328/0.3903, allocations: 59.75 kB / 0.5606 GB, free: 4.898 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.547e-05/0.3904, allocations: 4 kB / 0.5606 GB, free: 4.895 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001137/0.3905, allocations: 51.97 kB / 0.5607 GB, free: 4.844 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.094e-05/0.3905, allocations: 23.92 kB / 0.5607 GB, free: 4.82 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.97e-05/0.3906, allocations: 47.67 kB / 0.5607 GB, free: 4.773 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002443/0.3909, allocations: 119.4 kB / 0.5608 GB, free: 4.656 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.237e-06/0.3909, allocations: 4 kB / 0.5608 GB, free: 4.652 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.445e-06/0.3909, allocations: 0 / 0.5608 GB, free: 4.652 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.141e-05/0.3909, allocations: 0 / 0.5608 GB, free: 4.652 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006579/0.3915, allocations: 369.4 kB / 0.5612 GB, free: 4.262 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.647e-05/0.3916, allocations: 8.031 kB / 0.5612 GB, free: 4.254 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.575e-05/0.3916, allocations: 192 / 0.5612 GB, free: 4.254 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4e-05/0.3916, allocations: 42.75 kB / 0.5612 GB, free: 4.203 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.37e-05/0.3917, allocations: 12.84 kB / 0.5613 GB, free: 4.191 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002258/0.3919, allocations: 146.8 kB / 0.5614 GB, free: 4.023 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.328e-06/0.3919, allocations: 384 / 0.5614 GB, free: 4.023 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.228e-05/0.392, allocations: 16.06 kB / 0.5614 GB, free: 4.008 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002029/0.3922, allocations: 69.59 kB / 0.5615 GB, free: 3.934 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/0.3922, allocations: 3.938 kB / 0.5615 GB, free: 3.93 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/0.3922, allocations: 0 / 0.5615 GB, free: 3.93 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.3922, allocations: 0 / 0.5615 GB, free: 3.93 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001635/0.3924, allocations: 51.95 kB / 0.5615 GB, free: 3.879 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004893/0.3928, allocations: 303.7 kB / 0.5618 GB, free: 3.539 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002474/0.3931, allocations: 58.53 kB / 0.5619 GB, free: 3.473 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.184e-05/0.3932, allocations: 28.97 kB / 0.5619 GB, free: 3.441 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.263e-05/0.3932, allocations: 7.984 kB / 0.5619 GB, free: 3.434 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.097e-05/0.3932, allocations: 34.56 kB / 0.562 GB, free: 3.391 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.242e-06/0.3932, allocations: 0 / 0.562 GB, free: 3.391 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001528/0.3948, allocations: 429.4 kB / 0.5624 GB, free: 2.965 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.997e-05/0.3948, allocations: 55.41 kB / 0.5624 GB, free: 2.898 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002542/0.3951, allocations: 222.7 kB / 0.5626 GB, free: 2.664 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.137e-05/0.3951, allocations: 29.7 kB / 0.5627 GB, free: 2.629 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.116e-05/0.3952, allocations: 108.1 kB / 0.5628 GB, free: 2.52 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.199e-05/0.3952, allocations: 35.69 kB / 0.5628 GB, free: 2.484 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.685e-05/0.3953, allocations: 29.7 kB / 0.5628 GB, free: 2.449 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001596/0.3954, allocations: 322.8 kB / 0.5631 GB, free: 2.125 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001464/0.3956, allocations: 59.95 kB / 0.5632 GB, free: 2.066 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001516/0.3957, allocations: 51.91 kB / 0.5632 GB, free: 2.016 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002983/0.396, allocations: 124.9 kB / 0.5634 GB, free: 1.891 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.396, allocations: 4 kB / 0.5634 GB, free: 1.887 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003651/0.3964, allocations: 173.5 kB / 0.5635 GB, free: 1.711 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.175e-05/0.3964, allocations: 10.66 kB / 0.5635 GB, free: 1.703 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.3964, allocations: 0 / 0.5635 GB, free: 1.703 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.692e-05/0.3965, allocations: 7.875 kB / 0.5635 GB, free: 1.695 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001224/0.3966, allocations: 27.97 kB / 0.5636 GB, free: 1.668 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/0.3966, allocations: 0 / 0.5636 GB, free: 1.668 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.934e-05/0.3967, allocations: 8 kB / 0.5636 GB, free: 1.66 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.094e-05/0.3967, allocations: 7.984 kB / 0.5636 GB, free: 1.652 MB / 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 (11): * Single equations (assignments): 11 * 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.0001209/0.3968, allocations: 137.8 kB / 0.5637 GB, free: 1.508 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.145e-05/0.3968, allocations: 15.91 kB / 0.5637 GB, free: 1.492 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004413/0.3973, allocations: 186.9 kB / 0.5639 GB, free: 1.297 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.3973, allocations: 4 kB / 0.5639 GB, free: 1.293 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.157e-06/0.3973, allocations: 3.938 kB / 0.5639 GB, free: 1.289 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.3973, allocations: 7.984 kB / 0.5639 GB, free: 1.281 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007465/0.398, allocations: 483 kB / 0.5644 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.398, allocations: 0 / 0.5644 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001108/0.3981, allocations: 31.97 kB / 0.5644 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.3981, allocations: 8.062 kB / 0.5644 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.046e-05/0.3982, allocations: 3.938 kB / 0.5644 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.3982, allocations: 4 kB / 0.5644 GB, free: 0.707 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.3982, allocations: 3.938 kB / 0.5644 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004239/0.3986, allocations: 273 kB / 0.5647 GB, free: 424 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.712e-05/0.3986, allocations: 15.91 kB / 0.5647 GB, free: 408 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.738e-05/0.3986, allocations: 4 kB / 0.5647 GB, free: 404 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.972e-05/0.3987, allocations: 7.984 kB / 0.5647 GB, free: 396 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.096e-05/0.3988, allocations: 11.98 kB / 0.5647 GB, free: 384 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.117e-05/0.3988, allocations: 4 kB / 0.5647 GB, free: 380 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001751/0.399, allocations: 172.3 kB / 0.5649 GB, free: 208 kB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.399, allocations: 4 kB / 0.5649 GB, free: 204 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002751/0.3993, allocations: 31.88 kB / 0.5649 GB, free: 172 kB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.002389/0.4016, allocations: 1.162 MB / 0.5661 GB, free: 15.16 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003848/0.402, allocations: 131.8 kB / 0.5662 GB, free: 15.03 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.402, allocations: 0 / 0.5662 GB, free: 15.03 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001658/0.4022, allocations: 67.89 kB / 0.5663 GB, free: 14.96 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004227/0.4026, allocations: 25.83 kB / 0.5663 GB, free: 14.94 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002641/0.4053, allocations: 1.979 MB / 0.5682 GB, free: 12.88 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003594/0.4056, allocations: 0.7275 MB / 0.5689 GB, free: 12.12 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.976e-05/0.4057, allocations: 32.45 kB / 0.569 GB, free: 12.09 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.627e-05/0.4058, allocations: 43.42 kB / 0.569 GB, free: 12.05 MB / 414.1 MB Notification: Performance of SimCode: time 5.71e-07/0.4058, allocations: 0 / 0.569 GB, free: 12.05 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02346/0.4293, allocations: 3.846 MB / 0.5728 GB, free: 8.273 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.2/11.63, allocations: 11.94 kB / 0.5728 GB, free: 8.262 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test29_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test29.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test29/Test29.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.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: 14.936659132945351]