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.001075/0.001075, allocations: 96.91 kB / 16.99 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001463/0.001463, allocations: 198 kB / 17.9 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.306/1.306, allocations: 227.2 MB / 245.9 MB, free: 10.35 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002079/0.0002079, allocations: 4 kB / 306.6 MB, free: 1.449 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08412/0.08434, allocations: 51.49 MB / 358.1 MB, free: 13.96 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.002838/0.08721, allocations: 2.77 MB / 360.8 MB, free: 11.18 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00124/0.08847, allocations: 0.9158 MB / 361.7 MB, free: 10.25 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001385/0.08862, allocations: 4 kB / 361.8 MB, free: 10.25 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001727/0.08881, allocations: 71.5 kB / 361.8 MB, free: 10.18 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003166/0.08913, allocations: 199.4 kB / 362 MB, free: 9.984 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000196/0.08934, allocations: 95.83 kB / 362.1 MB, free: 9.891 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005004/0.08985, allocations: 447.2 kB / 362.5 MB, free: 9.453 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002167/0.09007, allocations: 150.3 kB / 362.7 MB, free: 9.297 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001853/0.09027, allocations: 199.3 kB / 362.9 MB, free: 9.102 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002562/0.09053, allocations: 235 kB / 363.1 MB, free: 8.871 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.236e-05/0.09059, allocations: 28 kB / 363.1 MB, free: 8.844 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.493e-05/0.09067, allocations: 32 kB / 363.2 MB, free: 8.812 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.139e-05/0.09076, allocations: 91.66 kB / 363.3 MB, free: 8.723 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.889e-05/0.09086, allocations: 125.4 kB / 363.4 MB, free: 8.594 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003659/0.09124, allocations: 458.9 kB / 363.8 MB, free: 8.145 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.813e-06/0.09125, allocations: 0 / 363.8 MB, free: 8.145 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.41e-07/0.09125, allocations: 0 / 363.8 MB, free: 8.145 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.583e-06/0.09126, allocations: 0 / 363.8 MB, free: 8.145 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.001108/0.09238, allocations: 0.7493 MB / 364.6 MB, free: 7.336 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.412e-05/0.09242, allocations: 12.03 kB / 364.6 MB, free: 7.324 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.628e-05/0.09252, allocations: 63.34 kB / 364.7 MB, free: 7.262 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004437/0.09297, allocations: 353.7 kB / 365 MB, free: 6.879 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.135e-05/0.09307, allocations: 58.3 kB / 365.1 MB, free: 6.816 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.47e-05/0.09314, allocations: 40 kB / 365.1 MB, free: 6.777 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000655/0.0938, allocations: 452.9 kB / 365.5 MB, free: 6.285 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/0.09382, allocations: 4 kB / 365.5 MB, free: 6.281 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.9e-05/0.09387, allocations: 19.94 kB / 365.6 MB, free: 6.262 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.936e-06/0.09388, allocations: 8 kB / 365.6 MB, free: 6.254 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005311/0.09442, allocations: 286.5 kB / 365.9 MB, free: 5.973 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.001871/0.0963, allocations: 1.263 MB / 367.1 MB, free: 4.617 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001083/0.09739, allocations: 436.5 kB / 367.5 MB, free: 4.16 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.289e-05/0.09743, allocations: 7.984 kB / 367.6 MB, free: 4.152 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.485e-05/0.09746, allocations: 42.5 kB / 367.6 MB, free: 4.102 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 1.913e-06/0.09747, allocations: 0 / 367.6 MB, free: 4.102 MB / 302.1 MB Notification: Performance of matching and sorting (n=32): time 0.001077/0.09856, allocations: 0.612 MB / 368.2 MB, free: 3.441 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001714/0.09874, allocations: 453 kB / 368.6 MB, free: 2.895 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004201/0.09917, allocations: 417.9 kB / 369.1 MB, free: 2.477 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.798e-05/0.09921, allocations: 37.7 kB / 369.1 MB, free: 2.434 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001575/0.09938, allocations: 232.3 kB / 369.3 MB, free: 2.203 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.543e-05/0.09947, allocations: 110.4 kB / 369.4 MB, free: 2.094 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.762e-05/0.09949, allocations: 8.094 kB / 369.4 MB, free: 2.086 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000124/0.09962, allocations: 358.7 kB / 369.8 MB, free: 1.727 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002394/0.09987, allocations: 112.6 kB / 369.9 MB, free: 1.613 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003442/0.1002, allocations: 256.1 kB / 370.1 MB, free: 1.312 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002685/0.1005, allocations: 155.2 kB / 370.3 MB, free: 1.156 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.1005, allocations: 0 / 370.3 MB, free: 1.156 MB / 302.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0006943/0.1012, allocations: 436.9 kB / 370.7 MB, free: 0.7109 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.014e-05/0.1013, allocations: 29.7 kB / 370.8 MB, free: 0.6758 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.1013, allocations: 0 / 370.8 MB, free: 0.6758 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000142/0.1014, allocations: 57.72 kB / 370.8 MB, free: 0.6133 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000305/0.1017, allocations: 71.89 kB / 370.9 MB, free: 0.543 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.151/0.2528, allocations: 2.757 MB / 373.6 MB, free: 16.96 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004561/0.2532, allocations: 47.62 kB / 373.7 MB, free: 16.96 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.862e-05/0.2533, allocations: 16.33 kB / 373.7 MB, free: 16.96 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.0001863/0.2535, allocations: 164.6 kB / 373.9 MB, free: 16.85 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.584e-05/0.2536, allocations: 54.14 kB / 373.9 MB, free: 16.84 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.786e-05/0.2537, allocations: 56.44 kB / 374 MB, free: 16.84 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.237e-06/0.2537, allocations: 4.641 kB / 374 MB, free: 16.84 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.015e-06/0.2537, allocations: 0 / 374 MB, free: 16.84 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005788/0.2543, allocations: 0.6549 MB / 374.6 MB, free: 16.3 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001223/0.2555, allocations: 0.886 MB / 375.5 MB, free: 15.97 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.2555, allocations: 0 / 375.5 MB, free: 15.97 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000334/0.2559, allocations: 67.45 kB / 375.6 MB, free: 15.97 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.2559, allocations: 0.875 kB / 375.6 MB, free: 15.97 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.531e-05/0.2559, allocations: 8.156 kB / 375.6 MB, free: 15.97 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.2559, allocations: 6.062 kB / 375.6 MB, free: 15.97 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.2559, allocations: 1.469 kB / 375.6 MB, free: 15.97 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009183/0.2568, allocations: 0.5288 MB / 376.1 MB, free: 15.8 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001652/0.257, allocations: 162 kB / 376.3 MB, free: 15.69 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.672e-05/0.2571, allocations: 10.09 kB / 376.3 MB, free: 15.69 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003101/0.2574, allocations: 19.69 kB / 376.3 MB, free: 15.69 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.316e-05/0.2575, allocations: 19.92 kB / 376.3 MB, free: 15.69 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.67e-05/0.2575, allocations: 7.219 kB / 376.3 MB, free: 15.69 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003107/0.2578, allocations: 295.3 kB / 376.6 MB, free: 15.6 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.2578, allocations: 0 / 376.6 MB, free: 15.6 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004473/0.2583, allocations: 129.5 kB / 376.8 MB, free: 15.6 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.0001055/0.2584, allocations: 112.4 kB / 376.9 MB, free: 15.51 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008235/0.2592, allocations: 0.5718 MB / 377.4 MB, free: 15.21 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.2592, allocations: 1.031 kB / 377.4 MB, free: 15.21 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002334/0.2595, allocations: 132 kB / 377.6 MB, free: 15.2 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005307/0.26, allocations: 118.1 kB / 377.7 MB, free: 15.19 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001317/0.2613, allocations: 1.051 MB / 378.7 MB, free: 14.58 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002282/0.2616, allocations: 0.8298 MB / 379.6 MB, free: 13.87 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002211/0.2618, allocations: 55.5 kB / 379.6 MB, free: 13.85 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.943e-05/0.2619, allocations: 35.56 kB / 379.6 MB, free: 13.84 MB / 302.1 MB Notification: Performance of SimCode: time 3.6e-07/0.2619, allocations: 3.938 kB / 379.7 MB, free: 13.84 MB / 302.1 MB Notification: Performance of Templates: time 0.01149/0.2734, allocations: 6.908 MB / 386.6 MB, free: 12.39 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","../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches