Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.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.00128/0.00128, 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.001514/0.001514, allocations: 211.8 kB / 24.51 MB, free: 3.918 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.465/1.465, allocations: 230.6 MB / 258.3 MB, free: 7.773 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.2192/0.2192, allocations: 44.94 MB / 359.6 MB, free: 6.059 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.Test30,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test30",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test30,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test30",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.002855/0.002855, allocations: 63.91 kB / 0.4938 GB, free: 10.52 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3704/0.3733, allocations: 65.47 MB / 0.5577 GB, free: 7.332 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test30): time 0.003478/0.3768, allocations: 1.673 MB / 0.5594 GB, free: 5.867 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00134/0.3781, allocations: 0.531 MB / 0.5599 GB, free: 5.332 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.193e-05/0.3782, allocations: 0 / 0.5599 GB, free: 5.332 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003159/0.3785, allocations: 75.7 kB / 0.56 GB, free: 5.258 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003636/0.3789, allocations: 103.6 kB / 0.5601 GB, free: 5.156 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004454/0.3793, allocations: 139.4 kB / 0.5602 GB, free: 5.023 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001879/0.3795, allocations: 91.73 kB / 0.5603 GB, free: 4.934 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001138/0.3796, allocations: 14.06 kB / 0.5603 GB, free: 4.918 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.171e-05/0.3797, allocations: 39.89 kB / 0.5603 GB, free: 4.879 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000121/0.3798, allocations: 59.75 kB / 0.5604 GB, free: 4.82 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.506e-05/0.3798, allocations: 4 kB / 0.5604 GB, free: 4.816 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000122/0.3799, allocations: 55.97 kB / 0.5605 GB, free: 4.762 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.405e-05/0.38, allocations: 23.86 kB / 0.5605 GB, free: 4.738 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.179e-05/0.3801, allocations: 31.8 kB / 0.5605 GB, free: 4.707 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002482/0.3803, allocations: 127.4 kB / 0.5606 GB, free: 4.582 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.3803, allocations: 4 kB / 0.5606 GB, free: 4.578 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3803, allocations: 0 / 0.5606 GB, free: 4.578 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.3803, allocations: 0 / 0.5606 GB, free: 4.578 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.0005824/0.3809, allocations: 361.5 kB / 0.561 GB, free: 4.195 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.3809, allocations: 8.031 kB / 0.561 GB, free: 4.188 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.306e-05/0.381, allocations: 4.188 kB / 0.561 GB, free: 4.184 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.227e-05/0.381, allocations: 34.69 kB / 0.561 GB, free: 4.141 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.769e-05/0.381, allocations: 16.84 kB / 0.561 GB, free: 4.125 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001917/0.3812, allocations: 142.4 kB / 0.5612 GB, free: 3.961 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.527e-06/0.3812, allocations: 384 / 0.5612 GB, free: 3.961 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.366e-05/0.3813, allocations: 12.12 kB / 0.5612 GB, free: 3.949 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001736/0.3814, allocations: 69.66 kB / 0.5613 GB, free: 3.875 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.3814, allocations: 0 / 0.5613 GB, free: 3.875 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.268e-06/0.3815, allocations: 0 / 0.5613 GB, free: 3.875 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.3815, allocations: 0 / 0.5613 GB, free: 3.875 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001411/0.3816, allocations: 39.91 kB / 0.5613 GB, free: 3.836 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000396/0.382, allocations: 279.8 kB / 0.5616 GB, free: 3.52 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002419/0.3822, allocations: 62.58 kB / 0.5616 GB, free: 3.449 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.768e-05/0.3823, allocations: 20.97 kB / 0.5616 GB, free: 3.426 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.927e-05/0.3823, allocations: 7.938 kB / 0.5616 GB, free: 3.418 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.953e-05/0.3824, allocations: 30.56 kB / 0.5617 GB, free: 3.379 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.062e-06/0.3824, allocations: 0 / 0.5617 GB, free: 3.379 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001509/0.3839, allocations: 405.2 kB / 0.5621 GB, free: 2.977 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.658e-05/0.3839, allocations: 55.41 kB / 0.5621 GB, free: 2.91 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002537/0.3842, allocations: 234.6 kB / 0.5623 GB, free: 2.668 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.089e-05/0.3842, allocations: 29.7 kB / 0.5624 GB, free: 2.633 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.505e-05/0.3843, allocations: 112 kB / 0.5625 GB, free: 2.52 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.304e-05/0.3843, allocations: 39.69 kB / 0.5625 GB, free: 2.48 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.422e-05/0.3844, allocations: 17.72 kB / 0.5625 GB, free: 2.457 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001444/0.3845, allocations: 330.8 kB / 0.5628 GB, free: 2.125 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001249/0.3847, allocations: 36.16 kB / 0.5629 GB, free: 2.09 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001218/0.3848, allocations: 59.95 kB / 0.5629 GB, free: 2.031 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002312/0.385, allocations: 92.81 kB / 0.563 GB, free: 1.938 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.385, allocations: 0 / 0.563 GB, free: 1.938 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003173/0.3853, allocations: 149.5 kB / 0.5632 GB, free: 1.785 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.3853, allocations: 10.19 kB / 0.5632 GB, free: 1.777 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.3853, allocations: 0 / 0.5632 GB, free: 1.777 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.3854, allocations: 3.938 kB / 0.5632 GB, free: 1.773 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001436/0.3855, allocations: 31.92 kB / 0.5632 GB, free: 1.742 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.3855, allocations: 0 / 0.5632 GB, free: 1.742 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.371e-05/0.3856, allocations: 7.984 kB / 0.5632 GB, free: 1.734 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.506e-05/0.3856, allocations: 8 kB / 0.5632 GB, free: 1.727 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.0001165/0.3857, allocations: 125.8 kB / 0.5633 GB, free: 1.594 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.43e-05/0.3858, allocations: 19.89 kB / 0.5634 GB, free: 1.574 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003985/0.3862, allocations: 174.9 kB / 0.5635 GB, free: 1.391 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.3862, allocations: 0 / 0.5635 GB, free: 1.391 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.686e-06/0.3862, allocations: 3.938 kB / 0.5635 GB, free: 1.387 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.3862, allocations: 0 / 0.5635 GB, free: 1.387 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006851/0.3869, allocations: 443.1 kB / 0.564 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.3869, allocations: 0 / 0.564 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001027/0.387, allocations: 23.98 kB / 0.564 GB, free: 0.875 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/0.387, allocations: 4 kB / 0.564 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.276e-05/0.387, allocations: 4 kB / 0.564 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.387, allocations: 0 / 0.564 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.387, allocations: 4 kB / 0.564 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003744/0.3874, allocations: 261.6 kB / 0.5642 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.9e-05/0.3874, allocations: 19.89 kB / 0.5643 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.358e-05/0.3874, allocations: 0 / 0.5643 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.999e-05/0.3875, allocations: 15.98 kB / 0.5643 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.781e-05/0.3876, allocations: 7.984 kB / 0.5643 GB, free: 0.543 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.157e-05/0.3876, allocations: 7.938 kB / 0.5643 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001713/0.3877, allocations: 164.3 kB / 0.5644 GB, free: 384 kB / 398.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3877, allocations: 0 / 0.5644 GB, free: 384 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002995/0.388, allocations: 31.92 kB / 0.5645 GB, free: 352 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.002608/0.3906, allocations: 1.176 MB / 0.5656 GB, free: 15.35 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003863/0.391, allocations: 103.9 kB / 0.5657 GB, free: 15.25 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.391, allocations: 0 / 0.5657 GB, free: 15.25 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001439/0.3912, allocations: 55.89 kB / 0.5658 GB, free: 15.2 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004386/0.3916, allocations: 23.11 kB / 0.5658 GB, free: 15.18 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00259/0.3942, allocations: 1.893 MB / 0.5677 GB, free: 13.2 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001058/0.3943, allocations: 109.7 kB / 0.5678 GB, free: 13.07 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.799e-05/0.3944, allocations: 12.48 kB / 0.5678 GB, free: 13.05 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.797e-05/0.3945, allocations: 43.41 kB / 0.5678 GB, free: 13.01 MB / 414.1 MB Notification: Performance of SimCode: time 7.72e-07/0.3945, allocations: 0 / 0.5678 GB, free: 13.01 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02368/0.4182, allocations: 3.738 MB / 0.5715 GB, free: 9.324 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.52/11.93, allocations: 14.88 kB / 0.5715 GB, free: 9.316 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test30_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test30.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.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.06044022005517]