Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.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.001376/0.001376, allocations: 112.2 kB / 21.22 MB, free: 0.7344 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.001335/0.001335, allocations: 208.4 kB / 24.52 MB, free: 4.141 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.527/1.527, allocations: 230.6 MB / 258.3 MB, free: 7.984 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.2683/0.2683, allocations: 44.91 MB / 359.6 MB, free: 6.289 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.Test8,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test8",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test8,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test8",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.001988/0.001988, allocations: 67.91 kB / 0.4939 GB, free: 10.72 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3796/0.3816, allocations: 65.47 MB / 0.5578 GB, free: 7.539 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test8): time 0.003414/0.3851, allocations: 1.635 MB / 0.5594 GB, free: 6.16 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001116/0.3862, allocations: 0.5806 MB / 0.56 GB, free: 5.574 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.14e-05/0.3862, allocations: 4 kB / 0.56 GB, free: 5.57 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006286/0.3869, allocations: 451.1 kB / 0.5604 GB, free: 5.129 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005735/0.3874, allocations: 291.3 kB / 0.5607 GB, free: 4.844 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005277/0.388, allocations: 171.4 kB / 0.5608 GB, free: 4.68 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003193/0.3883, allocations: 171.6 kB / 0.561 GB, free: 4.512 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001487/0.3884, allocations: 15.98 kB / 0.561 GB, free: 4.496 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001476/0.3886, allocations: 107.7 kB / 0.5611 GB, free: 4.391 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003382/0.3889, allocations: 247.5 kB / 0.5614 GB, free: 4.148 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.107e-05/0.3889, allocations: 4 kB / 0.5614 GB, free: 4.145 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.418e-05/0.389, allocations: 27.98 kB / 0.5614 GB, free: 4.117 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001319/0.3892, allocations: 84.62 kB / 0.5615 GB, free: 4.035 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001113/0.3893, allocations: 106.9 kB / 0.5616 GB, free: 3.93 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003699/0.3896, allocations: 256.5 kB / 0.5618 GB, free: 3.68 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.3896, allocations: 0 / 0.5618 GB, free: 3.68 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3896, allocations: 0 / 0.5618 GB, free: 3.68 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.186e-05/0.3897, allocations: 4 kB / 0.5618 GB, free: 3.676 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.0008693/0.3905, allocations: 0.5815 MB / 0.5624 GB, free: 3.062 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.868e-05/0.3906, allocations: 8.031 kB / 0.5624 GB, free: 3.055 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.53e-05/0.3906, allocations: 192 / 0.5624 GB, free: 3.055 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.277e-05/0.3906, allocations: 38.75 kB / 0.5624 GB, free: 3.008 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.512e-05/0.3907, allocations: 40.66 kB / 0.5625 GB, free: 2.969 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003291/0.391, allocations: 254.6 kB / 0.5627 GB, free: 2.695 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.45e-05/0.3911, allocations: 4.375 kB / 0.5627 GB, free: 2.691 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.553e-05/0.3911, allocations: 8.125 kB / 0.5627 GB, free: 2.684 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000175/0.3912, allocations: 53.67 kB / 0.5628 GB, free: 2.625 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.3913, allocations: 0 / 0.5628 GB, free: 2.625 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.365e-06/0.3913, allocations: 0 / 0.5628 GB, free: 2.625 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.3913, allocations: 0 / 0.5628 GB, free: 2.625 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.015e-05/0.3914, allocations: 23.98 kB / 0.5628 GB, free: 2.602 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005067/0.3919, allocations: 359.8 kB / 0.5631 GB, free: 2.207 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.475e-05/0.392, allocations: 38.56 kB / 0.5632 GB, free: 2.16 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.909e-05/0.392, allocations: 12.92 kB / 0.5632 GB, free: 2.145 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.141e-05/0.392, allocations: 0 / 0.5632 GB, free: 2.145 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.771e-05/0.3921, allocations: 34.56 kB / 0.5632 GB, free: 2.102 MB / 398.1 MB Notification: Performance of pre-optimization done (n=2): time 9.41e-07/0.3921, allocations: 0 / 0.5632 GB, free: 2.102 MB / 398.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002935/0.3924, allocations: 109.4 kB / 0.5633 GB, free: 1.988 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.523e-05/0.3924, allocations: 55.41 kB / 0.5634 GB, free: 1.922 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008811/0.3933, allocations: 0.8777 MB / 0.5642 GB, free: 1.031 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.744e-05/0.3933, allocations: 25.7 kB / 0.5643 GB, free: 1 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000184/0.3935, allocations: 220.1 kB / 0.5645 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.334e-05/0.3935, allocations: 19.83 kB / 0.5645 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.216e-05/0.3935, allocations: 13.7 kB / 0.5645 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001775/0.3937, allocations: 362.7 kB / 0.5648 GB, free: 388 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.684e-05/0.3938, allocations: 16.02 kB / 0.5649 GB, free: 372 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.428e-05/0.3938, allocations: 8 kB / 0.5649 GB, free: 364 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.421e-05/0.3939, allocations: 32.83 kB / 0.5649 GB, free: 328 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.3939, allocations: 0 / 0.5649 GB, free: 328 kB / 398.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001622/0.394, allocations: 101.3 kB / 0.565 GB, free: 220 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.3941, allocations: 4 kB / 0.565 GB, free: 216 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.3941, allocations: 0 / 0.565 GB, free: 216 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.3941, allocations: 4.094 kB / 0.565 GB, free: 212 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.037e-05/0.3941, allocations: 7.984 kB / 0.565 GB, free: 204 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-06/0.3941, allocations: 0 / 0.565 GB, free: 204 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.952e-05/0.3942, allocations: 4 kB / 0.565 GB, free: 200 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.556e-06/0.3942, allocations: 3.938 kB / 0.565 GB, free: 196 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 (2): * Single equations (assignments): 2 * 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.0002022/0.3944, allocations: 209.8 kB / 0.5652 GB, free: 15.98 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.061e-05/0.3945, allocations: 47.67 kB / 0.5653 GB, free: 15.93 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002105/0.3947, allocations: 112.8 kB / 0.5654 GB, free: 15.81 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.3947, allocations: 3.938 kB / 0.5654 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.3947, allocations: 0 / 0.5654 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.3947, allocations: 0 / 0.5654 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003026/0.395, allocations: 268.6 kB / 0.5656 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.395, allocations: 4 kB / 0.5656 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.785e-05/0.395, allocations: 4 kB / 0.5656 GB, free: 15.49 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.395, allocations: 0 / 0.5656 GB, free: 15.49 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.723e-06/0.395, allocations: 0 / 0.5656 GB, free: 15.49 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.395, allocations: 0 / 0.5656 GB, free: 15.49 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.395, allocations: 0 / 0.5656 GB, free: 15.49 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000209/0.3952, allocations: 199.2 kB / 0.5658 GB, free: 15.28 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.396e-05/0.3953, allocations: 39.7 kB / 0.5659 GB, free: 15.24 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.331e-05/0.3953, allocations: 0 / 0.5659 GB, free: 15.24 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.531e-05/0.3954, allocations: 0 / 0.5659 GB, free: 15.24 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.319e-05/0.3954, allocations: 4 kB / 0.5659 GB, free: 15.24 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.136e-06/0.3954, allocations: 0 / 0.5659 GB, free: 15.24 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006621/0.3961, allocations: 0.6667 MB / 0.5665 GB, free: 14.57 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3961, allocations: 3.938 kB / 0.5665 GB, free: 14.57 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000249/0.3963, allocations: 20 kB / 0.5665 GB, free: 14.55 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 (2): * Single equations (assignments): 2 * 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.001659/0.398, allocations: 0.9693 MB / 0.5675 GB, free: 13.68 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001458/0.3981, allocations: 27.92 kB / 0.5675 GB, free: 13.66 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.3981, allocations: 0 / 0.5675 GB, free: 13.66 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 5.042e-05/0.3982, allocations: 15.98 kB / 0.5675 GB, free: 13.64 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000405/0.3986, allocations: 30.36 kB / 0.5676 GB, free: 13.61 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003713/0.4023, allocations: 3.179 MB / 0.5707 GB, free: 10.34 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005055/0.4028, allocations: 0.8242 MB / 0.5715 GB, free: 9.496 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.184e-05/0.4029, allocations: 19.8 kB / 0.5715 GB, free: 9.477 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001455/0.403, allocations: 111.4 kB / 0.5716 GB, free: 9.367 MB / 414.1 MB Notification: Performance of SimCode: time 6.21e-07/0.403, allocations: 0 / 0.5716 GB, free: 9.367 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02682/0.4298, allocations: 5.993 MB / 0.5774 GB, free: 3.449 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.61/12.04, allocations: 9.266 kB / 0.5775 GB, free: 3.445 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test8_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test8.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.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.341874723031651]