Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.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.001872/0.001872, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001936/0.001936, allocations: 215.9 kB / 23.73 MB, free: 4.16 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.534/1.534, allocations: 230.6 MB / 257.5 MB, free: 7.809 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.2327/0.2327, allocations: 44.93 MB / 358.8 MB, free: 6.039 MB / 286.1 MB " [Timeout remaining time 180] 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.Test1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test1",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.002212/0.002212, allocations: 67.89 kB / 0.493 GB, free: 10.51 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.383/0.3852, allocations: 65.47 MB / 0.557 GB, free: 7.336 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test1): time 0.00342/0.3886, allocations: 1.595 MB / 0.5585 GB, free: 5.926 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001099/0.3897, allocations: 0.5231 MB / 0.559 GB, free: 5.398 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.591e-05/0.3898, allocations: 0 / 0.559 GB, free: 5.398 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002224/0.39, allocations: 27.84 kB / 0.5591 GB, free: 5.371 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002925/0.3903, allocations: 71.64 kB / 0.5591 GB, free: 5.301 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002734/0.3906, allocations: 91.5 kB / 0.5592 GB, free: 5.215 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001589/0.3907, allocations: 71.77 kB / 0.5593 GB, free: 5.145 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001085/0.3909, allocations: 5.828 kB / 0.5593 GB, free: 5.141 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.206e-05/0.3909, allocations: 27.92 kB / 0.5593 GB, free: 5.113 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.213e-05/0.391, allocations: 27.78 kB / 0.5594 GB, free: 5.086 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.76e-05/0.391, allocations: 4 kB / 0.5594 GB, free: 5.082 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.349e-05/0.3911, allocations: 32 kB / 0.5594 GB, free: 5.051 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.709e-05/0.3911, allocations: 11.92 kB / 0.5594 GB, free: 5.039 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.873e-05/0.3912, allocations: 19.86 kB / 0.5594 GB, free: 5.02 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001744/0.3913, allocations: 75.67 kB / 0.5595 GB, free: 4.945 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.3914, allocations: 0 / 0.5595 GB, free: 4.945 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.3914, allocations: 0 / 0.5595 GB, free: 4.945 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.002e-06/0.3914, allocations: 0 / 0.5595 GB, free: 4.945 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.0005292/0.3919, allocations: 321.8 kB / 0.5598 GB, free: 4.602 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.706e-05/0.3919, allocations: 8.031 kB / 0.5598 GB, free: 4.594 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.303e-05/0.392, allocations: 38.73 kB / 0.5598 GB, free: 4.547 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.497e-05/0.392, allocations: 8.891 kB / 0.5599 GB, free: 4.539 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002032/0.3922, allocations: 136.8 kB / 0.56 GB, free: 4.383 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.003e-05/0.3922, allocations: 384 / 0.56 GB, free: 4.383 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.161e-05/0.3923, allocations: 384 / 0.56 GB, free: 4.383 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000165/0.3924, allocations: 57.62 kB / 0.56 GB, free: 4.32 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/0.3924, allocations: 0 / 0.56 GB, free: 4.32 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.366e-06/0.3924, allocations: 0 / 0.56 GB, free: 4.32 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.3924, allocations: 3.984 kB / 0.56 GB, free: 4.316 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.622e-05/0.3925, allocations: 31.92 kB / 0.5601 GB, free: 4.285 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004016/0.3929, allocations: 240 kB / 0.5603 GB, free: 4.008 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002158/0.3932, allocations: 42.55 kB / 0.5603 GB, free: 3.957 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.082e-05/0.3932, allocations: 16.94 kB / 0.5604 GB, free: 3.938 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2e-05/0.3932, allocations: 0 / 0.5604 GB, free: 3.938 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.225e-05/0.3933, allocations: 42.5 kB / 0.5604 GB, free: 3.887 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 9.32e-07/0.3933, allocations: 0 / 0.5604 GB, free: 3.887 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005588/0.3938, allocations: 137.5 kB / 0.5605 GB, free: 3.746 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.297e-05/0.3939, allocations: 55.34 kB / 0.5606 GB, free: 3.68 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001691/0.394, allocations: 152.2 kB / 0.5607 GB, free: 3.52 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.158e-05/0.3941, allocations: 29.7 kB / 0.5608 GB, free: 3.484 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.65e-05/0.3941, allocations: 92.08 kB / 0.5608 GB, free: 3.391 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.511e-05/0.3942, allocations: 23.78 kB / 0.5609 GB, free: 3.367 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.644e-05/0.3942, allocations: 17.72 kB / 0.5609 GB, free: 3.344 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001471/0.3943, allocations: 330.7 kB / 0.5612 GB, free: 3.012 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.899e-05/0.3944, allocations: 19.98 kB / 0.5612 GB, free: 2.992 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.079e-05/0.3945, allocations: 19.98 kB / 0.5612 GB, free: 2.973 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001345/0.3946, allocations: 44.83 kB / 0.5613 GB, free: 2.926 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/0.3946, allocations: 0 / 0.5613 GB, free: 2.926 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001879/0.3948, allocations: 81.62 kB / 0.5614 GB, free: 2.84 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.3948, allocations: 7.938 kB / 0.5614 GB, free: 2.832 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.3948, allocations: 0 / 0.5614 GB, free: 2.832 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.3948, allocations: 0 / 0.5614 GB, free: 2.832 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.897e-05/0.3949, allocations: 19.98 kB / 0.5614 GB, free: 2.812 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.3949, allocations: 0 / 0.5614 GB, free: 2.812 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.124e-05/0.3949, allocations: 4 kB / 0.5614 GB, free: 2.809 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.576e-06/0.3949, allocations: 4.188 kB / 0.5614 GB, free: 2.805 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 (5): * Single equations (assignments): 5 * 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.000108/0.3951, allocations: 117.8 kB / 0.5615 GB, free: 2.68 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.201e-05/0.3951, allocations: 7.953 kB / 0.5615 GB, free: 2.672 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000253/0.3953, allocations: 90.06 kB / 0.5616 GB, free: 2.566 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.3953, allocations: 3.938 kB / 0.5616 GB, free: 2.562 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.3953, allocations: 4 kB / 0.5616 GB, free: 2.559 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.3954, allocations: 4 kB / 0.5616 GB, free: 2.555 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004462/0.3958, allocations: 309.6 kB / 0.5619 GB, free: 2.203 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.3958, allocations: 3.984 kB / 0.5619 GB, free: 2.199 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.864e-05/0.3959, allocations: 8 kB / 0.5619 GB, free: 2.191 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.3959, allocations: 0 / 0.5619 GB, free: 2.191 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.05e-05/0.3959, allocations: 4 kB / 0.5619 GB, free: 2.188 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.3959, allocations: 3.938 kB / 0.5619 GB, free: 2.184 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.3959, allocations: 0 / 0.5619 GB, free: 2.184 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002454/0.3961, allocations: 183.4 kB / 0.5621 GB, free: 1.988 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.542e-05/0.3961, allocations: 7.953 kB / 0.5621 GB, free: 1.98 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.619e-05/0.3962, allocations: 0 / 0.5621 GB, free: 1.98 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.768e-05/0.3962, allocations: 15.92 kB / 0.5621 GB, free: 1.965 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.654e-05/0.3963, allocations: 0 / 0.5621 GB, free: 1.965 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.397e-06/0.3963, allocations: 4 kB / 0.5621 GB, free: 1.961 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000102/0.3964, allocations: 111.2 kB / 0.5622 GB, free: 1.852 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3964, allocations: 0 / 0.5622 GB, free: 1.852 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002514/0.3966, allocations: 19.94 kB / 0.5623 GB, free: 1.832 MB / 398.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 (5): * Single equations (assignments): 5 * 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.002045/0.3987, allocations: 1.054 MB / 0.5633 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001875/0.3989, allocations: 43.97 kB / 0.5633 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.3989, allocations: 0 / 0.5633 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.081e-05/0.3989, allocations: 19.92 kB / 0.5633 GB, free: 0.875 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003506/0.3993, allocations: 27.16 kB / 0.5634 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001933/0.4012, allocations: 1.443 MB / 0.5648 GB, free: 15.33 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.681e-05/0.4013, allocations: 75.08 kB / 0.5648 GB, free: 15.23 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.152e-05/0.4014, allocations: 19.77 kB / 0.5649 GB, free: 15.21 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.562e-05/0.4014, allocations: 19.44 kB / 0.5649 GB, free: 15.2 MB / 414.1 MB Notification: Performance of SimCode: time 4.21e-07/0.4014, allocations: 192 / 0.5649 GB, free: 15.2 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02982/0.4312, allocations: 3.122 MB / 0.5679 GB, free: 12.11 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.29/11.72, allocations: 7.125 kB / 0.5679 GB, free: 12.11 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test1_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004998 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test1.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.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.84155964013189]