Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.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) 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: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.OneMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008133/0.0008136, allocations: 93.41 kB / 17.31 MB, free: 6.535 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.0008062/0.0008063, allocations: 175.8 kB / 18.21 MB, free: 5.684 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.343/1.343, allocations: 223.3 MB / 242.3 MB, free: 14.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002656/0.0002656, allocations: 11.92 kB / 302.1 MB, free: 5.902 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1197/0.12, allocations: 50.41 MB / 352.5 MB, free: 3.48 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.005225/0.1253, allocations: 3.314 MB / 355.8 MB, free: 148 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002273/0.1276, allocations: 0.9113 MB / 356.7 MB, free: 15.23 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003527/0.128, allocations: 8 kB / 356.7 MB, free: 15.22 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003864/0.1284, allocations: 87.36 kB / 356.8 MB, free: 15.13 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006674/0.1291, allocations: 174.7 kB / 357 MB, free: 14.96 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003805/0.1295, allocations: 119.8 kB / 357.1 MB, free: 14.84 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009967/0.1305, allocations: 0.6449 MB / 357.7 MB, free: 14.2 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003674/0.1309, allocations: 170.7 kB / 357.9 MB, free: 14.03 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004111/0.1313, allocations: 235 kB / 358.1 MB, free: 13.8 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004881/0.1318, allocations: 266.8 kB / 358.4 MB, free: 13.54 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001314/0.1319, allocations: 39.94 kB / 358.4 MB, free: 13.5 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001298/0.1321, allocations: 36 kB / 358.5 MB, free: 13.46 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001318/0.1322, allocations: 111.5 kB / 358.6 MB, free: 13.36 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000421/0.1326, allocations: 304.3 kB / 358.9 MB, free: 13.05 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006372/0.1333, allocations: 0.5105 MB / 359.4 MB, free: 12.54 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.1333, allocations: 3.938 kB / 359.4 MB, free: 12.54 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1333, allocations: 0 / 359.4 MB, free: 12.54 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.376e-05/0.1333, allocations: 0 / 359.4 MB, free: 12.54 MB / 302.1 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.001919/0.1353, allocations: 0.8116 MB / 360.2 MB, free: 11.66 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.1353, allocations: 12.03 kB / 360.2 MB, free: 11.65 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001985/0.1355, allocations: 64.28 kB / 360.3 MB, free: 11.59 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009906/0.1365, allocations: 434.5 kB / 360.7 MB, free: 11.12 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000293/0.1368, allocations: 86.88 kB / 360.8 MB, free: 11.04 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.536e-05/0.1369, allocations: 36.38 kB / 360.8 MB, free: 11 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001398/0.1383, allocations: 0.4971 MB / 361.3 MB, free: 10.45 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.752e-05/0.1384, allocations: 3.938 kB / 361.3 MB, free: 10.45 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.904e-05/0.1384, allocations: 16 kB / 361.3 MB, free: 10.43 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.34e-05/0.1385, allocations: 8 kB / 361.3 MB, free: 10.42 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001426/0.1399, allocations: 386.4 kB / 361.7 MB, free: 10.04 MB / 302.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.002987/0.1429, allocations: 1.29 MB / 363 MB, free: 8.664 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001112/0.144, allocations: 415.3 kB / 363.4 MB, free: 8.23 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006826/0.1447, allocations: 200.8 kB / 363.6 MB, free: 8.031 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.156e-05/0.1448, allocations: 15.97 kB / 363.6 MB, free: 8.016 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.082e-05/0.1449, allocations: 42.5 kB / 363.7 MB, free: 7.965 MB / 302.1 MB Notification: Performance of pre-optimization done (n=35): time 2.093e-06/0.1449, allocations: 0 / 363.7 MB, free: 7.965 MB / 302.1 MB Notification: Performance of matching and sorting (n=35): time 0.002627/0.1475, allocations: 0.79 MB / 364.5 MB, free: 7.125 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002544/0.1478, allocations: 448.9 kB / 364.9 MB, free: 6.582 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007956/0.1486, allocations: 454 kB / 365.3 MB, free: 6.125 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.664e-05/0.1487, allocations: 33.7 kB / 365.4 MB, free: 6.086 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002527/0.1489, allocations: 240.4 kB / 365.6 MB, free: 5.848 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001414/0.1491, allocations: 122.2 kB / 365.7 MB, free: 5.727 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.04e-05/0.1492, allocations: 37.7 kB / 365.8 MB, free: 5.684 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001811/0.1494, allocations: 362.7 kB / 366.1 MB, free: 5.32 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006602/0.15, allocations: 163.9 kB / 366.3 MB, free: 5.16 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008399/0.1509, allocations: 302.8 kB / 366.6 MB, free: 4.809 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001314/0.1522, allocations: 385.1 kB / 367 MB, free: 4.422 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.1522, allocations: 0 / 367 MB, free: 4.422 MB / 302.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001764/0.154, allocations: 0.5213 MB / 367.5 MB, free: 3.883 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.331e-05/0.1541, allocations: 33.7 kB / 367.5 MB, free: 3.844 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.889e-06/0.1541, allocations: 0 / 367.5 MB, free: 3.844 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002147/0.1543, allocations: 53.62 kB / 367.6 MB, free: 3.785 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000669/0.155, allocations: 95.88 kB / 367.7 MB, free: 3.691 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00331/0.1584, allocations: 2.744 MB / 370.4 MB, free: 0.6797 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005129/0.1589, allocations: 71.59 kB / 370.5 MB, free: 0.6094 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.486e-05/0.1589, allocations: 12 kB / 370.5 MB, free: 0.5977 MB / 302.1 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.0002369/0.1592, allocations: 173.8 kB / 370.6 MB, free: 428 kB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001023/0.1593, allocations: 55.38 kB / 370.7 MB, free: 372 kB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000102/0.1594, allocations: 48.77 kB / 370.8 MB, free: 324 kB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.037e-06/0.1594, allocations: 8 kB / 370.8 MB, free: 316 kB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.1594, allocations: 0 / 370.8 MB, free: 316 kB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1576/0.317, allocations: 0.7696 MB / 371.5 MB, free: 24.32 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002197/0.3193, allocations: 1.057 MB / 372.6 MB, free: 23.98 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/0.3193, allocations: 3.828 kB / 372.6 MB, free: 23.98 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005064/0.3198, allocations: 101.5 kB / 372.7 MB, free: 23.98 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.626e-06/0.3198, allocations: 1.375 kB / 372.7 MB, free: 23.98 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.962e-05/0.3199, allocations: 5.891 kB / 372.7 MB, free: 23.98 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.192e-06/0.3199, allocations: 2.859 kB / 372.7 MB, free: 23.98 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/0.3199, allocations: 0 / 372.7 MB, free: 23.98 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001601/0.3215, allocations: 0.7232 MB / 373.4 MB, free: 23.85 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002401/0.3218, allocations: 167.2 kB / 373.6 MB, free: 23.75 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.709e-05/0.3219, allocations: 11.14 kB / 373.6 MB, free: 23.75 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004603/0.3223, allocations: 42.59 kB / 373.6 MB, free: 23.75 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.174e-05/0.3224, allocations: 26 kB / 373.7 MB, free: 23.75 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.485e-05/0.3224, allocations: 10.11 kB / 373.7 MB, free: 23.75 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004576/0.3229, allocations: 328.4 kB / 374 MB, free: 23.67 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3229, allocations: 0 / 374 MB, free: 23.67 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005255/0.3234, allocations: 140 kB / 374.1 MB, free: 23.67 MB / 302.1 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 0.0001307/0.3236, allocations: 109.6 kB / 374.2 MB, free: 23.58 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00147/0.3251, allocations: 0.6804 MB / 374.9 MB, free: 23.29 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.951e-06/0.3251, allocations: 3.234 kB / 374.9 MB, free: 23.29 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004738/0.3256, allocations: 202.8 kB / 375.1 MB, free: 23.29 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008268/0.3264, allocations: 136.8 kB / 375.3 MB, free: 23.29 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001692/0.3281, allocations: 1.186 MB / 376.4 MB, free: 22.62 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002851/0.3284, allocations: 0.8247 MB / 377.3 MB, free: 21.92 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001598/0.3286, allocations: 47.66 kB / 377.3 MB, free: 21.91 MB / 302.1 MB Notification: Performance of SimCode: time 5.71e-07/0.3286, allocations: 0 / 377.3 MB, free: 21.91 MB / 302.1 MB Notification: Performance of Templates: time 0.01472/0.3433, allocations: 8.829 MB / 386.1 MB, free: 19.06 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.makefile (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.sim & ./Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/OneMass/OneMass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches