Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.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.0019/0.0019, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.002384/0.002384, allocations: 208.7 kB / 24.51 MB, free: 3.945 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.471/1.471, allocations: 230.6 MB / 258.3 MB, free: 7.801 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.228/0.228, allocations: 44.93 MB / 359.6 MB, free: 6.09 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.CombiTable1Dv.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test2",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.00206/0.00206, allocations: 67.91 kB / 0.4938 GB, free: 10.57 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3688/0.3709, allocations: 65.48 MB / 0.5577 GB, free: 7.371 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test2): time 0.00302/0.3739, allocations: 1.588 MB / 0.5593 GB, free: 6 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001023/0.3749, allocations: 0.531 MB / 0.5598 GB, free: 5.465 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.922e-05/0.375, allocations: 0 / 0.5598 GB, free: 5.465 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000188/0.3752, allocations: 23.73 kB / 0.5598 GB, free: 5.441 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002619/0.3754, allocations: 79.67 kB / 0.5599 GB, free: 5.363 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003206/0.3757, allocations: 115.4 kB / 0.56 GB, free: 5.254 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001592/0.3759, allocations: 71.77 kB / 0.5601 GB, free: 5.184 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.346e-05/0.376, allocations: 9.828 kB / 0.5601 GB, free: 5.176 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.186e-05/0.376, allocations: 23.92 kB / 0.5601 GB, free: 5.152 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.199e-05/0.3761, allocations: 27.84 kB / 0.5602 GB, free: 5.125 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.3e-05/0.3761, allocations: 0 / 0.5602 GB, free: 5.125 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.12e-05/0.3762, allocations: 32 kB / 0.5602 GB, free: 5.094 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.415e-05/0.3763, allocations: 15.92 kB / 0.5602 GB, free: 5.078 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.676e-05/0.3763, allocations: 19.81 kB / 0.5602 GB, free: 5.059 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001644/0.3765, allocations: 83.64 kB / 0.5603 GB, free: 4.977 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.3765, allocations: 0 / 0.5603 GB, free: 4.977 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3765, allocations: 0 / 0.5603 GB, free: 4.977 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.16e-06/0.3765, allocations: 0 / 0.5603 GB, free: 4.977 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.0004674/0.3769, allocations: 313.8 kB / 0.5606 GB, free: 4.641 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.476e-05/0.377, allocations: 8.031 kB / 0.5606 GB, free: 4.633 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.37e-05/0.377, allocations: 4.188 kB / 0.5606 GB, free: 4.629 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.045e-05/0.377, allocations: 34.73 kB / 0.5606 GB, free: 4.586 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.475e-05/0.377, allocations: 8.891 kB / 0.5606 GB, free: 4.578 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001778/0.3772, allocations: 130.4 kB / 0.5608 GB, free: 4.426 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.096e-05/0.3772, allocations: 8.312 kB / 0.5608 GB, free: 4.418 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.479e-05/0.3773, allocations: 8.125 kB / 0.5608 GB, free: 4.41 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001499/0.3774, allocations: 53.67 kB / 0.5608 GB, free: 4.352 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.428e-05/0.3774, allocations: 0 / 0.5608 GB, free: 4.352 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.065e-06/0.3774, allocations: 4 kB / 0.5608 GB, free: 4.348 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.3774, allocations: 0 / 0.5608 GB, free: 4.348 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.991e-05/0.3775, allocations: 19.98 kB / 0.5609 GB, free: 4.328 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003764/0.3779, allocations: 251.9 kB / 0.5611 GB, free: 4.039 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002136/0.3781, allocations: 50.5 kB / 0.5612 GB, free: 3.98 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.403e-05/0.3782, allocations: 16.94 kB / 0.5612 GB, free: 3.961 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.961e-05/0.3782, allocations: 0 / 0.5612 GB, free: 3.961 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.996e-05/0.3782, allocations: 30.56 kB / 0.5612 GB, free: 3.922 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 2.855e-06/0.3782, allocations: 4 kB / 0.5612 GB, free: 3.918 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005521/0.3788, allocations: 153.4 kB / 0.5613 GB, free: 3.762 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.951e-05/0.3788, allocations: 51.41 kB / 0.5614 GB, free: 3.699 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001562/0.379, allocations: 148.2 kB / 0.5615 GB, free: 3.543 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.046e-05/0.379, allocations: 29.69 kB / 0.5616 GB, free: 3.508 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.956e-05/0.3791, allocations: 96.08 kB / 0.5617 GB, free: 3.41 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.654e-05/0.3791, allocations: 19.86 kB / 0.5617 GB, free: 3.391 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.982e-05/0.3791, allocations: 25.64 kB / 0.5617 GB, free: 3.359 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001323/0.3793, allocations: 322.8 kB / 0.562 GB, free: 3.035 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.536e-05/0.3793, allocations: 27.91 kB / 0.562 GB, free: 3.008 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.361e-05/0.3794, allocations: 19.98 kB / 0.5621 GB, free: 2.988 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001559/0.3796, allocations: 52.77 kB / 0.5621 GB, free: 2.934 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.3796, allocations: 0 / 0.5621 GB, free: 2.934 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001905/0.3797, allocations: 89.61 kB / 0.5622 GB, free: 2.84 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.3798, allocations: 4 kB / 0.5622 GB, free: 2.836 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.3798, allocations: 4 kB / 0.5622 GB, free: 2.832 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.3798, allocations: 0 / 0.5622 GB, free: 2.832 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.412e-05/0.3798, allocations: 15.98 kB / 0.5622 GB, free: 2.816 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.3798, allocations: 0 / 0.5622 GB, free: 2.816 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.162e-05/0.3799, allocations: 8.219 kB / 0.5622 GB, free: 2.809 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.981e-06/0.3799, allocations: 0 / 0.5622 GB, free: 2.809 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 9.458e-05/0.38, allocations: 125.8 kB / 0.5623 GB, free: 2.676 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.276e-05/0.38, allocations: 7.953 kB / 0.5623 GB, free: 2.668 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002572/0.3803, allocations: 106.3 kB / 0.5624 GB, free: 2.547 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.3803, allocations: 64 / 0.5624 GB, free: 2.547 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.466e-06/0.3803, allocations: 8 kB / 0.5625 GB, free: 2.539 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.3803, allocations: 3.938 kB / 0.5625 GB, free: 2.535 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004999/0.3808, allocations: 317.6 kB / 0.5628 GB, free: 2.176 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.3808, allocations: 0 / 0.5628 GB, free: 2.176 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.917e-05/0.3808, allocations: 15.98 kB / 0.5628 GB, free: 2.16 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.3809, allocations: 0 / 0.5628 GB, free: 2.16 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.168e-05/0.3809, allocations: 7.938 kB / 0.5628 GB, free: 2.152 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.614e-06/0.3809, allocations: 4 kB / 0.5628 GB, free: 2.148 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.3809, allocations: 0 / 0.5628 GB, free: 2.148 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002417/0.3811, allocations: 179.5 kB / 0.563 GB, free: 1.957 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.282e-05/0.3811, allocations: 11.89 kB / 0.563 GB, free: 1.945 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.927e-05/0.3811, allocations: 3.938 kB / 0.563 GB, free: 1.941 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.166e-05/0.3812, allocations: 7.984 kB / 0.563 GB, free: 1.934 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.533e-05/0.3812, allocations: 4 kB / 0.563 GB, free: 1.93 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.482e-06/0.3813, allocations: 4 kB / 0.563 GB, free: 1.926 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001534/0.3814, allocations: 111.2 kB / 0.5631 GB, free: 1.816 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3814, allocations: 4 kB / 0.5631 GB, free: 1.812 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002472/0.3817, allocations: 19.94 kB / 0.5631 GB, free: 1.793 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.002059/0.3837, allocations: 1.05 MB / 0.5641 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002201/0.3839, allocations: 55.83 kB / 0.5642 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3839, allocations: 0 / 0.5642 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.361e-05/0.384, allocations: 27.98 kB / 0.5642 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003866/0.3844, allocations: 17.61 kB / 0.5642 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001839/0.3862, allocations: 1.464 MB / 0.5657 GB, free: 15.26 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001153/0.3864, allocations: 83.08 kB / 0.5658 GB, free: 15.16 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.582e-05/0.3864, allocations: 15.77 kB / 0.5658 GB, free: 15.14 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.856e-05/0.3865, allocations: 31.42 kB / 0.5658 GB, free: 15.11 MB / 414.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3865, allocations: 3.938 kB / 0.5658 GB, free: 15.11 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02286/0.4093, allocations: 2.804 MB / 0.5685 GB, free: 12.36 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.52/11.93, allocations: 4.062 kB / 0.5685 GB, free: 12.36 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test2_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004998 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test2.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.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.087667720974423]