Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001132/0.001132, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.288/1.288, allocations: 226.8 MB / 245.5 MB, free: 6.973 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009795/0.0009795, allocations: 116.6 kB / 296.7 MB, free: 6.453 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001033/0.001033, allocations: 51.92 kB / 356.6 MB, free: 10.59 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1997/0.2008, allocations: 50.45 MB / 407 MB, free: 27.8 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.00337/0.2042, allocations: 3.704 MB / 410.8 MB, free: 24.1 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001139/0.2053, allocations: 1.017 MB / 411.8 MB, free: 23.08 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001513/0.2055, allocations: 4 kB / 411.8 MB, free: 23.08 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002555/0.2058, allocations: 87.38 kB / 411.9 MB, free: 22.99 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002925/0.2061, allocations: 170.7 kB / 412 MB, free: 22.82 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001876/0.2063, allocations: 103.9 kB / 412.1 MB, free: 22.72 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004344/0.2067, allocations: 0.6613 MB / 412.8 MB, free: 22.06 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002026/0.2069, allocations: 188.2 kB / 413 MB, free: 21.88 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001695/0.2071, allocations: 235.1 kB / 413.2 MB, free: 21.64 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002164/0.2073, allocations: 278.7 kB / 413.5 MB, free: 21.37 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.318e-05/0.2074, allocations: 40 kB / 413.5 MB, free: 21.33 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.974e-05/0.2075, allocations: 44 kB / 413.6 MB, free: 21.29 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.838e-05/0.2076, allocations: 111.5 kB / 413.7 MB, free: 21.18 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001838/0.2078, allocations: 294.6 kB / 414 MB, free: 20.89 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000378/0.2081, allocations: 0.6671 MB / 414.6 MB, free: 20.22 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.2082, allocations: 0 / 414.6 MB, free: 20.22 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.2082, allocations: 0 / 414.6 MB, free: 20.22 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.031e-06/0.2082, allocations: 0 / 414.6 MB, free: 20.22 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.001221/0.2094, allocations: 0.8933 MB / 415.5 MB, free: 19.27 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.335e-05/0.2094, allocations: 12.03 kB / 415.5 MB, free: 19.26 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.238e-05/0.2095, allocations: 60.28 kB / 415.6 MB, free: 19.2 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004983/0.21, allocations: 434.5 kB / 416 MB, free: 18.73 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001839/0.2102, allocations: 82.81 kB / 416.1 MB, free: 18.65 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.779e-05/0.2103, allocations: 40.31 kB / 416.1 MB, free: 18.61 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007101/0.211, allocations: 497.1 kB / 416.6 MB, free: 18.07 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.601e-05/0.211, allocations: 3.906 kB / 416.6 MB, free: 18.07 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.621e-05/0.2111, allocations: 19.94 kB / 416.6 MB, free: 18.05 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/0.2111, allocations: 8 kB / 416.6 MB, free: 18.04 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008235/0.2119, allocations: 366.3 kB / 417 MB, free: 17.68 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.001603/0.2135, allocations: 1.283 MB / 418.3 MB, free: 16.31 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006163/0.2142, allocations: 402.1 kB / 418.7 MB, free: 15.89 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003918/0.2146, allocations: 188.8 kB / 418.9 MB, free: 15.7 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.995e-05/0.2146, allocations: 11.98 kB / 418.9 MB, free: 15.69 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.972e-05/0.2146, allocations: 42.56 kB / 418.9 MB, free: 15.64 MB / 298.7 MB Notification: Performance of pre-optimization done (n=35): time 1.964e-06/0.2147, allocations: 0 / 418.9 MB, free: 15.64 MB / 298.7 MB Notification: Performance of matching and sorting (n=35): time 0.00152/0.2162, allocations: 0.7595 MB / 419.7 MB, free: 14.83 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.127e-05/0.2163, allocations: 448.9 kB / 420.1 MB, free: 14.29 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000363/0.2166, allocations: 458 kB / 420.6 MB, free: 13.83 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.693e-05/0.2167, allocations: 33.7 kB / 420.6 MB, free: 13.79 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001108/0.2168, allocations: 236.4 kB / 420.8 MB, free: 13.55 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.489e-05/0.2169, allocations: 126.2 kB / 420.9 MB, free: 13.43 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001133/0.217, allocations: 77.69 kB / 421 MB, free: 13.35 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.594e-05/0.2171, allocations: 362.7 kB / 421.4 MB, free: 12.98 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003751/0.2174, allocations: 147.9 kB / 421.5 MB, free: 12.84 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004382/0.2179, allocations: 306.5 kB / 421.8 MB, free: 12.49 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007159/0.2186, allocations: 357.2 kB / 422.2 MB, free: 12.13 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.2186, allocations: 0 / 422.2 MB, free: 12.13 MB / 298.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009125/0.2195, allocations: 0.5052 MB / 422.7 MB, free: 11.61 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.794e-05/0.2196, allocations: 33.7 kB / 422.7 MB, free: 11.57 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.2196, allocations: 3.984 kB / 422.7 MB, free: 11.56 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001486/0.2197, allocations: 45.73 kB / 422.8 MB, free: 11.51 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004037/0.2202, allocations: 91.88 kB / 422.8 MB, free: 11.42 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001542/0.2217, allocations: 2.744 MB / 425.6 MB, free: 8.41 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000425/0.2221, allocations: 63.62 kB / 425.7 MB, free: 8.348 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.651e-05/0.2222, allocations: 12 kB / 425.7 MB, free: 8.336 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.0001571/0.2223, allocations: 170.3 kB / 425.8 MB, free: 8.16 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.251e-05/0.2224, allocations: 59.38 kB / 425.9 MB, free: 8.102 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.433e-05/0.2225, allocations: 56.75 kB / 425.9 MB, free: 8.047 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.2225, allocations: 4 kB / 425.9 MB, free: 8.043 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.284e-06/0.2225, allocations: 0 / 425.9 MB, free: 8.043 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008256/0.2234, allocations: 0.7467 MB / 426.7 MB, free: 7.191 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00142/0.2248, allocations: 1.037 MB / 427.7 MB, free: 6.09 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.2248, allocations: 0 / 427.7 MB, free: 6.09 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004219/0.2252, allocations: 99.88 kB / 427.8 MB, free: 5.992 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.035e-06/0.2253, allocations: 7.938 kB / 427.8 MB, free: 5.984 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.274e-05/0.2253, allocations: 7.984 kB / 427.8 MB, free: 5.977 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.2253, allocations: 4 kB / 427.8 MB, free: 5.973 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.2253, allocations: 0 / 427.8 MB, free: 5.973 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005094/0.2304, allocations: 3.253 MB / 431.1 MB, free: 2.582 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001497/0.2306, allocations: 176.3 kB / 431.3 MB, free: 2.391 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.746e-05/0.2306, allocations: 8 kB / 431.3 MB, free: 2.383 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003903/0.231, allocations: 31.91 kB / 431.3 MB, free: 2.352 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.187e-05/0.2311, allocations: 27.95 kB / 431.3 MB, free: 2.324 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.89e-05/0.2311, allocations: 8 kB / 431.3 MB, free: 2.316 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002655/0.2314, allocations: 323.2 kB / 431.7 MB, free: 2 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2314, allocations: 0 / 431.7 MB, free: 2 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005693/0.232, allocations: 195.8 kB / 431.9 MB, free: 1.809 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 0.0001034/0.2321, allocations: 107.2 kB / 432 MB, free: 1.691 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001075/0.2332, allocations: 0.6527 MB / 432.6 MB, free: 1 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.2332, allocations: 64 / 432.6 MB, free: 1 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003958/0.2336, allocations: 188.1 kB / 432.8 MB, free: 0.8164 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006793/0.2343, allocations: 144.5 kB / 432.9 MB, free: 0.6797 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001672/0.236, allocations: 1.323 MB / 434.3 MB, free: 15.32 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00038/0.2364, allocations: 0.8357 MB / 435.1 MB, free: 14.46 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0003306/0.2367, allocations: 68.33 kB / 435.2 MB, free: 14.39 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001419/0.2369, allocations: 51.44 kB / 435.2 MB, free: 14.34 MB / 314.7 MB Notification: Performance of SimCode: time 4.41e-07/0.2369, allocations: 0 / 435.2 MB, free: 14.34 MB / 314.7 MB Notification: Performance of Templates: time 0.01466/0.2515, allocations: 9.243 MB / 444.5 MB, free: 5.23 MB / 314.7 MB make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.makefile (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.sim & ./Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/OneMass/OneMass.csv","../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches