Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.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.001819/0.001819, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002333/0.002333, allocations: 207.7 kB / 23.73 MB, free: 4.387 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.491/1.491, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.238/0.238, allocations: 44.94 MB / 358.9 MB, free: 6.047 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.Test29,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test29",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test29,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test29",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.002049/0.002049, allocations: 63.91 kB / 0.4931 GB, free: 10.51 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3012/0.3033, allocations: 65.48 MB / 0.557 GB, free: 7.332 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test29): time 0.003283/0.3065, allocations: 1.639 MB / 0.5586 GB, free: 5.895 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001107/0.3077, allocations: 0.5271 MB / 0.5591 GB, free: 5.363 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.681e-05/0.3077, allocations: 0 / 0.5591 GB, free: 5.363 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002576/0.308, allocations: 39.78 kB / 0.5592 GB, free: 5.324 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003371/0.3083, allocations: 75.67 kB / 0.5592 GB, free: 5.25 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002997/0.3086, allocations: 95.69 kB / 0.5593 GB, free: 5.156 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001737/0.3088, allocations: 95.75 kB / 0.5594 GB, free: 5.062 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001128/0.3089, allocations: 17.81 kB / 0.5594 GB, free: 5.047 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.754e-05/0.309, allocations: 39.84 kB / 0.5595 GB, free: 5.008 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.359e-05/0.3091, allocations: 35.78 kB / 0.5595 GB, free: 4.973 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.454e-05/0.3091, allocations: 4 kB / 0.5595 GB, free: 4.969 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000106/0.3092, allocations: 47.92 kB / 0.5595 GB, free: 4.922 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.769e-05/0.3092, allocations: 19.92 kB / 0.5596 GB, free: 4.902 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.842e-05/0.3093, allocations: 31.8 kB / 0.5596 GB, free: 4.871 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002076/0.3095, allocations: 115.4 kB / 0.5597 GB, free: 4.758 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.3095, allocations: 0 / 0.5597 GB, free: 4.758 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.3095, allocations: 0 / 0.5597 GB, free: 4.758 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.849e-06/0.3095, allocations: 0 / 0.5597 GB, free: 4.758 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005046/0.31, allocations: 333.7 kB / 0.56 GB, free: 4.402 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.3101, allocations: 12.02 kB / 0.56 GB, free: 4.391 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.755e-05/0.3101, allocations: 34.75 kB / 0.5601 GB, free: 4.348 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.723e-05/0.3101, allocations: 16.84 kB / 0.5601 GB, free: 4.332 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002029/0.3103, allocations: 142.3 kB / 0.5602 GB, free: 4.168 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.358e-06/0.3103, allocations: 8.375 kB / 0.5602 GB, free: 4.16 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.75e-05/0.3104, allocations: 8.375 kB / 0.5602 GB, free: 4.152 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001679/0.3105, allocations: 69.61 kB / 0.5603 GB, free: 4.078 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.3106, allocations: 0 / 0.5603 GB, free: 4.078 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.3106, allocations: 0 / 0.5603 GB, free: 4.078 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.3106, allocations: 4 kB / 0.5603 GB, free: 4.074 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001227/0.3107, allocations: 47.83 kB / 0.5603 GB, free: 4.027 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004246/0.3111, allocations: 279.9 kB / 0.5606 GB, free: 3.711 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001429/0.3113, allocations: 62.48 kB / 0.5607 GB, free: 3.641 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.066e-05/0.3113, allocations: 24.84 kB / 0.5607 GB, free: 3.613 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.389e-05/0.3113, allocations: 4 kB / 0.5607 GB, free: 3.609 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.495e-05/0.3114, allocations: 34.56 kB / 0.5607 GB, free: 3.566 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.503e-06/0.3114, allocations: 0 / 0.5607 GB, free: 3.566 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.001041/0.3125, allocations: 297.3 kB / 0.561 GB, free: 3.273 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.84e-05/0.3125, allocations: 51.41 kB / 0.5611 GB, free: 3.211 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001788/0.3127, allocations: 168.8 kB / 0.5612 GB, free: 3.039 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.982e-05/0.3127, allocations: 25.7 kB / 0.5613 GB, free: 3.008 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.866e-05/0.3128, allocations: 104.1 kB / 0.5614 GB, free: 2.902 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.304e-05/0.3128, allocations: 51.67 kB / 0.5614 GB, free: 2.852 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.238e-05/0.3129, allocations: 33.72 kB / 0.5614 GB, free: 2.812 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001541/0.313, allocations: 318.8 kB / 0.5617 GB, free: 2.492 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.737e-05/0.3131, allocations: 39.97 kB / 0.5618 GB, free: 2.453 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.361e-05/0.3132, allocations: 35.98 kB / 0.5618 GB, free: 2.418 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001925/0.3134, allocations: 92.83 kB / 0.5619 GB, free: 2.324 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.3134, allocations: 0 / 0.5619 GB, free: 2.324 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002496/0.3137, allocations: 125.6 kB / 0.562 GB, free: 2.195 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.3137, allocations: 8.047 kB / 0.562 GB, free: 2.188 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.3137, allocations: 3.938 kB / 0.562 GB, free: 2.184 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.054e-05/0.3137, allocations: 7.938 kB / 0.562 GB, free: 2.176 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001275/0.3138, allocations: 39.91 kB / 0.5621 GB, free: 2.137 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.3138, allocations: 0 / 0.5621 GB, free: 2.137 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.639e-05/0.3139, allocations: 4 kB / 0.5621 GB, free: 2.133 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.237e-05/0.3139, allocations: 4 kB / 0.5621 GB, free: 2.129 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 (13): * Single equations (assignments): 13 * 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.0001153/0.314, allocations: 125.8 kB / 0.5622 GB, free: 1.996 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.037e-05/0.3141, allocations: 15.84 kB / 0.5622 GB, free: 1.98 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003792/0.3144, allocations: 166.5 kB / 0.5624 GB, free: 1.809 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.101e-06/0.3144, allocations: 4 kB / 0.5624 GB, free: 1.805 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.3144, allocations: 4 kB / 0.5624 GB, free: 1.801 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.3144, allocations: 0 / 0.5624 GB, free: 1.801 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006561/0.3151, allocations: 426.2 kB / 0.5628 GB, free: 1.332 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.479e-06/0.3151, allocations: 3.984 kB / 0.5628 GB, free: 1.328 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.367e-05/0.3152, allocations: 27.98 kB / 0.5628 GB, free: 1.301 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.949e-06/0.3152, allocations: 7.938 kB / 0.5628 GB, free: 1.293 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.231e-05/0.3152, allocations: 3.984 kB / 0.5628 GB, free: 1.289 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.3152, allocations: 0 / 0.5628 GB, free: 1.289 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.3152, allocations: 11.97 kB / 0.5628 GB, free: 1.277 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003236/0.3155, allocations: 231.9 kB / 0.5631 GB, free: 1.035 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.982e-05/0.3156, allocations: 11.91 kB / 0.5631 GB, free: 1.023 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.052e-05/0.3156, allocations: 4 kB / 0.5631 GB, free: 1.02 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.912e-05/0.3157, allocations: 11.98 kB / 0.5631 GB, free: 1.008 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.416e-05/0.3157, allocations: 7.984 kB / 0.5631 GB, free: 1 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.49e-05/0.3157, allocations: 4 kB / 0.5631 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001184/0.3158, allocations: 131.2 kB / 0.5632 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3158, allocations: 0 / 0.5632 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002638/0.3161, allocations: 27.98 kB / 0.5633 GB, free: 0.8398 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 (13): * Single equations (assignments): 13 * 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.00234/0.3185, allocations: 1.147 MB / 0.5644 GB, free: 15.88 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002656/0.3187, allocations: 95.88 kB / 0.5645 GB, free: 15.79 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.3187, allocations: 0 / 0.5645 GB, free: 15.79 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001145/0.3188, allocations: 55.86 kB / 0.5645 GB, free: 15.73 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004213/0.3193, allocations: 21.61 kB / 0.5645 GB, free: 15.71 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002352/0.3216, allocations: 1.673 MB / 0.5662 GB, free: 13.95 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001045/0.3217, allocations: 92.12 kB / 0.5663 GB, free: 13.84 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.357e-05/0.3218, allocations: 20.47 kB / 0.5663 GB, free: 13.82 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.124e-05/0.3219, allocations: 43.42 kB / 0.5663 GB, free: 13.78 MB / 414.1 MB Notification: Performance of SimCode: time 7.41e-07/0.3219, allocations: 0 / 0.5663 GB, free: 13.78 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02912/0.351, allocations: 3.745 MB / 0.57 GB, free: 10.07 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.45/11.8, allocations: 14.34 kB / 0.57 GB, free: 10.06 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test29_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test29.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test29/Test29.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.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.883814967703074]