Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: translateModel(ModelicaTest.Media.TestAllProperties.LinearColdWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.1.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater") translateModel(ModelicaTest.Media.TestAllProperties.LinearColdWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.1.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001321/0.001321, allocations: 112.1 kB / 17.04 MB, free: 5.812 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.00154/0.00154, allocations: 196 kB / 17.98 MB, free: 5.027 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.591/1.591, allocations: 205.1 MB / 223.9 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2637/0.2637, allocations: 43.52 MB / 314.7 MB, free: 488 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002745/0.002745, allocations: 64.48 kB / 384.2 MB, free: 56.41 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1518/0.1546, allocations: 57.79 MB / 442 MB, free: 6.172 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.005878/0.1605, allocations: 4.53 MB / 446.5 MB, free: 1.605 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004522/0.1651, allocations: 4.018 MB / 450.5 MB, free: 13.57 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001244/0.1652, allocations: 4 kB / 450.5 MB, free: 13.57 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003229/0.1656, allocations: 55.59 kB / 450.6 MB, free: 13.52 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002135/0.1678, allocations: 0.7149 MB / 451.3 MB, free: 12.8 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003543/0.1681, allocations: 139.3 kB / 451.4 MB, free: 12.66 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005263/0.1687, allocations: 370.2 kB / 451.8 MB, free: 12.3 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.382e-05/0.1687, allocations: 13.67 kB / 451.8 MB, free: 12.29 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001858/0.1689, allocations: 147.4 kB / 451.9 MB, free: 12.14 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002446/0.1692, allocations: 143.5 kB / 452.1 MB, free: 12 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.622e-05/0.1692, allocations: 8 kB / 452.1 MB, free: 12 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009803/0.1702, allocations: 427.5 kB / 452.5 MB, free: 11.58 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.899e-05/0.1703, allocations: 47.75 kB / 452.6 MB, free: 11.53 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001233/0.1704, allocations: 103.5 kB / 452.7 MB, free: 11.43 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007949/0.1712, allocations: 470.8 kB / 453.1 MB, free: 10.97 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.1712, allocations: 4 kB / 453.1 MB, free: 10.96 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1713, allocations: 0 / 453.1 MB, free: 10.96 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.047e-06/0.1713, allocations: 3.984 kB / 453.1 MB, free: 10.96 MB / 334.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.001216/0.1725, allocations: 0.5943 MB / 453.7 MB, free: 10.32 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/0.1725, allocations: 15.89 kB / 453.7 MB, free: 10.3 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001583/0.1727, allocations: 28.66 kB / 453.8 MB, free: 10.28 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003646/0.1731, allocations: 228.1 kB / 454 MB, free: 10.02 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001351/0.1732, allocations: 123.9 kB / 454.1 MB, free: 9.867 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.6e-05/0.1733, allocations: 24.38 kB / 454.1 MB, free: 9.844 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004914/0.1738, allocations: 327.6 kB / 454.5 MB, free: 9.496 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.409e-05/0.1738, allocations: 4 kB / 454.5 MB, free: 9.492 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.733e-05/0.1738, allocations: 8 kB / 454.5 MB, free: 9.484 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.085e-05/0.1739, allocations: 15.92 kB / 454.5 MB, free: 9.469 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007995/0.1747, allocations: 0.7352 MB / 455.2 MB, free: 8.734 MB / 334.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.00148/0.1762, allocations: 1.3 MB / 456.5 MB, free: 7.312 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003519/0.1765, allocations: 175.7 kB / 456.7 MB, free: 7.133 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001301/0.1767, allocations: 85.42 kB / 456.8 MB, free: 7.047 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002772/0.1794, allocations: 2.817 MB / 459.6 MB, free: 3.699 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.508e-05/0.1795, allocations: 30.56 kB / 459.6 MB, free: 3.66 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.694e-06/0.1795, allocations: 4 kB / 459.6 MB, free: 3.656 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003125/0.1798, allocations: 121.3 kB / 459.7 MB, free: 3.531 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.999e-05/0.1799, allocations: 51.41 kB / 459.8 MB, free: 3.469 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002191/0.1801, allocations: 223.8 kB / 460 MB, free: 3.242 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.083e-05/0.1801, allocations: 25.7 kB / 460 MB, free: 3.211 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001467/0.1803, allocations: 222.6 kB / 460.3 MB, free: 2.988 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.446e-05/0.1803, allocations: 43.45 kB / 460.3 MB, free: 2.945 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.883e-05/0.1804, allocations: 78.03 kB / 460.4 MB, free: 2.863 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001268/0.1805, allocations: 330.8 kB / 460.7 MB, free: 2.531 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.833e-05/0.1806, allocations: 52.78 kB / 460.7 MB, free: 2.48 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002815/0.1809, allocations: 343.2 kB / 461.1 MB, free: 1.996 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004358/0.1814, allocations: 440.6 kB / 461.5 MB, free: 1.418 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.214e-06/0.1814, allocations: 4 kB / 461.5 MB, free: 1.414 MB / 334.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005419/0.1819, allocations: 384.9 kB / 461.9 MB, free: 1.031 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.329e-05/0.1819, allocations: 9.25 kB / 461.9 MB, free: 1.023 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.232e-05/0.182, allocations: 12.84 kB / 461.9 MB, free: 1.012 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.82e-05/0.182, allocations: 19.94 kB / 461.9 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002281/0.1822, allocations: 99.77 kB / 462 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.856e-05/0.1823, allocations: 23.92 kB / 462.1 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000232/0.1825, allocations: 47.53 kB / 462.1 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.43e-05/0.1826, allocations: 28 kB / 462.1 MB, free: 0.7969 MB / 334.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.0001294/0.1827, allocations: 153.6 kB / 462.3 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.75e-05/0.1827, allocations: 19.72 kB / 462.3 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002902/0.183, allocations: 144.6 kB / 462.4 MB, free: 480 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.216e-05/0.1831, allocations: 7.938 kB / 462.4 MB, free: 472 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.1831, allocations: 0 / 462.4 MB, free: 472 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.1831, allocations: 0 / 462.4 MB, free: 472 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005114/0.1836, allocations: 424.7 kB / 462.9 MB, free: 15.98 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.04e-06/0.1836, allocations: 8 kB / 462.9 MB, free: 15.97 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.62e-05/0.1837, allocations: 12 kB / 462.9 MB, free: 15.96 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.1837, allocations: 0 / 462.9 MB, free: 15.96 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.947e-06/0.1837, allocations: 0 / 462.9 MB, free: 15.96 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.1837, allocations: 4 kB / 462.9 MB, free: 15.96 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.1837, allocations: 0 / 462.9 MB, free: 15.96 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001858/0.1839, allocations: 209.9 kB / 463.1 MB, free: 15.73 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001079/0.184, allocations: 97.09 kB / 463.2 MB, free: 15.61 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.433e-05/0.1841, allocations: 4 kB / 463.2 MB, free: 15.61 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001424/0.1842, allocations: 7.938 kB / 463.2 MB, free: 15.6 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.614e-05/0.1843, allocations: 11.92 kB / 463.2 MB, free: 15.59 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.496e-06/0.1843, allocations: 4 kB / 463.2 MB, free: 15.59 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001319/0.1844, allocations: 160.5 kB / 463.4 MB, free: 15.43 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1844, allocations: 4 kB / 463.4 MB, free: 15.43 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005184/0.1849, allocations: 91.84 kB / 463.5 MB, free: 15.34 MB / 350.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.000267/0.1852, allocations: 151.2 kB / 463.6 MB, free: 15.18 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003014/0.1855, allocations: 174.2 kB / 463.8 MB, free: 15.01 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.1855, allocations: 0 / 463.8 MB, free: 15.01 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.105e-05/0.1856, allocations: 27.92 kB / 463.8 MB, free: 14.98 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004573/0.186, allocations: 48.64 kB / 463.9 MB, free: 14.94 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001122/0.1872, allocations: 0.5346 MB / 464.4 MB, free: 14.37 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003663/0.1876, allocations: 0.7245 MB / 465.1 MB, free: 13.62 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001758/0.1877, allocations: 55.36 kB / 465.2 MB, free: 13.56 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.571e-05/0.1878, allocations: 27.42 kB / 465.2 MB, free: 13.54 MB / 350.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1878, allocations: 0 / 465.2 MB, free: 13.54 MB / 350.1 MB Notification: Performance of Templates: time 0.006869/0.1947, allocations: 3.103 MB / 468.3 MB, free: 10.45 MB / 350.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/LinearColdWater/LinearColdWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches