Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.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.001509/0.001509, allocations: 107.2 kB / 20.44 MB, free: 1.207 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.002022/0.002022, allocations: 211.4 kB / 23.73 MB, free: 4.41 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.539/1.539, 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.2274/0.2274, allocations: 44.95 MB / 358.8 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.Test21,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test21,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test21",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.002226/0.002226, allocations: 67.89 kB / 0.493 GB, free: 10.55 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3757/0.3779, allocations: 65.48 MB / 0.557 GB, free: 7.352 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test21): time 0.003739/0.3816, allocations: 1.591 MB / 0.5585 GB, free: 5.961 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002143/0.3838, allocations: 1.228 MB / 0.5597 GB, free: 4.727 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.604e-05/0.3838, allocations: 0 / 0.5597 GB, free: 4.727 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002086/0.3841, allocations: 15.86 kB / 0.5598 GB, free: 4.711 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003104/0.3844, allocations: 91.61 kB / 0.5598 GB, free: 4.621 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002647/0.3846, allocations: 95.69 kB / 0.5599 GB, free: 4.527 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001549/0.3848, allocations: 71.72 kB / 0.56 GB, free: 4.457 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.776e-05/0.3849, allocations: 13.81 kB / 0.56 GB, free: 4.445 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.609e-05/0.3849, allocations: 27.91 kB / 0.56 GB, free: 4.418 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001055/0.385, allocations: 23.86 kB / 0.5601 GB, free: 4.395 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.965e-05/0.3851, allocations: 7.938 kB / 0.5601 GB, free: 4.387 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001677/0.3852, allocations: 91.94 kB / 0.5602 GB, free: 4.297 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.661e-05/0.3853, allocations: 11.92 kB / 0.5602 GB, free: 4.285 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.036e-05/0.3853, allocations: 27.88 kB / 0.5602 GB, free: 4.258 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002529/0.3856, allocations: 139.5 kB / 0.5603 GB, free: 4.121 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.3856, allocations: 0 / 0.5603 GB, free: 4.121 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3856, allocations: 0 / 0.5603 GB, free: 4.121 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.609e-06/0.3856, allocations: 0 / 0.5603 GB, free: 4.121 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.0005282/0.3861, allocations: 325.7 kB / 0.5606 GB, free: 3.773 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.3862, allocations: 12.03 kB / 0.5607 GB, free: 3.762 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.782e-05/0.3862, allocations: 34.75 kB / 0.5607 GB, free: 3.719 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.828e-05/0.3862, allocations: 12.89 kB / 0.5607 GB, free: 3.707 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002025/0.3864, allocations: 138.3 kB / 0.5608 GB, free: 3.547 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.017e-06/0.3865, allocations: 4.375 kB / 0.5608 GB, free: 3.543 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.065e-05/0.3865, allocations: 4.375 kB / 0.5608 GB, free: 3.539 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001848/0.3867, allocations: 96.97 kB / 0.5609 GB, free: 3.426 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/0.3867, allocations: 0 / 0.5609 GB, free: 3.426 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.448e-06/0.3867, allocations: 0 / 0.5609 GB, free: 3.426 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.3867, allocations: 4 kB / 0.5609 GB, free: 3.422 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.233e-05/0.3868, allocations: 19.98 kB / 0.561 GB, free: 3.402 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003567/0.3871, allocations: 240 kB / 0.5612 GB, free: 3.125 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00022/0.3874, allocations: 46.5 kB / 0.5612 GB, free: 3.07 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.949e-05/0.3874, allocations: 16.94 kB / 0.5612 GB, free: 3.051 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.186e-05/0.3874, allocations: 4 kB / 0.5612 GB, free: 3.047 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.781e-05/0.3875, allocations: 30.56 kB / 0.5613 GB, free: 3.008 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.222e-06/0.3875, allocations: 0 / 0.5613 GB, free: 3.008 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005483/0.388, allocations: 145.6 kB / 0.5614 GB, free: 2.859 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.292e-05/0.3881, allocations: 81.11 kB / 0.5615 GB, free: 2.762 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001727/0.3882, allocations: 141.8 kB / 0.5616 GB, free: 2.613 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.025e-05/0.3883, allocations: 33.7 kB / 0.5617 GB, free: 2.574 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.442e-05/0.3883, allocations: 96.06 kB / 0.5617 GB, free: 2.477 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.176e-05/0.3883, allocations: 15.86 kB / 0.5618 GB, free: 2.461 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.025e-05/0.3884, allocations: 17.72 kB / 0.5618 GB, free: 2.438 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001511/0.3885, allocations: 326.8 kB / 0.5621 GB, free: 2.109 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.98e-05/0.3886, allocations: 15.98 kB / 0.5621 GB, free: 2.094 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.211e-05/0.3887, allocations: 59.41 kB / 0.5622 GB, free: 2.023 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000139/0.3888, allocations: 48.77 kB / 0.5622 GB, free: 1.973 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.3888, allocations: 4.031 kB / 0.5622 GB, free: 1.969 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002061/0.389, allocations: 81.56 kB / 0.5623 GB, free: 1.883 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.3891, allocations: 8 kB / 0.5623 GB, free: 1.875 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.3891, allocations: 0 / 0.5623 GB, free: 1.875 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.3891, allocations: 0 / 0.5623 GB, free: 1.875 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.949e-05/0.3892, allocations: 16.22 kB / 0.5623 GB, free: 1.859 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.3892, allocations: 4 kB / 0.5623 GB, free: 1.855 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.217e-05/0.3892, allocations: 11.92 kB / 0.5623 GB, free: 1.844 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.235e-06/0.3892, allocations: 8 kB / 0.5623 GB, free: 1.836 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.587e-05/0.3893, allocations: 117.8 kB / 0.5625 GB, free: 1.711 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.818e-05/0.3894, allocations: 7.953 kB / 0.5625 GB, free: 1.703 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002529/0.3896, allocations: 94.05 kB / 0.5625 GB, free: 1.594 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.3896, allocations: 0 / 0.5625 GB, free: 1.594 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.3896, allocations: 0 / 0.5625 GB, free: 1.594 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.3896, allocations: 3.938 kB / 0.5626 GB, free: 1.59 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004456/0.3901, allocations: 309.6 kB / 0.5628 GB, free: 1.238 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.3901, allocations: 4 kB / 0.5629 GB, free: 1.234 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.226e-05/0.3901, allocations: 15.98 kB / 0.5629 GB, free: 1.219 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.3901, allocations: 0 / 0.5629 GB, free: 1.219 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.357e-06/0.3901, allocations: 3.938 kB / 0.5629 GB, free: 1.215 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.3901, allocations: 0 / 0.5629 GB, free: 1.215 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3901, allocations: 0 / 0.5629 GB, free: 1.215 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002669/0.3904, allocations: 179.5 kB / 0.563 GB, free: 1.023 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.574e-05/0.3904, allocations: 7.953 kB / 0.563 GB, free: 1.016 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.22e-05/0.3904, allocations: 7.875 kB / 0.5631 GB, free: 1.008 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.626e-05/0.3905, allocations: 11.98 kB / 0.5631 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.431e-05/0.3906, allocations: 7.938 kB / 0.5631 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.168e-06/0.3906, allocations: 0 / 0.5631 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001099/0.3907, allocations: 117.8 kB / 0.5632 GB, free: 0.875 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3907, allocations: 0 / 0.5632 GB, free: 0.875 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002943/0.391, allocations: 35.88 kB / 0.5632 GB, free: 0.8398 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.002467/0.3934, allocations: 1.14 MB / 0.5643 GB, free: 15.9 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002292/0.3937, allocations: 55.84 kB / 0.5644 GB, free: 15.84 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.3937, allocations: 0 / 0.5644 GB, free: 15.84 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.718e-05/0.3938, allocations: 23.98 kB / 0.5644 GB, free: 15.82 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003796/0.3941, allocations: 20.56 kB / 0.5644 GB, free: 15.8 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001905/0.396, allocations: 1.431 MB / 0.5658 GB, free: 14.29 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.875e-05/0.3961, allocations: 79.08 kB / 0.5659 GB, free: 14.2 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.714e-05/0.3962, allocations: 16 kB / 0.5659 GB, free: 14.18 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.089e-05/0.3963, allocations: 27.42 kB / 0.5659 GB, free: 14.16 MB / 414.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3963, allocations: 0 / 0.5659 GB, free: 14.16 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03233/0.4286, allocations: 3.831 MB / 0.5697 GB, free: 10.36 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.36/11.79, allocations: 4.062 kB / 0.5697 GB, free: 10.36 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test21_fmu --startTime=0 --stopTime=100 --stepSize=0.019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test21.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.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.930440099909902]