Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.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.001333/0.001333, 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.001366/0.001366, allocations: 212.2 kB / 24.53 MB, free: 4.066 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.544/1.544, allocations: 230.6 MB / 258.3 MB, free: 8.016 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.2412/0.2412, allocations: 44.91 MB / 359.6 MB, free: 6.285 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.CombiTable2Dv.Test24,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test24",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test24,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test24",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.002143/0.002143, allocations: 63.91 kB / 0.4939 GB, free: 10.7 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3839/0.386, allocations: 65.48 MB / 0.5578 GB, free: 7.52 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test24): time 0.003962/0.39, allocations: 1.703 MB / 0.5595 GB, free: 6.039 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001213/0.3912, allocations: 0.5971 MB / 0.5601 GB, free: 5.438 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.679e-05/0.3913, allocations: 0 / 0.5601 GB, free: 5.438 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002908/0.3916, allocations: 51.8 kB / 0.5601 GB, free: 5.387 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003129/0.3919, allocations: 91.61 kB / 0.5602 GB, free: 5.297 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004624/0.3923, allocations: 186.9 kB / 0.5604 GB, free: 5.117 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001863/0.3925, allocations: 87.77 kB / 0.5605 GB, free: 5.031 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001188/0.3926, allocations: 14.19 kB / 0.5605 GB, free: 5.016 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.252e-05/0.3927, allocations: 43.78 kB / 0.5605 GB, free: 4.973 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001172/0.3928, allocations: 51.81 kB / 0.5606 GB, free: 4.922 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.558e-05/0.3929, allocations: 8 kB / 0.5606 GB, free: 4.914 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001184/0.393, allocations: 47.92 kB / 0.5606 GB, free: 4.867 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.178e-05/0.393, allocations: 19.92 kB / 0.5606 GB, free: 4.848 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.722e-05/0.3931, allocations: 39.73 kB / 0.5607 GB, free: 4.809 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002364/0.3933, allocations: 123.4 kB / 0.5608 GB, free: 4.688 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.3933, allocations: 0 / 0.5608 GB, free: 4.688 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3933, allocations: 0 / 0.5608 GB, free: 4.688 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.718e-06/0.3934, allocations: 0 / 0.5608 GB, free: 4.688 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.0006255/0.394, allocations: 345.6 kB / 0.5611 GB, free: 4.32 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.394, allocations: 12.03 kB / 0.5611 GB, free: 4.309 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.359e-05/0.394, allocations: 192 / 0.5611 GB, free: 4.309 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.346e-05/0.3941, allocations: 42.73 kB / 0.5612 GB, free: 4.258 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.875e-05/0.3941, allocations: 16.78 kB / 0.5612 GB, free: 4.242 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002116/0.3943, allocations: 142.2 kB / 0.5613 GB, free: 4.078 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.191e-05/0.3943, allocations: 4.375 kB / 0.5613 GB, free: 4.074 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.844e-05/0.3944, allocations: 12.11 kB / 0.5613 GB, free: 4.062 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001887/0.3946, allocations: 65.67 kB / 0.5614 GB, free: 3.992 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.3946, allocations: 0 / 0.5614 GB, free: 3.992 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.244e-05/0.3946, allocations: 8 kB / 0.5614 GB, free: 3.984 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.221e-06/0.3946, allocations: 4 kB / 0.5614 GB, free: 3.98 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001544/0.3947, allocations: 43.95 kB / 0.5615 GB, free: 3.938 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005054/0.3952, allocations: 295.8 kB / 0.5617 GB, free: 3.605 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002694/0.3955, allocations: 58.55 kB / 0.5618 GB, free: 3.539 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.697e-05/0.3956, allocations: 29 kB / 0.5618 GB, free: 3.508 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.923e-05/0.3956, allocations: 0 / 0.5618 GB, free: 3.508 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.738e-05/0.3957, allocations: 38.56 kB / 0.5619 GB, free: 3.461 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 9.11e-07/0.3957, allocations: 3.938 kB / 0.5619 GB, free: 3.457 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.00162/0.3973, allocations: 424.9 kB / 0.5623 GB, free: 3.035 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.244e-05/0.3973, allocations: 51.41 kB / 0.5623 GB, free: 2.973 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002045/0.3975, allocations: 178.2 kB / 0.5625 GB, free: 2.785 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.249e-05/0.3976, allocations: 33.7 kB / 0.5625 GB, free: 2.746 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.243e-05/0.3976, allocations: 100.1 kB / 0.5626 GB, free: 2.645 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.859e-05/0.3977, allocations: 43.58 kB / 0.5627 GB, free: 2.602 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.582e-05/0.3978, allocations: 29.66 kB / 0.5627 GB, free: 2.566 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001585/0.3979, allocations: 326.8 kB / 0.563 GB, free: 2.238 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000145/0.3981, allocations: 51.95 kB / 0.563 GB, free: 2.188 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001436/0.3982, allocations: 59.95 kB / 0.5631 GB, free: 2.129 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003177/0.3985, allocations: 120.7 kB / 0.5632 GB, free: 2.008 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.3985, allocations: 4 kB / 0.5632 GB, free: 2.004 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003608/0.3989, allocations: 161.5 kB / 0.5634 GB, free: 1.84 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/0.3989, allocations: 8 kB / 0.5634 GB, free: 1.832 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.3989, allocations: 3.984 kB / 0.5634 GB, free: 1.828 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.796e-05/0.3989, allocations: 3.938 kB / 0.5634 GB, free: 1.824 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001223/0.399, allocations: 28.55 kB / 0.5634 GB, free: 1.797 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.114e-06/0.3991, allocations: 3.938 kB / 0.5634 GB, free: 1.793 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.055e-05/0.3991, allocations: 15.98 kB / 0.5634 GB, free: 1.777 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.197e-06/0.3991, allocations: 0 / 0.5634 GB, free: 1.777 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.0001167/0.3992, allocations: 129.8 kB / 0.5636 GB, free: 1.641 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.171e-05/0.3993, allocations: 11.91 kB / 0.5636 GB, free: 1.629 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004449/0.3997, allocations: 194.7 kB / 0.5638 GB, free: 1.43 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.3997, allocations: 8 kB / 0.5638 GB, free: 1.422 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.3997, allocations: 0 / 0.5638 GB, free: 1.422 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.524e-06/0.3998, allocations: 3.984 kB / 0.5638 GB, free: 1.418 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007628/0.4005, allocations: 482.9 kB / 0.5642 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.4005, allocations: 3.984 kB / 0.5642 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001065/0.4006, allocations: 31.98 kB / 0.5643 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.4006, allocations: 4 kB / 0.5643 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.387e-05/0.4006, allocations: 3.984 kB / 0.5643 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.4006, allocations: 4 kB / 0.5643 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.4006, allocations: 0 / 0.5643 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004206/0.4011, allocations: 273.2 kB / 0.5645 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.455e-05/0.4011, allocations: 23.78 kB / 0.5646 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.203e-05/0.4011, allocations: 0 / 0.5646 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001021/0.4012, allocations: 11.98 kB / 0.5646 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.316e-05/0.4013, allocations: 11.98 kB / 0.5646 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.055e-05/0.4013, allocations: 4 kB / 0.5646 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001266/0.4014, allocations: 148 kB / 0.5647 GB, free: 368 kB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4014, allocations: 0 / 0.5647 GB, free: 368 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002771/0.4017, allocations: 31.88 kB / 0.5648 GB, free: 336 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.002393/0.4041, allocations: 1.151 MB / 0.5659 GB, free: 15.33 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003744/0.4045, allocations: 131.8 kB / 0.566 GB, free: 15.2 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.4045, allocations: 0 / 0.566 GB, free: 15.2 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001635/0.4046, allocations: 67.89 kB / 0.5661 GB, free: 15.14 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003891/0.405, allocations: 15.98 kB / 0.5661 GB, free: 15.12 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002668/0.4077, allocations: 1.9 MB / 0.5679 GB, free: 13.13 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003788/0.4081, allocations: 0.7157 MB / 0.5686 GB, free: 12.39 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001029/0.4082, allocations: 36.39 kB / 0.5687 GB, free: 12.35 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.513e-05/0.4082, allocations: 43.42 kB / 0.5687 GB, free: 12.31 MB / 414.1 MB Notification: Performance of SimCode: time 5.91e-07/0.4082, allocations: 0 / 0.5687 GB, free: 12.31 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02402/0.4323, allocations: 3.677 MB / 0.5723 GB, free: 8.707 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.14/11.57, allocations: 6.172 kB / 0.5723 GB, free: 8.703 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test24_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test24.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test24/Test24.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.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.844187920039985]