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.001519/0.001519, allocations: 112.5 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.001531/0.001531, allocations: 205.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.527/1.527, allocations: 230.6 MB / 258.3 MB, free: 8.004 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.2456/0.2456, allocations: 44.92 MB / 359.6 MB, free: 6.293 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test28,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test28",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.00205/0.00205, allocations: 63.91 kB / 0.4939 GB, free: 10.69 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4003/0.4024, allocations: 65.47 MB / 0.5578 GB, free: 7.531 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test28): time 0.003612/0.406, allocations: 1.69 MB / 0.5595 GB, free: 6.078 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001353/0.4074, allocations: 0.5971 MB / 0.5601 GB, free: 5.477 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.918e-05/0.4074, allocations: 0 / 0.5601 GB, free: 5.477 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003181/0.4078, allocations: 67.72 kB / 0.5601 GB, free: 5.41 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003942/0.4082, allocations: 95.59 kB / 0.5602 GB, free: 5.316 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004734/0.4086, allocations: 175.4 kB / 0.5604 GB, free: 5.148 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002053/0.4088, allocations: 99.67 kB / 0.5605 GB, free: 5.051 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001413/0.409, allocations: 20.03 kB / 0.5605 GB, free: 5.031 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.211e-05/0.409, allocations: 39.84 kB / 0.5605 GB, free: 4.992 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00012/0.4092, allocations: 51.81 kB / 0.5606 GB, free: 4.941 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.703e-05/0.4092, allocations: 4 kB / 0.5606 GB, free: 4.938 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000115/0.4093, allocations: 47.98 kB / 0.5606 GB, free: 4.891 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.361e-05/0.4094, allocations: 31.83 kB / 0.5607 GB, free: 4.859 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.132e-05/0.4094, allocations: 39.69 kB / 0.5607 GB, free: 4.82 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002316/0.4097, allocations: 121.5 kB / 0.5608 GB, free: 4.703 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.4097, allocations: 4 kB / 0.5608 GB, free: 4.699 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.4097, allocations: 0 / 0.5608 GB, free: 4.699 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.682e-06/0.4097, allocations: 4 kB / 0.5608 GB, free: 4.695 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.0005732/0.4102, allocations: 349.6 kB / 0.5612 GB, free: 4.324 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/0.4103, allocations: 12.03 kB / 0.5612 GB, free: 4.312 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.97e-05/0.4103, allocations: 192 / 0.5612 GB, free: 4.312 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.621e-05/0.4103, allocations: 34.75 kB / 0.5612 GB, free: 4.27 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.782e-05/0.4104, allocations: 12.89 kB / 0.5612 GB, free: 4.258 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002238/0.4106, allocations: 158.9 kB / 0.5614 GB, free: 4.078 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.152e-05/0.4106, allocations: 4.375 kB / 0.5614 GB, free: 4.074 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.382e-05/0.4106, allocations: 8.125 kB / 0.5614 GB, free: 4.066 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001955/0.4108, allocations: 69.66 kB / 0.5614 GB, free: 3.992 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.379e-05/0.4108, allocations: 0 / 0.5614 GB, free: 3.992 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.107e-06/0.4109, allocations: 4 kB / 0.5614 GB, free: 3.988 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.4109, allocations: 0 / 0.5614 GB, free: 3.988 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001562/0.411, allocations: 47.89 kB / 0.5615 GB, free: 3.941 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005116/0.4115, allocations: 299.8 kB / 0.5618 GB, free: 3.605 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000264/0.4118, allocations: 62.58 kB / 0.5618 GB, free: 3.535 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.675e-05/0.4119, allocations: 24.97 kB / 0.5619 GB, free: 3.508 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.9e-05/0.4119, allocations: 3.938 kB / 0.5619 GB, free: 3.504 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.352e-05/0.4119, allocations: 42.53 kB / 0.5619 GB, free: 3.453 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.112e-06/0.4119, allocations: 0 / 0.5619 GB, free: 3.453 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001672/0.4136, allocations: 428.9 kB / 0.5623 GB, free: 3.027 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.171e-05/0.4137, allocations: 51.41 kB / 0.5624 GB, free: 2.965 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002318/0.4139, allocations: 202.3 kB / 0.5626 GB, free: 2.758 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.05e-05/0.4139, allocations: 29.7 kB / 0.5626 GB, free: 2.723 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.612e-05/0.414, allocations: 112.1 kB / 0.5627 GB, free: 2.609 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.437e-05/0.414, allocations: 31.7 kB / 0.5627 GB, free: 2.578 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.491e-05/0.4141, allocations: 29.7 kB / 0.5627 GB, free: 2.543 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001569/0.4142, allocations: 326.8 kB / 0.5631 GB, free: 2.215 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001453/0.4144, allocations: 51.95 kB / 0.5631 GB, free: 2.164 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001407/0.4145, allocations: 55.97 kB / 0.5632 GB, free: 2.109 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002865/0.4148, allocations: 129 kB / 0.5633 GB, free: 1.98 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.4148, allocations: 0 / 0.5633 GB, free: 1.98 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003686/0.4152, allocations: 166.1 kB / 0.5634 GB, free: 1.812 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.4152, allocations: 4 kB / 0.5634 GB, free: 1.809 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.4152, allocations: 4 kB / 0.5635 GB, free: 1.805 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/0.4152, allocations: 7.938 kB / 0.5635 GB, free: 1.797 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001292/0.4154, allocations: 31.91 kB / 0.5635 GB, free: 1.766 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.4154, allocations: 0 / 0.5635 GB, free: 1.766 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.753e-05/0.4154, allocations: 19.98 kB / 0.5635 GB, free: 1.746 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.307e-06/0.4155, allocations: 0 / 0.5635 GB, free: 1.746 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.0001289/0.4156, allocations: 133.8 kB / 0.5636 GB, free: 1.605 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.358e-05/0.4156, allocations: 15.91 kB / 0.5636 GB, free: 1.59 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004637/0.4161, allocations: 198.8 kB / 0.5638 GB, free: 1.379 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.4161, allocations: 0 / 0.5638 GB, free: 1.379 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.702e-06/0.4161, allocations: 0 / 0.5638 GB, free: 1.379 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.204e-06/0.4161, allocations: 3.984 kB / 0.5638 GB, free: 1.375 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008556/0.417, allocations: 479.1 kB / 0.5643 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.417, allocations: 3.938 kB / 0.5643 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001069/0.4171, allocations: 23.98 kB / 0.5643 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.14e-06/0.4171, allocations: 4 kB / 0.5643 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.537e-05/0.4171, allocations: 4.078 kB / 0.5643 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.538e-06/0.4171, allocations: 7.938 kB / 0.5643 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.4171, allocations: 0 / 0.5643 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004596/0.4176, allocations: 285 kB / 0.5646 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.693e-05/0.4176, allocations: 11.91 kB / 0.5646 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.507e-05/0.4176, allocations: 0 / 0.5646 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001173/0.4177, allocations: 19.98 kB / 0.5646 GB, free: 488 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.988e-05/0.4178, allocations: 7.984 kB / 0.5647 GB, free: 480 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.388e-06/0.4178, allocations: 4 kB / 0.5647 GB, free: 476 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001438/0.4179, allocations: 156.2 kB / 0.5648 GB, free: 320 kB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4179, allocations: 0 / 0.5648 GB, free: 320 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002955/0.4182, allocations: 27.98 kB / 0.5648 GB, free: 292 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.002558/0.4208, allocations: 1.165 MB / 0.566 GB, free: 15.28 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003916/0.4212, allocations: 127.8 kB / 0.5661 GB, free: 15.15 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.4212, allocations: 0 / 0.5661 GB, free: 15.15 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001709/0.4213, allocations: 72.02 kB / 0.5662 GB, free: 15.08 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004237/0.4218, allocations: 12 kB / 0.5662 GB, free: 15.07 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00299/0.4248, allocations: 1.939 MB / 0.5681 GB, free: 13.05 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004335/0.4252, allocations: 0.7158 MB / 0.5688 GB, free: 12.3 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000115/0.4253, allocations: 44.44 kB / 0.5688 GB, free: 12.26 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.989e-05/0.4254, allocations: 39.42 kB / 0.5688 GB, free: 12.22 MB / 414.1 MB Notification: Performance of SimCode: time 1.332e-06/0.4254, allocations: 0 / 0.5688 GB, free: 12.22 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02537/0.4508, allocations: 3.767 MB / 0.5725 GB, free: 8.527 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.11/11.56, allocations: 11.41 kB / 0.5725 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.87982266198378]