Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.LinearColdWater,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.LinearColdWater,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009583/0.0009582, allocations: 107.7 kB / 17.21 MB, free: 6.27 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001073/0.001073, allocations: 194 kB / 18.12 MB, free: 5.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.451/1.451, allocations: 222.9 MB / 241.8 MB, free: 15.59 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2303/0.2303, allocations: 44.16 MB / 336.1 MB, free: 3.055 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001164/0.001164, allocations: 64.64 kB / 407.8 MB, free: 27.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1543/0.1554, allocations: 60.82 MB / 468.6 MB, free: 14.8 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.008488/0.164, allocations: 4.581 MB / 473.2 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005187/0.1692, allocations: 4.069 MB / 477.3 MB, free: 6.098 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002365/0.1695, allocations: 0 / 477.3 MB, free: 6.098 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003449/0.1699, allocations: 51.72 kB / 477.3 MB, free: 6.047 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002083/0.172, allocations: 0.657 MB / 478 MB, free: 5.387 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003722/0.1724, allocations: 133.8 kB / 478.1 MB, free: 5.258 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007908/0.1732, allocations: 442.1 kB / 478.5 MB, free: 4.824 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.471e-05/0.1732, allocations: 13.67 kB / 478.6 MB, free: 4.812 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002879/0.1735, allocations: 139.4 kB / 478.7 MB, free: 4.676 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003855/0.1739, allocations: 159.4 kB / 478.8 MB, free: 4.52 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.45e-05/0.174, allocations: 8 kB / 478.9 MB, free: 4.512 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001193/0.1752, allocations: 435.3 kB / 479.3 MB, free: 4.086 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001052/0.1753, allocations: 43.77 kB / 479.3 MB, free: 4.043 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001689/0.1755, allocations: 107.5 kB / 479.4 MB, free: 3.938 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001116/0.1766, allocations: 475 kB / 479.9 MB, free: 3.473 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.1766, allocations: 4 kB / 479.9 MB, free: 3.469 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.02e-07/0.1766, allocations: 0 / 479.9 MB, free: 3.469 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.568e-06/0.1766, allocations: 0 / 479.9 MB, free: 3.469 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001407/0.1781, allocations: 0.5892 MB / 480.5 MB, free: 2.832 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.934e-05/0.1781, allocations: 12.03 kB / 480.5 MB, free: 2.82 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001811/0.1783, allocations: 62.73 kB / 480.6 MB, free: 2.75 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000182/0.1785, allocations: 28.73 kB / 480.6 MB, free: 2.723 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000288/0.1788, allocations: 224 kB / 480.8 MB, free: 2.465 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001362/0.1789, allocations: 127.9 kB / 480.9 MB, free: 2.312 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.768e-05/0.179, allocations: 24.12 kB / 481 MB, free: 2.289 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006042/0.1796, allocations: 327.6 kB / 481.3 MB, free: 1.941 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.1796, allocations: 0 / 481.3 MB, free: 1.941 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.282e-05/0.1797, allocations: 12 kB / 481.3 MB, free: 1.93 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.322e-05/0.1797, allocations: 8 kB / 481.3 MB, free: 1.922 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008255/0.1805, allocations: 0.7352 MB / 482 MB, free: 1.188 MB / 350.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001768/0.1823, allocations: 1.304 MB / 483.3 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004042/0.1827, allocations: 159.7 kB / 483.5 MB, free: 15.6 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002368/0.183, allocations: 85.47 kB / 483.6 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002947/0.1859, allocations: 2.802 MB / 486.4 MB, free: 12.18 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.4e-05/0.186, allocations: 46.48 kB / 486.4 MB, free: 12.13 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 3.546e-06/0.186, allocations: 0 / 486.4 MB, free: 12.13 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003225/0.1863, allocations: 125.2 kB / 486.5 MB, free: 12 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.763e-05/0.1864, allocations: 51.41 kB / 486.6 MB, free: 11.94 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002282/0.1866, allocations: 223.8 kB / 486.8 MB, free: 11.71 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.261e-05/0.1866, allocations: 33.7 kB / 486.8 MB, free: 11.67 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001671/0.1868, allocations: 210.6 kB / 487 MB, free: 11.46 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.038e-05/0.1869, allocations: 51.38 kB / 487.1 MB, free: 11.41 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001078/0.187, allocations: 85.94 kB / 487.2 MB, free: 11.32 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002378/0.1872, allocations: 334.8 kB / 487.5 MB, free: 10.98 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.885e-05/0.1873, allocations: 44.84 kB / 487.6 MB, free: 10.94 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003847/0.1877, allocations: 347.2 kB / 487.9 MB, free: 10.45 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006598/0.1884, allocations: 444.6 kB / 488.3 MB, free: 9.871 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.274e-06/0.1884, allocations: 4 kB / 488.3 MB, free: 9.867 MB / 366.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0007181/0.1891, allocations: 380.9 kB / 488.7 MB, free: 9.488 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.431e-05/0.1891, allocations: 11.94 kB / 488.7 MB, free: 9.477 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.693e-05/0.1892, allocations: 12.91 kB / 488.7 MB, free: 9.465 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.5e-05/0.1892, allocations: 15.94 kB / 488.7 MB, free: 9.449 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002421/0.1895, allocations: 103.8 kB / 488.8 MB, free: 9.348 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.366e-05/0.1895, allocations: 19.88 kB / 488.9 MB, free: 9.328 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00027/0.1898, allocations: 55.44 kB / 488.9 MB, free: 9.273 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.986e-05/0.1898, allocations: 35.97 kB / 489 MB, free: 9.238 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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 (51): * Single equations (assignments): 50 * Array equations: 1 * 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.0001356/0.19, allocations: 149.6 kB / 489.1 MB, free: 9.082 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.211e-05/0.19, allocations: 15.81 kB / 489.1 MB, free: 9.066 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000305/0.1903, allocations: 144.4 kB / 489.3 MB, free: 8.914 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.388e-05/0.1903, allocations: 7.984 kB / 489.3 MB, free: 8.906 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.1904, allocations: 0 / 489.3 MB, free: 8.906 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.1904, allocations: 0 / 489.3 MB, free: 8.906 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000498/0.1909, allocations: 408.8 kB / 489.7 MB, free: 8.441 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.1909, allocations: 4 kB / 489.7 MB, free: 8.438 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.708e-05/0.191, allocations: 12 kB / 489.7 MB, free: 8.426 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.191, allocations: 0 / 489.7 MB, free: 8.426 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.183e-05/0.191, allocations: 7.984 kB / 489.7 MB, free: 8.418 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.191, allocations: 4 kB / 489.7 MB, free: 8.414 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.191, allocations: 0 / 489.7 MB, free: 8.414 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002291/0.1912, allocations: 205.8 kB / 489.9 MB, free: 8.188 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.492e-05/0.1913, allocations: 100.8 kB / 490 MB, free: 8.07 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.457e-05/0.1914, allocations: 4 kB / 490 MB, free: 8.066 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001465/0.1915, allocations: 8.062 kB / 490 MB, free: 8.059 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.78e-05/0.1915, allocations: 11.98 kB / 490 MB, free: 8.047 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.529e-05/0.1916, allocations: 4 kB / 490 MB, free: 8.043 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001322/0.1918, allocations: 160.4 kB / 490.2 MB, free: 7.887 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1918, allocations: 0 / 490.2 MB, free: 7.887 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005147/0.1923, allocations: 95.92 kB / 490.3 MB, free: 7.793 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (9): * Single equations (assignments): 8 * Array equations: 1 * 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.001037/0.1934, allocations: 0.7972 MB / 491.1 MB, free: 6.957 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003789/0.1937, allocations: 168.6 kB / 491.2 MB, free: 6.793 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/0.1938, allocations: 1.812 kB / 491.2 MB, free: 6.793 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.878e-05/0.1938, allocations: 27.92 kB / 491.3 MB, free: 6.766 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005318/0.1944, allocations: 41.03 kB / 491.3 MB, free: 6.727 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004158/0.1985, allocations: 2.869 MB / 494.2 MB, free: 3.473 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000326/0.1989, allocations: 0.7248 MB / 494.9 MB, free: 2.723 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002491/0.1991, allocations: 51.02 kB / 494.9 MB, free: 2.672 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.201e-05/0.1992, allocations: 55.42 kB / 495 MB, free: 2.617 MB / 366.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1992, allocations: 0 / 495 MB, free: 2.617 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01907/0.2183, allocations: 4.969 MB / 500 MB, free: 13.77 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002595/0.2186, allocations: 213.4 kB / 0.4884 GB, free: 13.52 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.867/2.086, allocations: 3.938 kB / 0.4885 GB, free: 13.51 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_LinearColdWater_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_LinearColdWater.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/LinearColdWater/LinearColdWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches