Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.conf.json 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001734/0.001733, allocations: 188.9 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.265/1.265, allocations: 222.9 MB / 240.9 MB, free: 10.99 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001062/0.001062, allocations: 109.8 kB / 291.2 MB, free: 10.94 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008077/0.0008078, allocations: 43.94 kB / 350 MB, free: 80 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.209/0.2099, allocations: 49.43 MB / 399.5 MB, free: 33.36 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.003372/0.2133, allocations: 3.523 MB / 403 MB, free: 29.83 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001153/0.2145, allocations: 0.9389 MB / 403.9 MB, free: 28.89 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000163/0.2146, allocations: 7.938 kB / 403.9 MB, free: 28.88 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002908/0.2149, allocations: 83.44 kB / 404 MB, free: 28.8 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002909/0.2152, allocations: 162.7 kB / 404.2 MB, free: 28.64 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002003/0.2155, allocations: 111.8 kB / 404.3 MB, free: 28.53 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004025/0.2159, allocations: 0.6146 MB / 404.9 MB, free: 27.91 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002002/0.2161, allocations: 176.5 kB / 405.1 MB, free: 27.74 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001479/0.2162, allocations: 227.1 kB / 405.3 MB, free: 27.52 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002108/0.2164, allocations: 254.9 kB / 405.5 MB, free: 27.27 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.124e-05/0.2165, allocations: 40 kB / 405.6 MB, free: 27.23 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.678e-05/0.2166, allocations: 40 kB / 405.6 MB, free: 27.19 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.461e-05/0.2167, allocations: 107.5 kB / 405.7 MB, free: 27.08 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000177/0.2169, allocations: 274.7 kB / 406 MB, free: 26.81 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003722/0.2172, allocations: 0.6267 MB / 406.6 MB, free: 26.18 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.2172, allocations: 4 kB / 406.6 MB, free: 26.18 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.42e-07/0.2173, allocations: 4 kB / 406.6 MB, free: 26.18 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.052e-05/0.2173, allocations: 0 / 406.6 MB, free: 26.18 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: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.001075/0.2183, allocations: 0.8312 MB / 407.5 MB, free: 25.29 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.18e-05/0.2184, allocations: 12.03 kB / 407.5 MB, free: 25.27 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.719e-05/0.2185, allocations: 64.19 kB / 407.5 MB, free: 25.21 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004064/0.2189, allocations: 386.8 kB / 407.9 MB, free: 24.79 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.116e-05/0.219, allocations: 58.91 kB / 408 MB, free: 24.73 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.372e-05/0.219, allocations: 44.22 kB / 408 MB, free: 24.69 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005211/0.2196, allocations: 453.1 kB / 408.5 MB, free: 24.19 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.512e-05/0.2196, allocations: 0 / 408.5 MB, free: 24.19 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.302e-05/0.2196, allocations: 27.98 kB / 408.5 MB, free: 24.16 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.2196, allocations: 11.94 kB / 408.5 MB, free: 24.15 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004657/0.2201, allocations: 278.4 kB / 408.8 MB, free: 23.88 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.001577/0.2217, allocations: 1.29 MB / 410.1 MB, free: 22.5 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001011/0.2227, allocations: 438.1 kB / 410.5 MB, free: 22.04 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002408/0.223, allocations: 140.8 kB / 410.6 MB, free: 21.9 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.461e-05/0.223, allocations: 11.98 kB / 410.6 MB, free: 21.89 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.865e-05/0.223, allocations: 38.5 kB / 410.7 MB, free: 21.84 MB / 298.7 MB Notification: Performance of pre-optimization done (n=32): time 1.964e-06/0.2231, allocations: 4 kB / 410.7 MB, free: 21.84 MB / 298.7 MB Notification: Performance of matching and sorting (n=32): time 0.0009552/0.224, allocations: 0.6037 MB / 411.3 MB, free: 21.19 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.388e-05/0.2241, allocations: 452.9 kB / 411.7 MB, free: 20.64 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003537/0.2245, allocations: 453.9 kB / 412.2 MB, free: 20.18 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.518e-05/0.2245, allocations: 33.7 kB / 412.2 MB, free: 20.14 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001045/0.2246, allocations: 228.5 kB / 412.4 MB, free: 19.92 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.55e-05/0.2247, allocations: 110.4 kB / 412.5 MB, free: 19.81 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001051/0.2248, allocations: 81.92 kB / 412.6 MB, free: 19.72 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.349e-05/0.2249, allocations: 354.8 kB / 413 MB, free: 19.37 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001983/0.2251, allocations: 108.6 kB / 413.1 MB, free: 19.26 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002673/0.2253, allocations: 256 kB / 413.3 MB, free: 18.96 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003972/0.2257, allocations: 276.9 kB / 413.6 MB, free: 18.68 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.2258, allocations: 0 / 413.6 MB, free: 18.68 MB / 298.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0005739/0.2263, allocations: 412.3 kB / 414 MB, free: 18.26 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.614e-05/0.2264, allocations: 33.73 kB / 414 MB, free: 18.22 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.2264, allocations: 8 kB / 414 MB, free: 18.21 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001402/0.2265, allocations: 45.69 kB / 414.1 MB, free: 18.16 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003132/0.2269, allocations: 67.91 kB / 414.1 MB, free: 18.09 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001521/0.2284, allocations: 2.752 MB / 416.9 MB, free: 15.07 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000348/0.2287, allocations: 39.72 kB / 416.9 MB, free: 15.03 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.601e-05/0.2288, allocations: 15.98 kB / 416.9 MB, free: 15.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 (36): * Single equations (assignments): 33 * 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.0001476/0.2289, allocations: 169.7 kB / 417.1 MB, free: 14.84 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.904e-05/0.229, allocations: 47.44 kB / 417.2 MB, free: 14.79 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.36e-05/0.2291, allocations: 60.62 kB / 417.2 MB, free: 14.73 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.736e-06/0.2291, allocations: 8 kB / 417.2 MB, free: 14.73 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.275e-06/0.2291, allocations: 0 / 417.2 MB, free: 14.73 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000481/0.2296, allocations: 0.6456 MB / 417.9 MB, free: 13.98 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009872/0.2306, allocations: 0.899 MB / 418.8 MB, free: 13.02 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.2306, allocations: 0 / 418.8 MB, free: 13.02 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003274/0.231, allocations: 71.91 kB / 418.8 MB, free: 12.95 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.231, allocations: 0 / 418.8 MB, free: 12.95 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.176e-05/0.231, allocations: 11.98 kB / 418.9 MB, free: 12.93 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-06/0.231, allocations: 0 / 418.9 MB, free: 12.93 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.231, allocations: 0 / 418.9 MB, free: 12.93 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003051/0.2341, allocations: 2.622 MB / 421.5 MB, free: 10.18 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001405/0.2342, allocations: 168.4 kB / 421.6 MB, free: 9.992 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.399e-05/0.2343, allocations: 8 kB / 421.6 MB, free: 9.984 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003075/0.2346, allocations: 19.98 kB / 421.7 MB, free: 9.965 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.958e-05/0.2347, allocations: 19.98 kB / 421.7 MB, free: 9.945 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.774e-05/0.2347, allocations: 15.98 kB / 421.7 MB, free: 9.93 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002653/0.235, allocations: 315.1 kB / 422 MB, free: 9.621 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.235, allocations: 0 / 422 MB, free: 9.621 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005277/0.2355, allocations: 187.8 kB / 422.2 MB, free: 9.438 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 (32): * Single equations (assignments): 32 * 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 9.687e-05/0.2356, allocations: 103.2 kB / 422.3 MB, free: 9.324 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007103/0.2363, allocations: 0.5671 MB / 422.9 MB, free: 8.719 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.2363, allocations: 0 / 422.9 MB, free: 8.719 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002013/0.2365, allocations: 123.9 kB / 423 MB, free: 8.598 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006506/0.2372, allocations: 129.8 kB / 423.1 MB, free: 8.473 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001394/0.2386, allocations: 1.25 MB / 424.4 MB, free: 7.191 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002469/0.2389, allocations: 0.8277 MB / 425.2 MB, free: 6.336 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002644/0.2391, allocations: 68.33 kB / 425.3 MB, free: 6.266 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001112/0.2393, allocations: 47.44 kB / 425.3 MB, free: 6.219 MB / 298.7 MB Notification: Performance of SimCode: time 3.4e-07/0.2393, allocations: 0 / 425.3 MB, free: 6.219 MB / 298.7 MB Notification: Performance of Templates: time 0.01194/0.2512, allocations: 8.405 MB / 433.7 MB, free: 13.95 MB / 314.7 MB make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.makefile (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.sim & ./Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/SimpleCooling/SimpleCooling.csv","../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches