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.001012/0.001013, allocations: 114.2 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001054/0.001054, allocations: 206 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.294/1.294, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001081/0.001081, allocations: 59.91 kB / 358.7 MB, free: 12.96 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2276/0.2287, allocations: 50.55 MB / 409.2 MB, free: 1.492 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.004309/0.233, allocations: 3.506 MB / 412.7 MB, free: 13.98 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001637/0.2347, allocations: 0.9696 MB / 413.7 MB, free: 13 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002493/0.2349, allocations: 8 kB / 413.7 MB, free: 12.99 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003361/0.2353, allocations: 107.1 kB / 413.8 MB, free: 12.89 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004234/0.2357, allocations: 186.4 kB / 414 MB, free: 12.7 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002809/0.236, allocations: 119.8 kB / 414.1 MB, free: 12.59 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000718/0.2368, allocations: 0.638 MB / 414.8 MB, free: 11.95 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002786/0.237, allocations: 198.8 kB / 415 MB, free: 11.74 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002619/0.2373, allocations: 239.1 kB / 415.2 MB, free: 11.5 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003467/0.2377, allocations: 270.8 kB / 415.5 MB, free: 11.24 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.184e-05/0.2378, allocations: 56 kB / 415.5 MB, free: 11.18 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001013/0.2379, allocations: 56 kB / 415.6 MB, free: 11.13 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001003/0.238, allocations: 115.6 kB / 415.7 MB, free: 11.02 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002667/0.2383, allocations: 294.6 kB / 416 MB, free: 10.73 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000612/0.2389, allocations: 0.6498 MB / 416.6 MB, free: 10.07 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.2389, allocations: 0 / 416.6 MB, free: 10.07 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.2389, allocations: 0 / 416.6 MB, free: 10.07 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.735e-05/0.2389, allocations: 0 / 416.6 MB, free: 10.07 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.001309/0.2402, allocations: 0.8541 MB / 417.5 MB, free: 9.164 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.468e-05/0.2403, allocations: 8.031 kB / 417.5 MB, free: 9.156 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001173/0.2404, allocations: 64.56 kB / 417.5 MB, free: 9.094 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005425/0.2409, allocations: 403 kB / 417.9 MB, free: 8.664 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.885e-05/0.2411, allocations: 66.8 kB / 418 MB, free: 8.594 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.089e-05/0.2411, allocations: 32.38 kB / 418 MB, free: 8.562 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006881/0.2418, allocations: 457.1 kB / 418.5 MB, free: 8.062 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.426e-05/0.2418, allocations: 0 / 418.5 MB, free: 8.062 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.761e-05/0.2419, allocations: 16 kB / 418.5 MB, free: 8.047 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.809e-06/0.2419, allocations: 8 kB / 418.5 MB, free: 8.039 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000544/0.2425, allocations: 286.4 kB / 418.8 MB, free: 7.762 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.001907/0.2444, allocations: 1.295 MB / 420.1 MB, free: 6.375 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001125/0.2455, allocations: 441.5 kB / 420.5 MB, free: 5.918 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003155/0.2458, allocations: 136.8 kB / 420.6 MB, free: 5.781 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.546e-05/0.2459, allocations: 7.984 kB / 420.6 MB, free: 5.773 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.464e-05/0.2459, allocations: 42.56 kB / 420.7 MB, free: 5.723 MB / 334.1 MB Notification: Performance of pre-optimization done (n=32): time 1.402e-06/0.2459, allocations: 0 / 420.7 MB, free: 5.723 MB / 334.1 MB Notification: Performance of matching and sorting (n=32): time 0.001088/0.247, allocations: 0.607 MB / 421.3 MB, free: 5.066 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001694/0.2472, allocations: 453 kB / 421.7 MB, free: 4.52 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000464/0.2477, allocations: 453.9 kB / 422.2 MB, free: 4.062 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.162e-05/0.2477, allocations: 29.7 kB / 422.2 MB, free: 4.027 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001673/0.2479, allocations: 232.7 kB / 422.4 MB, free: 3.797 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.051e-05/0.248, allocations: 119 kB / 422.6 MB, free: 3.68 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001302/0.2481, allocations: 77.98 kB / 422.6 MB, free: 3.594 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001279/0.2482, allocations: 354.8 kB / 423 MB, free: 3.238 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002426/0.2485, allocations: 104.6 kB / 423.1 MB, free: 3.137 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003547/0.2489, allocations: 256 kB / 423.3 MB, free: 2.836 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004799/0.2493, allocations: 281.2 kB / 423.6 MB, free: 2.551 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.2494, allocations: 0 / 423.6 MB, free: 2.551 MB / 334.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0006959/0.2501, allocations: 420.6 kB / 424 MB, free: 2.121 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.731e-05/0.2501, allocations: 29.7 kB / 424 MB, free: 2.086 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.2501, allocations: 0 / 424 MB, free: 2.086 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001673/0.2503, allocations: 53.72 kB / 424.1 MB, free: 2.027 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003005/0.2506, allocations: 71.89 kB / 424.2 MB, free: 1.957 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002349/0.253, allocations: 2.972 MB / 427.1 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003212/0.2533, allocations: 39.81 kB / 427.2 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.805e-05/0.2533, allocations: 12 kB / 427.2 MB, free: 14.65 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.0001707/0.2535, allocations: 162 kB / 427.3 MB, free: 14.48 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.355e-05/0.2536, allocations: 59.67 kB / 427.4 MB, free: 14.42 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.738e-05/0.2537, allocations: 52.67 kB / 427.5 MB, free: 14.37 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.2537, allocations: 4 kB / 427.5 MB, free: 14.37 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/0.2537, allocations: 3.938 kB / 427.5 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006206/0.2543, allocations: 0.6454 MB / 428.1 MB, free: 13.61 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001235/0.2556, allocations: 0.8972 MB / 429 MB, free: 12.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.621e-06/0.2556, allocations: 11.88 kB / 429 MB, free: 12.64 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003367/0.256, allocations: 75.83 kB / 429.1 MB, free: 12.57 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-06/0.256, allocations: 4 kB / 429.1 MB, free: 12.57 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.342e-05/0.256, allocations: 4 kB / 429.1 MB, free: 12.56 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.256, allocations: 4 kB / 429.1 MB, free: 12.56 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.256, allocations: 0 / 429.1 MB, free: 12.56 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007995/0.2568, allocations: 0.5244 MB / 429.6 MB, free: 12.02 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001716/0.257, allocations: 164.7 kB / 429.8 MB, free: 11.84 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.37e-05/0.2571, allocations: 12 kB / 429.8 MB, free: 11.83 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002984/0.2574, allocations: 12 kB / 429.8 MB, free: 11.82 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.419e-05/0.2574, allocations: 15.97 kB / 429.8 MB, free: 11.8 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.953e-05/0.2575, allocations: 12 kB / 429.8 MB, free: 11.79 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003565/0.2578, allocations: 319.1 kB / 430.2 MB, free: 11.48 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2578, allocations: 0 / 430.2 MB, free: 11.48 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003983/0.2582, allocations: 131.9 kB / 430.3 MB, free: 11.35 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.0001298/0.2584, allocations: 115.2 kB / 430.4 MB, free: 11.23 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008647/0.2592, allocations: 0.5672 MB / 431 MB, free: 10.62 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.2593, allocations: 0 / 431 MB, free: 10.62 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002388/0.2595, allocations: 123.8 kB / 431.1 MB, free: 10.5 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005905/0.2601, allocations: 137.8 kB / 431.2 MB, free: 10.36 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001329/0.2614, allocations: 0.8957 MB / 432.1 MB, free: 9.438 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000316/0.2618, allocations: 0.8159 MB / 432.9 MB, free: 8.594 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002172/0.262, allocations: 64.34 kB / 433 MB, free: 8.531 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001024/0.2621, allocations: 35.44 kB / 433 MB, free: 8.496 MB / 350.1 MB Notification: Performance of SimCode: time 4.1e-07/0.2621, allocations: 4 kB / 433 MB, free: 8.492 MB / 350.1 MB Notification: Performance of Templates: time 0.01362/0.2757, allocations: 8.193 MB / 441.2 MB, free: 460 kB / 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