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.001045/0.001045, allocations: 102.7 kB / 17 MB, free: 6.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001446/0.001446, allocations: 199.8 kB / 17.91 MB, free: 6.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.317/1.317, allocations: 227.7 MB / 246.4 MB, free: 9.793 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0001957/0.0001958, allocations: 8 kB / 307.1 MB, free: 0.9648 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.083/0.08321, allocations: 51.52 MB / 358.6 MB, free: 13.45 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.00288/0.08612, allocations: 3.015 MB / 361.6 MB, free: 10.42 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001131/0.08726, allocations: 0.8727 MB / 362.5 MB, free: 9.543 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001345/0.08741, allocations: 4 kB / 362.5 MB, free: 9.539 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002031/0.08762, allocations: 71.45 kB / 362.6 MB, free: 9.469 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002913/0.08792, allocations: 170.7 kB / 362.7 MB, free: 9.301 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000191/0.08812, allocations: 91.91 kB / 362.8 MB, free: 9.211 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005023/0.08863, allocations: 0.5633 MB / 363.4 MB, free: 8.648 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000227/0.08887, allocations: 162.3 kB / 363.6 MB, free: 8.48 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001933/0.08907, allocations: 207.2 kB / 363.8 MB, free: 8.277 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000256/0.08933, allocations: 239 kB / 364 MB, free: 8.043 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.643e-05/0.0894, allocations: 32 kB / 364 MB, free: 8.012 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.183e-05/0.08948, allocations: 36 kB / 364.1 MB, free: 7.977 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.144e-05/0.08956, allocations: 99.64 kB / 364.2 MB, free: 7.879 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001049/0.08967, allocations: 125.4 kB / 364.3 MB, free: 7.75 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003681/0.09005, allocations: 482.9 kB / 364.8 MB, free: 7.277 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.09006, allocations: 0 / 364.8 MB, free: 7.277 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.09007, allocations: 0 / 364.8 MB, free: 7.277 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.442e-06/0.09008, allocations: 4 kB / 364.8 MB, free: 7.273 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: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.001052/0.09114, allocations: 0.761 MB / 365.5 MB, free: 6.453 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.377e-05/0.09118, allocations: 8.031 kB / 365.5 MB, free: 6.445 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.527e-05/0.09128, allocations: 59.34 kB / 365.6 MB, free: 6.387 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004491/0.09174, allocations: 377.7 kB / 365.9 MB, free: 5.98 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.848e-05/0.09184, allocations: 58.34 kB / 366 MB, free: 5.918 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.57e-05/0.0919, allocations: 39.95 kB / 366 MB, free: 5.879 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006406/0.09255, allocations: 456.9 kB / 366.5 MB, free: 5.383 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.336e-05/0.09257, allocations: 3.938 kB / 366.5 MB, free: 5.379 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.537e-05/0.09261, allocations: 16 kB / 366.5 MB, free: 5.363 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.031e-05/0.09263, allocations: 11.98 kB / 366.5 MB, free: 5.352 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005345/0.09317, allocations: 290.5 kB / 366.8 MB, free: 5.066 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.001842/0.09502, allocations: 1.294 MB / 368.1 MB, free: 3.68 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001085/0.09612, allocations: 431.1 kB / 368.5 MB, free: 3.23 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002664/0.0964, allocations: 152.8 kB / 368.7 MB, free: 3.078 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.376e-05/0.09644, allocations: 4 kB / 368.7 MB, free: 3.074 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.82e-05/0.09648, allocations: 38.56 kB / 368.7 MB, free: 3.027 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 1.493e-06/0.09648, allocations: 3.938 kB / 368.7 MB, free: 3.023 MB / 302.1 MB Notification: Performance of matching and sorting (n=32): time 0.0011/0.09759, allocations: 0.6154 MB / 369.3 MB, free: 2.359 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001887/0.09779, allocations: 448.9 kB / 369.8 MB, free: 1.816 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004818/0.09828, allocations: 442.1 kB / 370.2 MB, free: 1.375 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.665e-05/0.09832, allocations: 45.64 kB / 370.2 MB, free: 1.324 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001658/0.0985, allocations: 232.4 kB / 370.5 MB, free: 1.094 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.925e-05/0.09859, allocations: 110.4 kB / 370.6 MB, free: 0.9844 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.965e-05/0.09862, allocations: 8 kB / 370.6 MB, free: 0.9766 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001865/0.09881, allocations: 358.7 kB / 370.9 MB, free: 0.6172 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000239/0.09906, allocations: 112.5 kB / 371 MB, free: 0.5039 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003322/0.0994, allocations: 252.1 kB / 371.3 MB, free: 212 kB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002693/0.09968, allocations: 159.3 kB / 371.5 MB, free: 48 kB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.09969, allocations: 0 / 371.5 MB, free: 48 kB / 302.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.1487/0.2484, allocations: 427.9 kB / 371.9 MB, free: 19.31 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.021e-05/0.2485, allocations: 31.69 kB / 371.9 MB, free: 19.28 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.2485, allocations: 1.938 kB / 371.9 MB, free: 19.28 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001601/0.2487, allocations: 49.05 kB / 372 MB, free: 19.26 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003192/0.249, allocations: 70.67 kB / 372 MB, free: 19.26 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001743/0.2507, allocations: 2.75 MB / 374.8 MB, free: 16.77 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003391/0.2511, allocations: 49.77 kB / 374.8 MB, free: 16.77 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.783e-05/0.2511, allocations: 11.78 kB / 374.8 MB, free: 16.77 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 (36): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {3 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.000194/0.2513, allocations: 172.3 kB / 375 MB, free: 16.65 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.755e-05/0.2514, allocations: 49.78 kB / 375 MB, free: 16.64 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.725e-05/0.2515, allocations: 52.91 kB / 375.1 MB, free: 16.63 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.07e-06/0.2515, allocations: 7.922 kB / 375.1 MB, free: 16.62 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.2515, allocations: 0.7031 kB / 375.1 MB, free: 16.62 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005451/0.2521, allocations: 0.6542 MB / 375.8 MB, free: 16.09 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001185/0.2533, allocations: 0.8982 MB / 376.7 MB, free: 15.7 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.2533, allocations: 4.25 kB / 376.7 MB, free: 15.7 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003514/0.2537, allocations: 74.36 kB / 376.7 MB, free: 15.69 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.087e-06/0.2537, allocations: 1.375 kB / 376.7 MB, free: 15.69 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.112e-05/0.2537, allocations: 9.078 kB / 376.7 MB, free: 15.69 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.2537, allocations: 1.062 kB / 376.7 MB, free: 15.69 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.2537, allocations: 0 / 376.7 MB, free: 15.69 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007475/0.2545, allocations: 0.5281 MB / 377.3 MB, free: 15.4 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001404/0.2546, allocations: 166.8 kB / 377.4 MB, free: 15.25 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.127e-05/0.2547, allocations: 12.11 kB / 377.4 MB, free: 15.25 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002839/0.255, allocations: 17.75 kB / 377.5 MB, free: 15.24 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.679e-05/0.255, allocations: 24.36 kB / 377.5 MB, free: 15.23 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.849e-05/0.2551, allocations: 10.42 kB / 377.5 MB, free: 15.23 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003294/0.2554, allocations: 318.7 kB / 377.8 MB, free: 15.07 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2554, allocations: 0 / 377.8 MB, free: 15.07 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004558/0.2559, allocations: 132.8 kB / 377.9 MB, free: 15.06 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 (32): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001095/0.256, allocations: 101.8 kB / 378 MB, free: 14.97 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000805/0.2568, allocations: 0.5762 MB / 378.6 MB, free: 14.58 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.409e-06/0.2568, allocations: 1.375 kB / 378.6 MB, free: 14.58 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002408/0.2571, allocations: 127.7 kB / 378.7 MB, free: 14.54 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006797/0.2577, allocations: 134.6 kB / 378.9 MB, free: 14.49 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001497/0.2592, allocations: 1.058 MB / 379.9 MB, free: 13.86 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003082/0.2596, allocations: 0.8141 MB / 380.7 MB, free: 13.15 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002583/0.2598, allocations: 63.44 kB / 380.8 MB, free: 13.13 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001055/0.2599, allocations: 40 kB / 380.8 MB, free: 13.12 MB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.26, allocations: 0 / 380.8 MB, free: 13.12 MB / 302.1 MB Notification: Performance of Templates: time 0.01186/0.2718, allocations: 7.293 MB / 388.1 MB, free: 11.41 MB / 302.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