Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001261/0.001261, allocations: 118.2 kB / 17.79 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00156/0.00156, allocations: 197.2 kB / 18.73 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.361/1.361, allocations: 227.4 MB / 246.9 MB, free: 10.54 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001136/0.001136, allocations: 59.91 kB / 358.7 MB, free: 12.96 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2176/0.2188, allocations: 50.54 MB / 409.2 MB, free: 1.77 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.004388/0.2232, allocations: 3.503 MB / 412.7 MB, free: 14.25 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001755/0.225, allocations: 0.9813 MB / 413.7 MB, free: 13.27 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003027/0.2253, allocations: 4 kB / 413.7 MB, free: 13.26 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003648/0.2257, allocations: 107.1 kB / 413.8 MB, free: 13.16 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004689/0.2262, allocations: 190.4 kB / 414 MB, free: 12.97 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003183/0.2265, allocations: 115.8 kB / 414.1 MB, free: 12.86 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007357/0.2272, allocations: 0.6419 MB / 414.8 MB, free: 12.21 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003002/0.2275, allocations: 202.6 kB / 415 MB, free: 12 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002817/0.2278, allocations: 243.1 kB / 415.2 MB, free: 11.77 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003783/0.2282, allocations: 274.8 kB / 415.5 MB, free: 11.5 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.406e-05/0.2283, allocations: 52 kB / 415.5 MB, free: 11.45 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001128/0.2284, allocations: 60 kB / 415.6 MB, free: 11.39 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.221e-05/0.2285, allocations: 115.6 kB / 415.7 MB, free: 11.27 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002723/0.2288, allocations: 298.6 kB / 416 MB, free: 10.98 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000592/0.2294, allocations: 0.636 MB / 416.6 MB, free: 10.34 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.2294, allocations: 4 kB / 416.6 MB, free: 10.34 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.2294, allocations: 0 / 416.6 MB, free: 10.34 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.799e-06/0.2295, allocations: 0 / 416.6 MB, free: 10.34 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: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.001315/0.2308, allocations: 0.8389 MB / 417.5 MB, free: 9.445 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.2308, allocations: 8.031 kB / 417.5 MB, free: 9.438 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001137/0.2309, allocations: 60.28 kB / 417.5 MB, free: 9.379 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005703/0.2315, allocations: 398.7 kB / 417.9 MB, free: 8.953 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.921e-05/0.2316, allocations: 62.91 kB / 418 MB, free: 8.887 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.329e-05/0.2317, allocations: 32.31 kB / 418 MB, free: 8.855 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007087/0.2324, allocations: 465.1 kB / 418.5 MB, free: 8.348 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.2324, allocations: 0 / 418.5 MB, free: 8.348 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.912e-05/0.2325, allocations: 12 kB / 418.5 MB, free: 8.336 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.147e-06/0.2325, allocations: 8 kB / 418.5 MB, free: 8.328 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005619/0.2331, allocations: 282.4 kB / 418.8 MB, free: 8.055 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.002159/0.2352, allocations: 1.286 MB / 420 MB, free: 6.676 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001139/0.2364, allocations: 442.7 kB / 420.5 MB, free: 6.215 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002632/0.2367, allocations: 140.3 kB / 420.6 MB, free: 6.078 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.089e-05/0.2367, allocations: 7.984 kB / 420.6 MB, free: 6.07 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.705e-05/0.2367, allocations: 42.56 kB / 420.7 MB, free: 6.02 MB / 334.1 MB Notification: Performance of pre-optimization done (n=32): time 1.894e-06/0.2367, allocations: 3.938 kB / 420.7 MB, free: 6.016 MB / 334.1 MB Notification: Performance of matching and sorting (n=32): time 0.001135/0.2379, allocations: 0.6029 MB / 421.3 MB, free: 5.363 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001967/0.2381, allocations: 448.9 kB / 421.7 MB, free: 4.82 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004932/0.2386, allocations: 465.8 kB / 422.2 MB, free: 4.352 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.54e-05/0.2386, allocations: 29.7 kB / 422.2 MB, free: 4.316 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001584/0.2388, allocations: 228.5 kB / 422.4 MB, free: 4.09 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.591e-05/0.2389, allocations: 106.4 kB / 422.5 MB, free: 3.984 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001232/0.239, allocations: 81.92 kB / 422.6 MB, free: 3.895 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001356/0.2392, allocations: 350.8 kB / 422.9 MB, free: 3.543 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002346/0.2394, allocations: 108.6 kB / 423 MB, free: 3.438 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003462/0.2398, allocations: 256 kB / 423.3 MB, free: 3.137 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004966/0.2403, allocations: 281.2 kB / 423.6 MB, free: 2.852 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.2403, allocations: 0 / 423.6 MB, free: 2.852 MB / 334.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0007089/0.241, allocations: 412.3 kB / 424 MB, free: 2.43 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.85e-05/0.2411, allocations: 33.78 kB / 424 MB, free: 2.391 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.2411, allocations: 3.938 kB / 424 MB, free: 2.387 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001528/0.2412, allocations: 53.73 kB / 424.1 MB, free: 2.328 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003217/0.2416, allocations: 71.89 kB / 424.1 MB, free: 2.258 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002453/0.244, allocations: 2.968 MB / 427.1 MB, free: 15 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003655/0.2444, allocations: 47.7 kB / 427.1 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.646e-05/0.2444, allocations: 12 kB / 427.2 MB, free: 14.95 MB / 350.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 (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.0001944/0.2446, allocations: 161.8 kB / 427.3 MB, free: 14.78 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.652e-05/0.2447, allocations: 51.44 kB / 427.4 MB, free: 14.73 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.082e-05/0.2448, allocations: 52.69 kB / 427.4 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.245e-06/0.2448, allocations: 4 kB / 427.4 MB, free: 14.67 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.2448, allocations: 3.938 kB / 427.4 MB, free: 14.67 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006505/0.2455, allocations: 0.6454 MB / 428.1 MB, free: 13.92 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001259/0.2468, allocations: 0.897 MB / 429 MB, free: 12.96 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.2468, allocations: 7.938 kB / 429 MB, free: 12.95 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003477/0.2471, allocations: 67.91 kB / 429 MB, free: 12.89 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.2472, allocations: 4 kB / 429 MB, free: 12.88 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.368e-05/0.2472, allocations: 7.984 kB / 429.1 MB, free: 12.88 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.2472, allocations: 4 kB / 429.1 MB, free: 12.87 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.2472, allocations: 0 / 429.1 MB, free: 12.87 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008233/0.248, allocations: 0.5202 MB / 429.6 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001771/0.2482, allocations: 164.4 kB / 429.7 MB, free: 12.16 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.748e-05/0.2483, allocations: 8 kB / 429.7 MB, free: 12.15 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003299/0.2486, allocations: 19.98 kB / 429.8 MB, free: 12.13 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.017e-05/0.2487, allocations: 15.97 kB / 429.8 MB, free: 12.11 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.862e-05/0.2487, allocations: 12 kB / 429.8 MB, free: 12.1 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003485/0.2491, allocations: 315.1 kB / 430.1 MB, free: 11.8 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2491, allocations: 0 / 430.1 MB, free: 11.8 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004216/0.2495, allocations: 131.8 kB / 430.2 MB, free: 11.67 MB / 350.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 (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 0.0001324/0.2496, allocations: 115.4 kB / 430.3 MB, free: 11.55 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008923/0.2505, allocations: 0.5633 MB / 430.9 MB, free: 10.95 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.2506, allocations: 0 / 430.9 MB, free: 10.95 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002483/0.2508, allocations: 127.8 kB / 431 MB, free: 10.82 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006421/0.2515, allocations: 141.8 kB / 431.2 MB, free: 10.68 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001428/0.2529, allocations: 0.8735 MB / 432 MB, free: 9.773 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003733/0.2533, allocations: 0.812 MB / 432.9 MB, free: 8.934 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000216/0.2535, allocations: 64.36 kB / 432.9 MB, free: 8.871 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001031/0.2536, allocations: 43.42 kB / 433 MB, free: 8.828 MB / 350.1 MB Notification: Performance of SimCode: time 4.11e-07/0.2536, allocations: 7.938 kB / 433 MB, free: 8.82 MB / 350.1 MB Notification: Performance of Templates: time 0.01319/0.2668, allocations: 8.183 MB / 441.2 MB, free: 0.7852 MB / 350.1 MB make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.makefile (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.sim & ./Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/SimpleCooling/SimpleCooling.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches