Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.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.0008382/0.0008382, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 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.0008173/0.0008173, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 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 0.8874/0.8874, allocations: 177.1 MB / 204.2 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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.245/0.245, allocations: 32.79 MB / 293.5 MB, free: 1.234 MB / 266.7 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.Test21,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test21,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test21",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 439.6 MB, free: 4.254 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.555e-05/1.707e-05, allocations: 2.281 kB / 439.6 MB, free: 4.25 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test21): time 0.002093/0.00211, allocations: 1.599 MB / 441.2 MB, free: 2.637 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001597/0.003707, allocations: 1.239 MB / 442.4 MB, free: 1.391 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.277e-05/0.003759, allocations: 0 / 442.4 MB, free: 1.391 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001991/0.003958, allocations: 35.78 kB / 442.5 MB, free: 1.355 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002904/0.004249, allocations: 87.44 kB / 442.6 MB, free: 1.27 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002825/0.004531, allocations: 111.2 kB / 442.7 MB, free: 1.164 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001441/0.004675, allocations: 71.77 kB / 442.7 MB, free: 1.094 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001051/0.00478, allocations: 11.98 kB / 442.7 MB, free: 1.082 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.826e-05/0.004839, allocations: 27.92 kB / 442.8 MB, free: 1.055 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.155e-05/0.00493, allocations: 31.89 kB / 442.8 MB, free: 1.023 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.673e-05/0.004947, allocations: 4 kB / 442.8 MB, free: 1.02 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001463/0.005093, allocations: 87.88 kB / 442.9 MB, free: 0.9336 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.66e-05/0.00514, allocations: 15.94 kB / 442.9 MB, free: 0.918 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.444e-05/0.005174, allocations: 19.91 kB / 442.9 MB, free: 0.8984 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002311/0.005405, allocations: 147.5 kB / 443.1 MB, free: 0.7539 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.005408, allocations: 0 / 443.1 MB, free: 0.7539 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.005408, allocations: 3.938 kB / 443.1 MB, free: 0.75 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.97e-06/0.005413, allocations: 0 / 443.1 MB, free: 0.75 MB / 410.7 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.0004052/0.005819, allocations: 329.6 kB / 443.4 MB, free: 408 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.387e-05/0.005862, allocations: 8.031 kB / 443.4 MB, free: 400 kB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.176e-05/0.005894, allocations: 38.75 kB / 443.4 MB, free: 352 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.277e-05/0.005927, allocations: 8.891 kB / 443.5 MB, free: 344 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000157/0.006084, allocations: 136.6 kB / 443.6 MB, free: 184 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.055e-06/0.006092, allocations: 384 / 443.6 MB, free: 184 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.913e-05/0.006111, allocations: 8.375 kB / 443.6 MB, free: 176 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001316/0.006243, allocations: 89.59 kB / 443.7 MB, free: 68 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/0.006252, allocations: 192 / 443.7 MB, free: 68 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.094e-05/0.006263, allocations: 11.94 kB / 443.7 MB, free: 56 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.006268, allocations: 0 / 443.7 MB, free: 56 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.561e-05/0.006323, allocations: 19.98 kB / 443.7 MB, free: 36 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1808/0.1871, allocations: 244.8 kB / 444 MB, free: 46.33 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002206/0.1874, allocations: 49.61 kB / 444 MB, free: 46.31 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.161e-05/0.1874, allocations: 16.03 kB / 444 MB, free: 46.3 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.424e-05/0.1874, allocations: 3.531 kB / 444 MB, free: 46.3 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.74e-05/0.1874, allocations: 39.5 kB / 444.1 MB, free: 46.26 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 2.334e-06/0.1874, allocations: 0 / 444.1 MB, free: 46.26 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004625/0.1879, allocations: 147.2 kB / 444.2 MB, free: 46.23 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.485e-05/0.1879, allocations: 80.83 kB / 444.3 MB, free: 46.14 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001112/0.188, allocations: 147.8 kB / 444.4 MB, free: 46.04 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.037e-06/0.188, allocations: 31.08 kB / 444.5 MB, free: 46.01 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.385e-05/0.1881, allocations: 93.11 kB / 444.5 MB, free: 45.93 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.227e-05/0.1881, allocations: 18.34 kB / 444.6 MB, free: 45.92 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.97e-05/0.1881, allocations: 18.09 kB / 444.6 MB, free: 45.9 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.997e-05/0.1882, allocations: 318.3 kB / 444.9 MB, free: 45.59 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.37e-05/0.1882, allocations: 31.47 kB / 444.9 MB, free: 45.59 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.072e-05/0.1883, allocations: 57.5 kB / 445 MB, free: 45.54 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.653e-05/0.1884, allocations: 56.3 kB / 445 MB, free: 45.54 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.1884, allocations: 0 / 445 MB, free: 45.54 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001105/0.1885, allocations: 88.61 kB / 445.1 MB, free: 45.5 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.1885, allocations: 9.406 kB / 445.1 MB, free: 45.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.1885, allocations: 0 / 445.1 MB, free: 45.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.1885, allocations: 4.5 kB / 445.1 MB, free: 45.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.636e-05/0.1886, allocations: 15.64 kB / 445.2 MB, free: 45.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/0.1886, allocations: 2.781 kB / 445.2 MB, free: 45.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.823e-05/0.1886, allocations: 6.031 kB / 445.2 MB, free: 45.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.771e-06/0.1886, allocations: 0 / 445.2 MB, free: 45.5 MB / 410.7 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 4.841e-05/0.1886, allocations: 116.5 kB / 445.3 MB, free: 45.38 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.877e-05/0.1887, allocations: 13.92 kB / 445.3 MB, free: 45.38 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001547/0.1888, allocations: 98.72 kB / 445.4 MB, free: 45.34 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.1888, allocations: 0 / 445.4 MB, free: 45.34 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.1888, allocations: 2.875 kB / 445.4 MB, free: 45.34 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.1888, allocations: 2.969 kB / 445.4 MB, free: 45.34 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002474/0.1891, allocations: 328 kB / 445.7 MB, free: 45.08 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.1891, allocations: 0 / 445.7 MB, free: 45.08 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.718e-05/0.1891, allocations: 11.52 kB / 445.7 MB, free: 45.08 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.1891, allocations: 3.906 kB / 445.7 MB, free: 45.08 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/0.1891, allocations: 2.844 kB / 445.7 MB, free: 45.08 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.1891, allocations: 3.125 kB / 445.7 MB, free: 45.08 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1891, allocations: 0 / 445.7 MB, free: 45.08 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001117/0.1892, allocations: 190.5 kB / 445.9 MB, free: 44.94 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.041e-05/0.1892, allocations: 7.391 kB / 445.9 MB, free: 44.94 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.339e-05/0.1893, allocations: 2.875 kB / 445.9 MB, free: 44.94 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.617e-05/0.1893, allocations: 6.172 kB / 445.9 MB, free: 44.94 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.605e-05/0.1893, allocations: 2.906 kB / 445.9 MB, free: 44.94 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.817e-06/0.1893, allocations: 6.766 kB / 445.9 MB, free: 44.94 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.491e-05/0.1894, allocations: 119.8 kB / 446.1 MB, free: 44.86 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1894, allocations: 2.344 kB / 446.1 MB, free: 44.86 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001938/0.1896, allocations: 37.09 kB / 446.1 MB, free: 44.86 MB / 410.7 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.0009839/0.1905, allocations: 1.144 MB / 447.2 MB, free: 44.14 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001486/0.1907, allocations: 59.89 kB / 447.3 MB, free: 44.13 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1907, allocations: 0 / 447.3 MB, free: 44.13 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.714e-05/0.1907, allocations: 27.55 kB / 447.3 MB, free: 44.13 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002931/0.191, allocations: 19.3 kB / 447.3 MB, free: 44.13 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009716/0.192, allocations: 1.463 MB / 448.8 MB, free: 42.91 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.816e-05/0.192, allocations: 83.27 kB / 448.9 MB, free: 42.83 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.026e-05/0.1921, allocations: 19.41 kB / 448.9 MB, free: 42.83 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.63e-05/0.1922, allocations: 25.84 kB / 448.9 MB, free: 42.82 MB / 410.7 MB Notification: Performance of SimCode: time 7.51e-07/0.1922, allocations: 0 / 448.9 MB, free: 42.82 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01735/0.2095, allocations: 4.025 MB / 453 MB, free: 41.36 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.64/6.849, allocations: 11.16 kB / 453 MB, free: 41.36 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test21_fmu --startTime=0 --stopTime=100 --stepSize=0.019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test21.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test21/Test21.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.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: 8.81142888776958]