Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.OneMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.OneMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001027/0.001027, allocations: 187 kB / 17.92 MB, free: 3.855 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.156/1.156, allocations: 205.1 MB / 223.8 MB, free: 8.473 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008806/0.0008806, allocations: 103.7 kB / 271.2 MB, free: 8.434 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000767/0.0007671, allocations: 39.94 kB / 327.2 MB, free: 328 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1848/0.1856, allocations: 46.62 MB / 373.8 MB, free: 45.69 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.003721/0.1893, allocations: 3.687 MB / 377.5 MB, free: 42.93 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001074/0.1904, allocations: 1.023 MB / 378.5 MB, free: 42.07 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001617/0.1906, allocations: 5.688 kB / 378.5 MB, free: 42.07 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002461/0.1909, allocations: 94.05 kB / 378.6 MB, free: 42 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002802/0.1912, allocations: 172.8 kB / 378.8 MB, free: 41.85 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001814/0.1913, allocations: 112.6 kB / 378.9 MB, free: 41.76 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006009/0.192, allocations: 0.6498 MB / 379.6 MB, free: 41.38 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002379/0.1922, allocations: 179.2 kB / 379.7 MB, free: 41.28 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001924/0.1924, allocations: 245.2 kB / 380 MB, free: 41.14 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002231/0.1926, allocations: 277.8 kB / 380.2 MB, free: 40.96 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.99e-05/0.1927, allocations: 39.06 kB / 380.3 MB, free: 40.96 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.699e-05/0.1928, allocations: 44.62 kB / 380.3 MB, free: 40.95 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.708e-05/0.1929, allocations: 113.2 kB / 380.4 MB, free: 40.86 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002091/0.1931, allocations: 292 kB / 380.7 MB, free: 40.67 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004118/0.1935, allocations: 0.668 MB / 381.4 MB, free: 40.16 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.1935, allocations: 0 / 381.4 MB, free: 40.16 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1935, allocations: 1.344 kB / 381.4 MB, free: 40.16 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.063e-06/0.1935, allocations: 0 / 381.4 MB, free: 40.16 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001291/0.1948, allocations: 0.8905 MB / 382.3 MB, free: 39.42 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.1949, allocations: 8.656 kB / 382.3 MB, free: 39.42 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001069/0.195, allocations: 62.84 kB / 382.3 MB, free: 39.39 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005263/0.1955, allocations: 427.6 kB / 382.8 MB, free: 39.02 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001789/0.1957, allocations: 81.84 kB / 382.8 MB, free: 38.96 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.166e-05/0.1958, allocations: 34.94 kB / 382.9 MB, free: 38.95 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007315/0.1965, allocations: 0.4925 MB / 383.4 MB, free: 38.58 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.354e-05/0.1965, allocations: 0 / 383.4 MB, free: 38.58 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.295e-05/0.1966, allocations: 17.84 kB / 383.4 MB, free: 38.57 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.826e-06/0.1966, allocations: 7.438 kB / 383.4 MB, free: 38.57 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007997/0.1974, allocations: 366.5 kB / 383.8 MB, free: 38.39 MB / 298.7 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.001584/0.199, allocations: 1.3 MB / 385.1 MB, free: 37.31 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006216/0.1996, allocations: 396.8 kB / 385.4 MB, free: 37.05 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000405/0.2, allocations: 188.2 kB / 385.6 MB, free: 36.96 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.869e-05/0.2001, allocations: 4.656 kB / 385.6 MB, free: 36.96 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.983e-05/0.2001, allocations: 45.81 kB / 385.7 MB, free: 36.91 MB / 298.7 MB Notification: Performance of pre-optimization done (n=35): time 1.493e-06/0.2001, allocations: 0 / 385.7 MB, free: 36.91 MB / 298.7 MB Notification: Performance of matching and sorting (n=35): time 0.001567/0.2017, allocations: 0.7645 MB / 386.4 MB, free: 36.4 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.354e-05/0.2018, allocations: 443.6 kB / 386.9 MB, free: 35.87 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004054/0.2022, allocations: 457.6 kB / 387.3 MB, free: 35.53 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.678e-05/0.2022, allocations: 37.64 kB / 387.4 MB, free: 35.48 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001031/0.2023, allocations: 244.4 kB / 387.6 MB, free: 35.24 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.845e-05/0.2024, allocations: 118.2 kB / 387.7 MB, free: 35.12 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.95e-05/0.2025, allocations: 77.69 kB / 387.8 MB, free: 35.04 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.867e-05/0.2026, allocations: 362.7 kB / 388.1 MB, free: 34.68 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003433/0.2029, allocations: 147.9 kB / 388.3 MB, free: 34.54 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004054/0.2033, allocations: 298.5 kB / 388.6 MB, free: 34.19 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006784/0.204, allocations: 361.2 kB / 388.9 MB, free: 33.83 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.204, allocations: 3.984 kB / 388.9 MB, free: 33.82 MB / 298.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008679/0.2049, allocations: 0.5054 MB / 389.4 MB, free: 33.3 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.218e-05/0.2049, allocations: 33.7 kB / 389.5 MB, free: 33.26 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.2049, allocations: 0 / 389.5 MB, free: 33.26 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001298/0.2051, allocations: 49.64 kB / 389.5 MB, free: 33.21 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003647/0.2055, allocations: 95.86 kB / 389.6 MB, free: 33.11 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001451/0.2069, allocations: 2.748 MB / 392.4 MB, free: 30.09 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003794/0.2073, allocations: 59.69 kB / 392.4 MB, free: 30.04 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.437e-05/0.2073, allocations: 12.09 kB / 392.4 MB, free: 30.02 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (37): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(3,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001473/0.2075, allocations: 177.7 kB / 392.6 MB, free: 29.84 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.905e-05/0.2076, allocations: 55.36 kB / 392.7 MB, free: 29.79 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.837e-05/0.2077, allocations: 52.77 kB / 392.7 MB, free: 29.73 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.2077, allocations: 4 kB / 392.7 MB, free: 29.73 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.285e-06/0.2077, allocations: 0 / 392.7 MB, free: 29.73 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007848/0.2085, allocations: 0.7555 MB / 393.5 MB, free: 28.87 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001255/0.2097, allocations: 1.036 MB / 394.5 MB, free: 27.77 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.2097, allocations: 0 / 394.5 MB, free: 27.77 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003894/0.2101, allocations: 99.86 kB / 394.6 MB, free: 27.68 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.2101, allocations: 0 / 394.6 MB, free: 27.68 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.054e-05/0.2102, allocations: 8 kB / 394.6 MB, free: 27.67 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.2102, allocations: 0 / 394.6 MB, free: 27.67 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.2102, allocations: 0 / 394.6 MB, free: 27.67 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004649/0.2148, allocations: 3.247 MB / 397.9 MB, free: 24.28 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001309/0.215, allocations: 168.4 kB / 398 MB, free: 24.09 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.41e-05/0.215, allocations: 16 kB / 398 MB, free: 24.08 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003503/0.2154, allocations: 31.95 kB / 398.1 MB, free: 24.05 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.09e-05/0.2155, allocations: 27.91 kB / 398.1 MB, free: 24.02 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.706e-05/0.2155, allocations: 12 kB / 398.1 MB, free: 24.01 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002338/0.2157, allocations: 323.1 kB / 398.4 MB, free: 23.7 MB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2157, allocations: 4.062 kB / 398.4 MB, free: 23.69 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004764/0.2162, allocations: 195.8 kB / 398.6 MB, free: 23.5 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pipe.T,heatCapacitor.T) * 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 (35): * Single equations (assignments): 35 * 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 8.258e-05/0.2163, allocations: 106.6 kB / 398.7 MB, free: 23.39 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000949/0.2173, allocations: 0.6647 MB / 399.4 MB, free: 22.69 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.2173, allocations: 0 / 399.4 MB, free: 22.69 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003628/0.2176, allocations: 195.7 kB / 399.6 MB, free: 22.5 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006043/0.2183, allocations: 137.8 kB / 399.7 MB, free: 22.36 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00124/0.2195, allocations: 1.317 MB / 401 MB, free: 21.01 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001663/0.2197, allocations: 0.8354 MB / 401.9 MB, free: 20.15 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002341/0.2199, allocations: 68.34 kB / 401.9 MB, free: 20.08 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000119/0.2201, allocations: 47.44 kB / 402 MB, free: 20.03 MB / 298.7 MB Notification: Performance of SimCode: time 2.1e-07/0.2201, allocations: 4 kB / 402 MB, free: 20.03 MB / 298.7 MB Notification: Performance of Templates: time 0.01044/0.2305, allocations: 9.256 MB / 411.2 MB, free: 10.8 MB / 298.7 MB make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.makefile (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.sim & ./Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/OneMass/OneMass.csv","../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches