Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.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.001836/0.001836, 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.002617/0.002617, allocations: 214.9 kB / 24.52 MB, free: 3.941 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.494/1.494, allocations: 230.6 MB / 258.3 MB, free: 7.793 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.2529/0.2529, allocations: 44.94 MB / 359.6 MB, free: 6.066 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.Test34,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test34",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test34,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test34",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.002042/0.002042, allocations: 67.89 kB / 0.4938 GB, free: 10.54 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3236/0.3257, allocations: 65.47 MB / 0.5577 GB, free: 7.371 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test34): time 0.003224/0.3289, allocations: 1.615 MB / 0.5593 GB, free: 5.945 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001027/0.3299, allocations: 0.5193 MB / 0.5598 GB, free: 5.422 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.469e-05/0.33, allocations: 4 kB / 0.5598 GB, free: 5.418 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002533/0.3302, allocations: 71.77 kB / 0.5599 GB, free: 5.348 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003167/0.3305, allocations: 111.6 kB / 0.56 GB, free: 5.238 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002692/0.3308, allocations: 95.69 kB / 0.5601 GB, free: 5.145 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001552/0.331, allocations: 79.77 kB / 0.5602 GB, free: 5.066 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.538e-05/0.3311, allocations: 17.8 kB / 0.5602 GB, free: 5.051 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.842e-05/0.3311, allocations: 35.86 kB / 0.5602 GB, free: 5.016 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001163/0.3312, allocations: 63.8 kB / 0.5603 GB, free: 4.953 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.584e-05/0.3312, allocations: 4 kB / 0.5603 GB, free: 4.949 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.207e-05/0.3313, allocations: 43.98 kB / 0.5603 GB, free: 4.906 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.674e-05/0.3314, allocations: 27.91 kB / 0.5604 GB, free: 4.879 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.096e-05/0.3314, allocations: 19.81 kB / 0.5604 GB, free: 4.859 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002027/0.3316, allocations: 115.4 kB / 0.5605 GB, free: 4.746 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.307e-06/0.3316, allocations: 3.938 kB / 0.5605 GB, free: 4.742 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.173e-06/0.3316, allocations: 0 / 0.5605 GB, free: 4.742 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.51e-06/0.3317, allocations: 0 / 0.5605 GB, free: 4.742 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.0004772/0.3321, allocations: 337.6 kB / 0.5608 GB, free: 4.383 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.424e-05/0.3322, allocations: 8.031 kB / 0.5608 GB, free: 4.375 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.691e-05/0.3322, allocations: 4.188 kB / 0.5608 GB, free: 4.371 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.286e-05/0.3322, allocations: 34.73 kB / 0.5609 GB, free: 4.328 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.381e-05/0.3322, allocations: 16.84 kB / 0.5609 GB, free: 4.312 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001856/0.3324, allocations: 143 kB / 0.561 GB, free: 4.145 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.575e-05/0.3324, allocations: 12.31 kB / 0.561 GB, free: 4.133 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.189e-05/0.3325, allocations: 4.125 kB / 0.561 GB, free: 4.129 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001367/0.3326, allocations: 53.67 kB / 0.5611 GB, free: 4.07 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.483e-05/0.3326, allocations: 4 kB / 0.5611 GB, free: 4.066 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.015e-06/0.3326, allocations: 0 / 0.5611 GB, free: 4.066 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.3326, allocations: 0 / 0.5611 GB, free: 4.066 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001074/0.3327, allocations: 27.97 kB / 0.5611 GB, free: 4.039 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003589/0.3331, allocations: 255.9 kB / 0.5614 GB, free: 3.746 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001102/0.3332, allocations: 46.56 kB / 0.5614 GB, free: 3.691 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.743e-05/0.3333, allocations: 12.86 kB / 0.5614 GB, free: 3.676 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.957e-05/0.3333, allocations: 0 / 0.5614 GB, free: 3.676 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.88e-05/0.3333, allocations: 38.59 kB / 0.5614 GB, free: 3.629 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.3333, allocations: 0 / 0.5614 GB, free: 3.629 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008943/0.3342, allocations: 245.5 kB / 0.5617 GB, free: 3.383 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.454e-05/0.3343, allocations: 55.34 kB / 0.5617 GB, free: 3.316 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002217/0.3345, allocations: 214.2 kB / 0.5619 GB, free: 3.098 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.3345, allocations: 29.7 kB / 0.562 GB, free: 3.062 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.892e-05/0.3346, allocations: 104.1 kB / 0.5621 GB, free: 2.957 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.376e-05/0.3346, allocations: 31.73 kB / 0.5621 GB, free: 2.926 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.306e-05/0.3346, allocations: 21.72 kB / 0.5621 GB, free: 2.898 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001543/0.3348, allocations: 326.8 kB / 0.5624 GB, free: 2.57 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.227e-05/0.3349, allocations: 27.98 kB / 0.5625 GB, free: 2.543 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.494e-05/0.3349, allocations: 19.98 kB / 0.5625 GB, free: 2.523 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001537/0.3351, allocations: 60.83 kB / 0.5625 GB, free: 2.461 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.3351, allocations: 0 / 0.5625 GB, free: 2.461 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000217/0.3353, allocations: 105.6 kB / 0.5626 GB, free: 2.352 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.3353, allocations: 4 kB / 0.5626 GB, free: 2.348 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.3353, allocations: 0 / 0.5626 GB, free: 2.348 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.3353, allocations: 7.938 kB / 0.5626 GB, free: 2.34 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.709e-05/0.3354, allocations: 19.98 kB / 0.5627 GB, free: 2.32 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.3354, allocations: 3.938 kB / 0.5627 GB, free: 2.316 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.456e-05/0.3355, allocations: 8 kB / 0.5627 GB, free: 2.309 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.067e-06/0.3355, allocations: 4 kB / 0.5627 GB, free: 2.305 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 9.814e-05/0.3356, allocations: 121.8 kB / 0.5628 GB, free: 2.176 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.911e-05/0.3356, allocations: 15.91 kB / 0.5628 GB, free: 2.16 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002823/0.3359, allocations: 123 kB / 0.5629 GB, free: 2.023 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.3359, allocations: 0 / 0.5629 GB, free: 2.023 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.3359, allocations: 7.938 kB / 0.5629 GB, free: 2.016 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.3359, allocations: 0 / 0.5629 GB, free: 2.016 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005298/0.3365, allocations: 370.8 kB / 0.5633 GB, free: 1.602 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.772e-06/0.3365, allocations: 7.938 kB / 0.5633 GB, free: 1.594 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.979e-05/0.3365, allocations: 15.98 kB / 0.5633 GB, free: 1.578 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.3366, allocations: 0 / 0.5633 GB, free: 1.578 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.3366, allocations: 4 kB / 0.5633 GB, free: 1.574 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.3366, allocations: 0 / 0.5633 GB, free: 1.574 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.3366, allocations: 4.031 kB / 0.5633 GB, free: 1.57 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002731/0.3368, allocations: 204.3 kB / 0.5635 GB, free: 1.352 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.039e-05/0.3369, allocations: 23.78 kB / 0.5635 GB, free: 1.328 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.2e-05/0.3369, allocations: 4 kB / 0.5635 GB, free: 1.324 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.221e-05/0.337, allocations: 0 / 0.5635 GB, free: 1.324 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.233e-05/0.337, allocations: 7.984 kB / 0.5635 GB, free: 1.316 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.466e-06/0.337, allocations: 4 kB / 0.5635 GB, free: 1.312 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001537/0.3371, allocations: 168.2 kB / 0.5637 GB, free: 1.148 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3371, allocations: 3.938 kB / 0.5637 GB, free: 1.145 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002529/0.3374, allocations: 27.92 kB / 0.5637 GB, free: 1.117 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.002281/0.3397, allocations: 1.116 MB / 0.5648 GB, free: 192 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002069/0.3399, allocations: 55.95 kB / 0.5649 GB, free: 136 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.3399, allocations: 4 kB / 0.5649 GB, free: 132 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.978e-05/0.34, allocations: 35.91 kB / 0.5649 GB, free: 96 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003746/0.3404, allocations: 26.36 kB / 0.5649 GB, free: 80 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002042/0.3424, allocations: 1.677 MB / 0.5666 GB, free: 14.32 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.436e-05/0.3425, allocations: 92.75 kB / 0.5667 GB, free: 14.2 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.067e-05/0.3425, allocations: 12.95 kB / 0.5667 GB, free: 14.19 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.056e-05/0.3426, allocations: 39.42 kB / 0.5667 GB, free: 14.15 MB / 414.1 MB Notification: Performance of SimCode: time 5.62e-07/0.3426, allocations: 4 kB / 0.5667 GB, free: 14.15 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02298/0.3656, allocations: 3.354 MB / 0.57 GB, free: 10.84 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.44/11.8, allocations: 9.469 kB / 0.57 GB, free: 10.84 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test34_fmu --startTime=0 --stopTime=4 --stepSize=0.00079968 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test34.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test34/Test34.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.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.002392572001554]