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.001069/0.001069, allocations: 116.1 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.001106/0.001106, allocations: 202 kB / 18.73 MB, free: 4.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.323/1.323, allocations: 227.4 MB / 246.9 MB, free: 10.55 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001119/0.001119, allocations: 59.91 kB / 358.7 MB, free: 12.97 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2268/0.228, allocations: 50.54 MB / 409.2 MB, free: 1.648 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.004056/0.232, allocations: 3.507 MB / 412.7 MB, free: 14.13 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001432/0.2335, allocations: 0.9774 MB / 413.7 MB, free: 13.14 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001469/0.2336, allocations: 8 kB / 413.7 MB, free: 13.14 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002725/0.2339, allocations: 103.1 kB / 413.8 MB, free: 13.04 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003323/0.2343, allocations: 194.4 kB / 414 MB, free: 12.84 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002378/0.2345, allocations: 123.8 kB / 414.1 MB, free: 12.72 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005845/0.2351, allocations: 0.6339 MB / 414.8 MB, free: 12.09 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002627/0.2354, allocations: 198.5 kB / 415 MB, free: 11.89 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002123/0.2356, allocations: 243.1 kB / 415.2 MB, free: 11.65 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002869/0.2359, allocations: 274.8 kB / 415.5 MB, free: 11.38 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.583e-05/0.236, allocations: 52 kB / 415.5 MB, free: 11.33 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.701e-05/0.2361, allocations: 56 kB / 415.6 MB, free: 11.27 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.483e-05/0.2362, allocations: 119.6 kB / 415.7 MB, free: 11.16 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002589/0.2364, allocations: 298.6 kB / 416 MB, free: 10.86 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005367/0.237, allocations: 0.6399 MB / 416.6 MB, free: 10.22 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.237, allocations: 0 / 416.6 MB, free: 10.22 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.237, allocations: 0 / 416.6 MB, free: 10.22 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.404e-06/0.237, allocations: 0 / 416.6 MB, free: 10.22 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.001217/0.2382, allocations: 0.8428 MB / 417.5 MB, free: 9.324 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.185e-05/0.2383, allocations: 8.031 kB / 417.5 MB, free: 9.316 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001075/0.2384, allocations: 60.28 kB / 417.5 MB, free: 9.258 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005229/0.2389, allocations: 398.6 kB / 417.9 MB, free: 8.832 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.739e-05/0.239, allocations: 62.91 kB / 418 MB, free: 8.766 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.152e-05/0.2391, allocations: 28.38 kB / 418 MB, free: 8.738 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006352/0.2397, allocations: 461.1 kB / 418.5 MB, free: 8.234 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.327e-05/0.2397, allocations: 0 / 418.5 MB, free: 8.234 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.681e-05/0.2398, allocations: 15.98 kB / 418.5 MB, free: 8.219 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.097e-06/0.2398, allocations: 8 kB / 418.5 MB, free: 8.211 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005242/0.2403, allocations: 274.5 kB / 418.8 MB, free: 7.945 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.00189/0.2422, allocations: 1.302 MB / 420.1 MB, free: 6.551 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001093/0.2433, allocations: 435.5 kB / 420.5 MB, free: 6.098 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002563/0.2436, allocations: 145.5 kB / 420.6 MB, free: 5.953 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.566e-05/0.2437, allocations: 7.984 kB / 420.6 MB, free: 5.945 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.415e-05/0.2437, allocations: 42.56 kB / 420.7 MB, free: 5.895 MB / 334.1 MB Notification: Performance of pre-optimization done (n=32): time 1.462e-06/0.2437, allocations: 0 / 420.7 MB, free: 5.895 MB / 334.1 MB Notification: Performance of matching and sorting (n=32): time 0.001071/0.2448, allocations: 0.6023 MB / 421.3 MB, free: 5.242 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001706/0.2449, allocations: 452.9 kB / 421.7 MB, free: 4.695 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004643/0.2454, allocations: 457.8 kB / 422.2 MB, free: 4.234 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.264e-05/0.2455, allocations: 29.7 kB / 422.2 MB, free: 4.199 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001547/0.2456, allocations: 232.5 kB / 422.4 MB, free: 3.969 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.398e-05/0.2457, allocations: 110.4 kB / 422.5 MB, free: 3.859 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001256/0.2458, allocations: 81.92 kB / 422.6 MB, free: 3.77 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001256/0.246, allocations: 350.8 kB / 422.9 MB, free: 3.418 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002236/0.2462, allocations: 108.6 kB / 423.1 MB, free: 3.312 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003443/0.2466, allocations: 256 kB / 423.3 MB, free: 3.012 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00047/0.247, allocations: 285.2 kB / 423.6 MB, free: 2.723 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.247, allocations: 0 / 423.6 MB, free: 2.723 MB / 334.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0006947/0.2477, allocations: 412.3 kB / 424 MB, free: 2.301 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.889e-05/0.2478, allocations: 29.7 kB / 424 MB, free: 2.266 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.2478, allocations: 0 / 424 MB, free: 2.266 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001538/0.248, allocations: 57.72 kB / 424.1 MB, free: 2.203 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003148/0.2483, allocations: 71.89 kB / 424.1 MB, free: 2.133 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002281/0.2506, allocations: 2.964 MB / 427.1 MB, free: 14.88 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003181/0.2509, allocations: 39.72 kB / 427.1 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.899e-05/0.2509, allocations: 12 kB / 427.2 MB, free: 14.83 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.0001807/0.2511, allocations: 165.8 kB / 427.3 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.997e-05/0.2512, allocations: 51.44 kB / 427.4 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.554e-05/0.2513, allocations: 48.7 kB / 427.4 MB, free: 14.56 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.2513, allocations: 4 kB / 427.4 MB, free: 14.56 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.2513, allocations: 3.938 kB / 427.4 MB, free: 14.55 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006379/0.252, allocations: 0.6495 MB / 428.1 MB, free: 13.8 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001198/0.2532, allocations: 0.897 MB / 429 MB, free: 12.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.2532, allocations: 3.938 kB / 429 MB, free: 12.84 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003407/0.2535, allocations: 75.89 kB / 429 MB, free: 12.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.569e-06/0.2536, allocations: 4 kB / 429.1 MB, free: 12.76 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.284e-05/0.2536, allocations: 11.94 kB / 429.1 MB, free: 12.75 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.427e-06/0.2536, allocations: 4 kB / 429.1 MB, free: 12.75 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.2536, allocations: 3.984 kB / 429.1 MB, free: 12.74 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000783/0.2544, allocations: 0.5087 MB / 429.6 MB, free: 12.22 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001724/0.2546, allocations: 172.4 kB / 429.7 MB, free: 12.03 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.729e-05/0.2546, allocations: 8 kB / 429.8 MB, free: 12.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003038/0.255, allocations: 23.92 kB / 429.8 MB, free: 12 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.13e-05/0.255, allocations: 15.97 kB / 429.8 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.008e-05/0.255, allocations: 12 kB / 429.8 MB, free: 11.97 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000319/0.2554, allocations: 315.1 kB / 430.1 MB, free: 11.67 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2554, allocations: 0 / 430.1 MB, free: 11.67 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004071/0.2558, allocations: 131.8 kB / 430.2 MB, free: 11.54 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.0001145/0.2559, allocations: 115.2 kB / 430.4 MB, free: 11.42 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008337/0.2567, allocations: 0.5594 MB / 430.9 MB, free: 10.82 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.2568, allocations: 0 / 430.9 MB, free: 10.82 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002342/0.257, allocations: 123.9 kB / 431 MB, free: 10.7 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005994/0.2576, allocations: 147.8 kB / 431.2 MB, free: 10.55 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001355/0.259, allocations: 0.8736 MB / 432.1 MB, free: 9.648 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003389/0.2593, allocations: 0.8159 MB / 432.9 MB, free: 8.805 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002052/0.2595, allocations: 60.36 kB / 432.9 MB, free: 8.746 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.926e-05/0.2596, allocations: 39.44 kB / 433 MB, free: 8.707 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.2596, allocations: 0 / 433 MB, free: 8.707 MB / 350.1 MB Notification: Performance of Templates: time 0.01287/0.2725, allocations: 8.187 MB / 441.2 MB, free: 0.6641 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