Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.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.001313/0.001313, allocations: 113.2 kB / 20.43 MB, free: 1.449 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.001512/0.001512, allocations: 214.7 kB / 23.74 MB, free: 4.656 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.512/1.512, allocations: 230.6 MB / 257.5 MB, free: 8.023 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.2287/0.2287, allocations: 44.92 MB / 358.8 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.CombiTable2Dv.Test28,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test28",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test28,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test28",fmuType="me",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.002215/0.002215, allocations: 63.89 kB / 0.4931 GB, free: 10.71 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3988/0.401, allocations: 65.47 MB / 0.557 GB, free: 7.535 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test28): time 0.003909/0.4049, allocations: 1.701 MB / 0.5587 GB, free: 6.062 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001207/0.4061, allocations: 0.5972 MB / 0.5593 GB, free: 5.461 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.631e-05/0.4062, allocations: 3.938 kB / 0.5593 GB, free: 5.457 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002563/0.4064, allocations: 59.78 kB / 0.5593 GB, free: 5.398 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003495/0.4068, allocations: 99.59 kB / 0.5594 GB, free: 5.301 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005391/0.4073, allocations: 186.9 kB / 0.5596 GB, free: 5.121 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002229/0.4075, allocations: 87.75 kB / 0.5597 GB, free: 5.035 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001341/0.4077, allocations: 18.05 kB / 0.5597 GB, free: 5.016 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.476e-05/0.4078, allocations: 43.84 kB / 0.5598 GB, free: 4.973 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001321/0.4079, allocations: 59.69 kB / 0.5598 GB, free: 4.914 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.023e-05/0.4079, allocations: 4 kB / 0.5598 GB, free: 4.91 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000136/0.408, allocations: 43.98 kB / 0.5599 GB, free: 4.867 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.251e-05/0.4081, allocations: 27.91 kB / 0.5599 GB, free: 4.84 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.472e-05/0.4082, allocations: 43.73 kB / 0.5599 GB, free: 4.797 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002756/0.4085, allocations: 119.4 kB / 0.56 GB, free: 4.68 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.4085, allocations: 0 / 0.56 GB, free: 4.68 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.4085, allocations: 0 / 0.56 GB, free: 4.68 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.716e-06/0.4085, allocations: 3.984 kB / 0.56 GB, free: 4.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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006055/0.4091, allocations: 357.5 kB / 0.5604 GB, free: 4.297 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/0.4091, allocations: 8.031 kB / 0.5604 GB, free: 4.289 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.605e-05/0.4092, allocations: 34.75 kB / 0.5604 GB, free: 4.246 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.72e-05/0.4092, allocations: 12.89 kB / 0.5604 GB, free: 4.234 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002396/0.4095, allocations: 150.9 kB / 0.5606 GB, free: 4.062 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.796e-05/0.4095, allocations: 8.375 kB / 0.5606 GB, free: 4.055 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.544e-05/0.4095, allocations: 384 / 0.5606 GB, free: 4.055 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002125/0.4097, allocations: 77.53 kB / 0.5607 GB, free: 3.973 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.425e-05/0.4097, allocations: 0 / 0.5607 GB, free: 3.973 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.528e-05/0.4098, allocations: 8 kB / 0.5607 GB, free: 3.965 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.94e-06/0.4098, allocations: 0 / 0.5607 GB, free: 3.965 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001583/0.4099, allocations: 43.95 kB / 0.5607 GB, free: 3.922 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005481/0.4105, allocations: 291.8 kB / 0.561 GB, free: 3.594 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002778/0.4107, allocations: 62.48 kB / 0.5611 GB, free: 3.523 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001022/0.4108, allocations: 32.97 kB / 0.5611 GB, free: 3.488 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.654e-05/0.4109, allocations: 3.938 kB / 0.5611 GB, free: 3.484 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.206e-05/0.4109, allocations: 30.56 kB / 0.5611 GB, free: 3.445 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.393e-06/0.4109, allocations: 0 / 0.5611 GB, free: 3.445 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001578/0.4125, allocations: 433 kB / 0.5615 GB, free: 3.016 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.355e-05/0.4125, allocations: 55.41 kB / 0.5616 GB, free: 2.949 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002235/0.4128, allocations: 198.3 kB / 0.5618 GB, free: 2.746 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.112e-05/0.4128, allocations: 25.7 kB / 0.5618 GB, free: 2.715 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.307e-05/0.4129, allocations: 112.1 kB / 0.5619 GB, free: 2.602 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.896e-05/0.4129, allocations: 39.67 kB / 0.5619 GB, free: 2.562 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.423e-05/0.413, allocations: 29.7 kB / 0.562 GB, free: 2.527 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001616/0.4131, allocations: 326.8 kB / 0.5623 GB, free: 2.199 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001485/0.4133, allocations: 51.95 kB / 0.5623 GB, free: 2.148 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001289/0.4134, allocations: 47.97 kB / 0.5624 GB, free: 2.102 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002901/0.4137, allocations: 132.7 kB / 0.5625 GB, free: 1.969 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.4137, allocations: 0 / 0.5625 GB, free: 1.969 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003609/0.4141, allocations: 169.5 kB / 0.5627 GB, free: 1.797 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.036e-05/0.4141, allocations: 6.5 kB / 0.5627 GB, free: 1.793 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.4141, allocations: 0 / 0.5627 GB, free: 1.793 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.118e-05/0.4141, allocations: 7.938 kB / 0.5627 GB, free: 1.785 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001212/0.4142, allocations: 31.97 kB / 0.5627 GB, free: 1.754 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.4142, allocations: 3.984 kB / 0.5627 GB, free: 1.75 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.095e-05/0.4143, allocations: 8 kB / 0.5627 GB, free: 1.742 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.056e-05/0.4143, allocations: 7.984 kB / 0.5627 GB, free: 1.734 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.0001164/0.4144, allocations: 137.7 kB / 0.5629 GB, free: 1.59 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.325e-05/0.4145, allocations: 11.91 kB / 0.5629 GB, free: 1.578 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004628/0.4149, allocations: 195.4 kB / 0.5631 GB, free: 1.371 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.463e-06/0.415, allocations: 7.922 kB / 0.5631 GB, free: 1.363 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.415, allocations: 0.5625 kB / 0.5631 GB, free: 1.363 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.415, allocations: 0 / 0.5631 GB, free: 1.363 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007577/0.4157, allocations: 487 kB / 0.5635 GB, free: 0.832 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/0.4157, allocations: 0 / 0.5635 GB, free: 0.832 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001089/0.4158, allocations: 27.98 kB / 0.5636 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.671e-06/0.4158, allocations: 4 kB / 0.5636 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.437e-06/0.4158, allocations: 0 / 0.5636 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.008e-06/0.4158, allocations: 3.984 kB / 0.5636 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/0.4159, allocations: 7.938 kB / 0.5636 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004115/0.4163, allocations: 285.1 kB / 0.5638 GB, free: 500 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.923e-05/0.4163, allocations: 15.91 kB / 0.5639 GB, free: 484 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.001e-05/0.4163, allocations: 0 / 0.5639 GB, free: 484 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001012/0.4164, allocations: 11.98 kB / 0.5639 GB, free: 472 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.414e-05/0.4165, allocations: 11.98 kB / 0.5639 GB, free: 460 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.077e-06/0.4165, allocations: 8 kB / 0.5639 GB, free: 452 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001496/0.4166, allocations: 156.2 kB / 0.564 GB, free: 296 kB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4166, allocations: 0 / 0.564 GB, free: 296 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002847/0.4169, allocations: 31.92 kB / 0.5641 GB, free: 264 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.002437/0.4193, allocations: 1.154 MB / 0.5652 GB, free: 15.26 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003636/0.4197, allocations: 127.7 kB / 0.5653 GB, free: 15.13 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.4197, allocations: 0 / 0.5653 GB, free: 15.13 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001551/0.4199, allocations: 63.89 kB / 0.5654 GB, free: 15.07 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003961/0.4203, allocations: 24.67 kB / 0.5654 GB, free: 15.05 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002598/0.4229, allocations: 1.943 MB / 0.5673 GB, free: 13.02 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003652/0.4232, allocations: 0.7158 MB / 0.568 GB, free: 12.28 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.968e-05/0.4233, allocations: 36.45 kB / 0.568 GB, free: 12.24 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.497e-05/0.4234, allocations: 43.41 kB / 0.5681 GB, free: 12.2 MB / 414.1 MB Notification: Performance of SimCode: time 3.7e-07/0.4234, allocations: 0 / 0.5681 GB, free: 12.2 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02955/0.453, allocations: 3.726 MB / 0.5717 GB, free: 8.531 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.13/11.59, allocations: 12.92 kB / 0.5717 GB, free: 8.52 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test28_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test28.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test28/Test28.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.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.671366688096896]