Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.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.001481/0.001481, 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.001495/0.001495, allocations: 212.2 kB / 24.53 MB, free: 4.07 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.492/1.492, allocations: 230.6 MB / 258.3 MB, free: 8.008 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.2347/0.2347, allocations: 44.91 MB / 359.6 MB, free: 6.281 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.CombiTable1Ds.Test5,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test5",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test5,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test5",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.002101/0.002101, allocations: 63.91 kB / 0.4939 GB, free: 10.69 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3736/0.3757, allocations: 65.47 MB / 0.5578 GB, free: 7.531 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test5): time 0.00431/0.38, allocations: 1.644 MB / 0.5594 GB, free: 6.125 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001393/0.3814, allocations: 0.5504 MB / 0.56 GB, free: 5.57 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.597e-05/0.3815, allocations: 3.938 kB / 0.56 GB, free: 5.566 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003858/0.3819, allocations: 95.75 kB / 0.56 GB, free: 5.473 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003833/0.3823, allocations: 111.5 kB / 0.5602 GB, free: 5.363 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003489/0.3826, allocations: 87.77 kB / 0.5602 GB, free: 5.277 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002157/0.3829, allocations: 91.75 kB / 0.5603 GB, free: 5.188 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001638/0.383, allocations: 15.97 kB / 0.5603 GB, free: 5.172 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.932e-05/0.3831, allocations: 31.86 kB / 0.5604 GB, free: 5.141 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001736/0.3833, allocations: 67.8 kB / 0.5604 GB, free: 5.074 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.827e-05/0.3833, allocations: 4 kB / 0.5604 GB, free: 5.07 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001279/0.3834, allocations: 43.98 kB / 0.5605 GB, free: 5.027 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.049e-05/0.3835, allocations: 23.86 kB / 0.5605 GB, free: 5.004 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.302e-05/0.3835, allocations: 35.73 kB / 0.5605 GB, free: 4.969 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002269/0.3838, allocations: 119.4 kB / 0.5607 GB, free: 4.852 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.3838, allocations: 3.938 kB / 0.5607 GB, free: 4.848 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.3838, allocations: 0 / 0.5607 GB, free: 4.848 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.3838, allocations: 4 kB / 0.5607 GB, free: 4.844 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005145/0.3843, allocations: 345.6 kB / 0.561 GB, free: 4.477 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.827e-05/0.3843, allocations: 12.03 kB / 0.561 GB, free: 4.465 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.572e-05/0.3844, allocations: 192 / 0.561 GB, free: 4.465 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.636e-05/0.3844, allocations: 30.75 kB / 0.561 GB, free: 4.426 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.029e-05/0.3844, allocations: 16.84 kB / 0.561 GB, free: 4.41 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001905/0.3846, allocations: 142.9 kB / 0.5612 GB, free: 4.246 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.113e-05/0.3846, allocations: 4.375 kB / 0.5612 GB, free: 4.242 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.623e-05/0.3847, allocations: 12.08 kB / 0.5612 GB, free: 4.23 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001592/0.3848, allocations: 49.62 kB / 0.5612 GB, free: 4.176 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.673e-05/0.3848, allocations: 7.984 kB / 0.5613 GB, free: 4.168 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.435e-05/0.3849, allocations: 4 kB / 0.5613 GB, free: 4.164 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.3849, allocations: 4 kB / 0.5613 GB, free: 4.16 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001283/0.385, allocations: 19.98 kB / 0.5613 GB, free: 4.141 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005238/0.3855, allocations: 267.8 kB / 0.5615 GB, free: 3.836 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001815/0.3857, allocations: 46.5 kB / 0.5616 GB, free: 3.781 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.096e-05/0.3858, allocations: 24.94 kB / 0.5616 GB, free: 3.754 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.61e-05/0.3858, allocations: 0 / 0.5616 GB, free: 3.754 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.347e-05/0.3859, allocations: 30.56 kB / 0.5616 GB, free: 3.715 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 2.144e-06/0.3859, allocations: 0 / 0.5616 GB, free: 3.715 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.001143/0.387, allocations: 233.6 kB / 0.5619 GB, free: 3.48 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.306e-05/0.3871, allocations: 55.34 kB / 0.5619 GB, free: 3.414 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002728/0.3873, allocations: 230.8 kB / 0.5621 GB, free: 3.172 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.098e-05/0.3874, allocations: 25.7 kB / 0.5622 GB, free: 3.141 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001012/0.3875, allocations: 108.1 kB / 0.5623 GB, free: 3.031 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.487e-05/0.3875, allocations: 27.8 kB / 0.5623 GB, free: 3.004 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.13e-05/0.3875, allocations: 25.72 kB / 0.5623 GB, free: 2.973 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002117/0.3878, allocations: 330.8 kB / 0.5626 GB, free: 2.641 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.541e-05/0.3878, allocations: 23.97 kB / 0.5626 GB, free: 2.617 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.109e-05/0.3879, allocations: 27.92 kB / 0.5627 GB, free: 2.59 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000228/0.3881, allocations: 69.05 kB / 0.5627 GB, free: 2.52 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.3881, allocations: 0 / 0.5627 GB, free: 2.52 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002406/0.3884, allocations: 93.58 kB / 0.5628 GB, free: 2.422 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.98e-05/0.3884, allocations: 12 kB / 0.5628 GB, free: 2.41 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.3884, allocations: 0 / 0.5628 GB, free: 2.41 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.102e-05/0.3884, allocations: 96 / 0.5628 GB, free: 2.41 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001542/0.3886, allocations: 23.91 kB / 0.5629 GB, free: 2.387 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/0.3886, allocations: 7.938 kB / 0.5629 GB, free: 2.379 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.325e-05/0.3886, allocations: 11.92 kB / 0.5629 GB, free: 2.367 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.057e-06/0.3886, allocations: 7.938 kB / 0.5629 GB, free: 2.359 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 (8): * Single equations (assignments): 8 * 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.0001244/0.3888, allocations: 129.8 kB / 0.563 GB, free: 2.223 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.528e-05/0.3888, allocations: 11.95 kB / 0.563 GB, free: 2.211 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002945/0.3891, allocations: 131 kB / 0.5631 GB, free: 2.07 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.3891, allocations: 0 / 0.5631 GB, free: 2.07 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.3891, allocations: 3.938 kB / 0.5632 GB, free: 2.066 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.3891, allocations: 3.938 kB / 0.5632 GB, free: 2.062 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005515/0.3897, allocations: 382.4 kB / 0.5635 GB, free: 1.637 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/0.3897, allocations: 7.875 kB / 0.5635 GB, free: 1.629 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.135e-05/0.3897, allocations: 15.98 kB / 0.5635 GB, free: 1.613 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.3897, allocations: 4 kB / 0.5635 GB, free: 1.609 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.186e-06/0.3898, allocations: 0 / 0.5635 GB, free: 1.609 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.3898, allocations: 0 / 0.5635 GB, free: 1.609 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3898, allocations: 0 / 0.5635 GB, free: 1.609 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003479/0.3901, allocations: 204.3 kB / 0.5637 GB, free: 1.391 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.812e-05/0.3901, allocations: 15.83 kB / 0.5638 GB, free: 1.375 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.091e-05/0.3901, allocations: 8 kB / 0.5638 GB, free: 1.367 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.318e-05/0.3902, allocations: 7.984 kB / 0.5638 GB, free: 1.359 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.368e-05/0.3903, allocations: 0 / 0.5638 GB, free: 1.359 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.312e-05/0.3903, allocations: 7.984 kB / 0.5638 GB, free: 1.352 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001812/0.3904, allocations: 180.3 kB / 0.564 GB, free: 1.176 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3904, allocations: 0 / 0.564 GB, free: 1.176 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002568/0.3907, allocations: 23.95 kB / 0.564 GB, free: 1.152 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.002238/0.3929, allocations: 1.1 MB / 0.565 GB, free: 220 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002292/0.3932, allocations: 63.95 kB / 0.5651 GB, free: 156 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3932, allocations: 0 / 0.5651 GB, free: 156 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.922e-05/0.3933, allocations: 39.86 kB / 0.5651 GB, free: 116 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003936/0.3937, allocations: 23.8 kB / 0.5652 GB, free: 92 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002209/0.3959, allocations: 1.704 MB / 0.5668 GB, free: 14.3 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003839/0.3962, allocations: 0.7158 MB / 0.5675 GB, free: 13.56 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.806e-05/0.3963, allocations: 12.97 kB / 0.5675 GB, free: 13.55 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.754e-05/0.3964, allocations: 35.42 kB / 0.5676 GB, free: 13.51 MB / 414.1 MB Notification: Performance of SimCode: time 3.2e-07/0.3964, allocations: 0 / 0.5676 GB, free: 13.51 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0241/0.4205, allocations: 3.386 MB / 0.5709 GB, free: 10.19 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.43/11.85, allocations: 11.23 kB / 0.5709 GB, free: 10.18 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test5_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test5.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.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.088507617008872]