Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.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.001941/0.001941, allocations: 111.8 kB / 20.43 MB, free: 1.473 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.002032/0.002032, allocations: 214 kB / 23.74 MB, free: 4.688 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.5/1.5, allocations: 230.6 MB / 257.5 MB, free: 8.02 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.2263/0.2263, allocations: 44.9 MB / 358.8 MB, free: 6.289 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.Test5,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test5,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test5",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.002016/0.002016, allocations: 75.88 kB / 0.4931 GB, free: 10.7 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3753/0.3773, allocations: 65.48 MB / 0.5571 GB, free: 7.539 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test5): time 0.003114/0.3805, allocations: 1.634 MB / 0.5586 GB, free: 6.137 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001108/0.3816, allocations: 0.566 MB / 0.5592 GB, free: 5.566 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.198e-05/0.3816, allocations: 0 / 0.5592 GB, free: 5.566 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002966/0.3819, allocations: 95.67 kB / 0.5593 GB, free: 5.473 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002912/0.3822, allocations: 111.6 kB / 0.5594 GB, free: 5.363 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003267/0.3825, allocations: 119.7 kB / 0.5595 GB, free: 5.246 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001822/0.3827, allocations: 79.77 kB / 0.5596 GB, free: 5.168 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001088/0.3828, allocations: 17.8 kB / 0.5596 GB, free: 5.152 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.486e-05/0.3829, allocations: 39.91 kB / 0.5596 GB, free: 5.113 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001166/0.383, allocations: 55.81 kB / 0.5597 GB, free: 5.059 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.272e-05/0.383, allocations: 4 kB / 0.5597 GB, free: 5.055 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.809e-05/0.3831, allocations: 51.86 kB / 0.5597 GB, free: 5.004 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.634e-05/0.3832, allocations: 27.91 kB / 0.5598 GB, free: 4.977 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.684e-05/0.3832, allocations: 31.73 kB / 0.5598 GB, free: 4.945 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002031/0.3834, allocations: 115.5 kB / 0.5599 GB, free: 4.832 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.3835, allocations: 0 / 0.5599 GB, free: 4.832 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.3835, allocations: 3.938 kB / 0.5599 GB, free: 4.828 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.079e-05/0.3835, allocations: 0 / 0.5599 GB, free: 4.828 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.00053/0.384, allocations: 345.6 kB / 0.5602 GB, free: 4.461 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.384, allocations: 12.03 kB / 0.5603 GB, free: 4.449 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.486e-05/0.3841, allocations: 38.69 kB / 0.5603 GB, free: 4.402 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.729e-05/0.3841, allocations: 12.84 kB / 0.5603 GB, free: 4.391 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002437/0.3844, allocations: 146.9 kB / 0.5604 GB, free: 4.223 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.246e-05/0.3844, allocations: 4.375 kB / 0.5605 GB, free: 4.219 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.87e-05/0.3844, allocations: 4.328 kB / 0.5605 GB, free: 4.215 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001564/0.3846, allocations: 61.61 kB / 0.5605 GB, free: 4.148 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.3846, allocations: 0 / 0.5605 GB, free: 4.148 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.21e-05/0.3846, allocations: 3.984 kB / 0.5605 GB, free: 4.145 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/0.3846, allocations: 0 / 0.5605 GB, free: 4.145 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001048/0.3847, allocations: 31.91 kB / 0.5606 GB, free: 4.113 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004299/0.3851, allocations: 279.8 kB / 0.5608 GB, free: 3.797 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001189/0.3852, allocations: 50.66 kB / 0.5609 GB, free: 3.738 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.987e-05/0.3853, allocations: 12.84 kB / 0.5609 GB, free: 3.723 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.632e-05/0.3853, allocations: 8 kB / 0.5609 GB, free: 3.715 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.57e-05/0.3854, allocations: 34.5 kB / 0.5609 GB, free: 3.672 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.192e-06/0.3854, allocations: 0 / 0.5609 GB, free: 3.672 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009323/0.3863, allocations: 249.2 kB / 0.5612 GB, free: 3.422 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.536e-05/0.3863, allocations: 59.41 kB / 0.5612 GB, free: 3.352 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002515/0.3866, allocations: 230.7 kB / 0.5614 GB, free: 3.109 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.908e-05/0.3866, allocations: 29.7 kB / 0.5615 GB, free: 3.074 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.284e-05/0.3867, allocations: 112.1 kB / 0.5616 GB, free: 2.961 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.547e-05/0.3867, allocations: 23.81 kB / 0.5616 GB, free: 2.938 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.166e-05/0.3868, allocations: 25.7 kB / 0.5616 GB, free: 2.906 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001577/0.3869, allocations: 326.8 kB / 0.5619 GB, free: 2.578 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.108e-05/0.387, allocations: 23.98 kB / 0.562 GB, free: 2.555 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.062e-05/0.3871, allocations: 31.97 kB / 0.562 GB, free: 2.523 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001772/0.3873, allocations: 72.83 kB / 0.5621 GB, free: 2.449 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.62e-07/0.3873, allocations: 0 / 0.5621 GB, free: 2.449 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002303/0.3875, allocations: 121.5 kB / 0.5622 GB, free: 2.324 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.3875, allocations: 7.984 kB / 0.5622 GB, free: 2.316 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.3875, allocations: 4 kB / 0.5622 GB, free: 2.312 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.3875, allocations: 0 / 0.5622 GB, free: 2.312 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.781e-05/0.3876, allocations: 12 kB / 0.5622 GB, free: 2.301 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.746e-06/0.3876, allocations: 7.922 kB / 0.5622 GB, free: 2.293 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.892e-05/0.3877, allocations: 11.94 kB / 0.5622 GB, free: 2.281 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.212e-05/0.3877, allocations: 8 kB / 0.5622 GB, free: 2.273 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.0001172/0.3878, allocations: 129.8 kB / 0.5623 GB, free: 2.137 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.495e-05/0.3878, allocations: 7.953 kB / 0.5623 GB, free: 2.129 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003126/0.3882, allocations: 138.9 kB / 0.5625 GB, free: 1.98 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/0.3882, allocations: 4 kB / 0.5625 GB, free: 1.977 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.3882, allocations: 7.875 kB / 0.5625 GB, free: 1.969 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.3882, allocations: 0 / 0.5625 GB, free: 1.969 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005619/0.3887, allocations: 394.8 kB / 0.5629 GB, free: 1.531 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.3887, allocations: 0 / 0.5629 GB, free: 1.531 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.419e-05/0.3888, allocations: 23.92 kB / 0.5629 GB, free: 1.508 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.023e-06/0.3888, allocations: 0 / 0.5629 GB, free: 1.508 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.795e-06/0.3888, allocations: 0 / 0.5629 GB, free: 1.508 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.3888, allocations: 4.078 kB / 0.5629 GB, free: 1.504 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.933e-06/0.3888, allocations: 7.922 kB / 0.5629 GB, free: 1.496 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002828/0.3891, allocations: 212.3 kB / 0.5631 GB, free: 1.27 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.073e-05/0.3891, allocations: 16.3 kB / 0.5631 GB, free: 1.254 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.122e-05/0.3892, allocations: 4 kB / 0.5631 GB, free: 1.25 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.313e-05/0.3892, allocations: 4 kB / 0.5631 GB, free: 1.246 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.627e-05/0.3893, allocations: 11.98 kB / 0.5631 GB, free: 1.234 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.812e-06/0.3893, allocations: 4 kB / 0.5631 GB, free: 1.23 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001641/0.3894, allocations: 180.3 kB / 0.5633 GB, free: 1.055 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3894, allocations: 0 / 0.5633 GB, free: 1.055 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002562/0.3897, allocations: 19.95 kB / 0.5633 GB, free: 1.035 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.002493/0.3922, allocations: 1.109 MB / 0.5644 GB, free: 88 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002757/0.3925, allocations: 83.88 kB / 0.5645 GB, free: 4 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.3925, allocations: 0 / 0.5645 GB, free: 4 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001168/0.3926, allocations: 31.98 kB / 0.5645 GB, free: 15.97 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004065/0.393, allocations: 21.61 kB / 0.5645 GB, free: 15.95 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002315/0.3953, allocations: 1.758 MB / 0.5663 GB, free: 14.11 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003542/0.3957, allocations: 0.7158 MB / 0.567 GB, free: 13.37 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.333e-05/0.3957, allocations: 20.95 kB / 0.567 GB, free: 13.35 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.221e-05/0.3958, allocations: 35.42 kB / 0.567 GB, free: 13.31 MB / 414.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3958, allocations: 0 / 0.567 GB, free: 13.31 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0299/0.4257, allocations: 3.411 MB / 0.5703 GB, free: 9.953 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.21/11.64, allocations: 11.39 kB / 0.5704 GB, free: 9.945 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test5_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test5.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.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: 14.727255444973707]