Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.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.IndirectCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=3000,variableFilter="time|heatCapacitor.T|innerPipe.T|outerPipe.T|pipe1.T",fileNamePrefix="Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=3000,variableFilter="time|heatCapacitor.T|innerPipe.T|outerPipe.T|pipe1.T",fileNamePrefix="Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001018/0.001018, allocations: 103.1 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001084/0.001084, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.336/1.336, allocations: 227.4 MB / 246.3 MB, free: 9.141 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001112/0.001112, allocations: 59.75 kB / 306.3 MB, free: 0.8438 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08094/0.08207, allocations: 50.54 MB / 356.8 MB, free: 14.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.005934/0.08804, allocations: 5.617 MB / 362.4 MB, free: 8.668 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002257/0.09033, allocations: 1.468 MB / 363.9 MB, free: 7.191 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003097/0.09066, allocations: 8 kB / 363.9 MB, free: 7.184 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000421/0.09113, allocations: 155 kB / 364 MB, free: 7.031 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006263/0.09176, allocations: 341.3 kB / 364.4 MB, free: 6.695 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004221/0.09219, allocations: 223.7 kB / 364.6 MB, free: 6.477 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001113/0.09332, allocations: 1.3 MB / 365.9 MB, free: 5.172 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004574/0.09379, allocations: 372.2 kB / 366.3 MB, free: 4.789 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004458/0.09424, allocations: 486.1 kB / 366.7 MB, free: 4.312 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005256/0.09478, allocations: 0.5639 MB / 367.3 MB, free: 3.746 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001498/0.09493, allocations: 84 kB / 367.4 MB, free: 3.664 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000183/0.09512, allocations: 88 kB / 367.5 MB, free: 3.578 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001781/0.09531, allocations: 219.2 kB / 367.7 MB, free: 3.363 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005107/0.09582, allocations: 0.5792 MB / 368.3 MB, free: 2.781 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001037/0.09687, allocations: 1.347 MB / 369.6 MB, free: 1.43 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.09688, allocations: 0 / 369.6 MB, free: 1.43 MB / 302.1 MB Notification: Performance of FrontEnd: time 7.52e-07/0.09689, allocations: 0 / 369.6 MB, free: 1.43 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.284e-05/0.09691, allocations: 0 / 369.6 MB, free: 1.43 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: 169 * Number of variables: 169 Notification: Performance of Generate backend data structure: time 0.1438/0.2408, allocations: 1.484 MB / 371.1 MB, free: 20 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/0.2408, allocations: 9.531 kB / 371.1 MB, free: 20 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000246/0.2411, allocations: 129.7 kB / 371.2 MB, free: 19.95 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000894/0.242, allocations: 0.6288 MB / 371.8 MB, free: 19.63 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000182/0.2422, allocations: 152.1 kB / 372 MB, free: 19.53 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001099/0.2423, allocations: 66.09 kB / 372.1 MB, free: 19.53 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001423/0.2437, allocations: 0.9675 MB / 373 MB, free: 19.11 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.093e-05/0.2437, allocations: 9.281 kB / 373 MB, free: 19.1 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.137e-05/0.2438, allocations: 36.62 kB / 373.1 MB, free: 19.07 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.614e-05/0.2438, allocations: 16.19 kB / 373.1 MB, free: 19.07 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001292/0.2451, allocations: 0.6203 MB / 373.7 MB, free: 18.87 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.003799/0.2489, allocations: 2.64 MB / 376.3 MB, free: 17.27 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002392/0.2513, allocations: 0.8741 MB / 377.2 MB, free: 16.9 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000689/0.252, allocations: 353.6 kB / 377.6 MB, free: 16.77 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.381e-05/0.2521, allocations: 22.39 kB / 377.6 MB, free: 16.77 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.801e-05/0.2522, allocations: 47.34 kB / 377.6 MB, free: 16.72 MB / 302.1 MB Notification: Performance of pre-optimization done (n=72): time 2.445e-06/0.2522, allocations: 0 / 377.6 MB, free: 16.72 MB / 302.1 MB Notification: Performance of matching and sorting (n=72): time 0.002536/0.2547, allocations: 1.405 MB / 379 MB, free: 15.84 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002029/0.2549, allocations: 0.9489 MB / 380 MB, free: 14.68 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009569/0.2559, allocations: 0.7891 MB / 380.8 MB, free: 14.34 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.131e-05/0.256, allocations: 46.55 kB / 380.8 MB, free: 14.3 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002523/0.2562, allocations: 416.5 kB / 381.2 MB, free: 13.97 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001452/0.2564, allocations: 242.8 kB / 381.5 MB, free: 13.79 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002204/0.2566, allocations: 163.9 kB / 381.6 MB, free: 13.7 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.57e-05/0.2567, allocations: 336.9 kB / 382 MB, free: 13.39 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005419/0.2572, allocations: 255.5 kB / 382.2 MB, free: 13.3 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007118/0.2579, allocations: 0.5837 MB / 382.8 MB, free: 12.83 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001097/0.259, allocations: 0.6633 MB / 383.5 MB, free: 12.45 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-06/0.259, allocations: 1.344 kB / 383.5 MB, free: 12.45 MB / 302.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001584/0.2606, allocations: 0.9506 MB / 384.4 MB, free: 11.96 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.209e-05/0.2607, allocations: 84.83 kB / 384.5 MB, free: 11.87 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.2607, allocations: 2.953 kB / 384.5 MB, free: 11.87 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003288/0.261, allocations: 132.6 kB / 384.6 MB, free: 11.79 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007054/0.2617, allocations: 150.6 kB / 384.8 MB, free: 11.78 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003728/0.2655, allocations: 6.798 MB / 391.6 MB, free: 5.02 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008037/0.2663, allocations: 104.4 kB / 391.7 MB, free: 4.969 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.616e-05/0.2664, allocations: 31.19 kB / 391.7 MB, free: 4.957 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (80): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(3,1), (1,1), (3,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003346/0.2667, allocations: 229.1 kB / 391.9 MB, free: 4.777 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001568/0.2669, allocations: 105.8 kB / 392 MB, free: 4.727 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001565/0.267, allocations: 103.5 kB / 392.1 MB, free: 4.656 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.73e-06/0.267, allocations: 7.656 kB / 392.1 MB, free: 4.656 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.093e-05/0.2671, allocations: 1.188 kB / 392.1 MB, free: 4.656 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001223/0.2683, allocations: 0.968 MB / 393.1 MB, free: 3.93 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002604/0.2709, allocations: 1.744 MB / 394.8 MB, free: 3.035 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.349e-06/0.2709, allocations: 4.812 kB / 394.9 MB, free: 3.035 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007495/0.2717, allocations: 157.4 kB / 395 MB, free: 3.02 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.566e-05/0.2718, allocations: 31.09 kB / 395 MB, free: 3.004 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.284e-05/0.2718, allocations: 13.34 kB / 395 MB, free: 2.996 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005984/0.2724, allocations: 1.308 MB / 396.4 MB, free: 1.672 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.2724, allocations: 8.406 kB / 396.4 MB, free: 1.668 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001806/0.2743, allocations: 1.077 MB / 397.4 MB, free: 1.145 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002999/0.2746, allocations: 258.9 kB / 397.7 MB, free: 0.9414 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001265/0.2747, allocations: 19.25 kB / 397.7 MB, free: 0.9297 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006294/0.2753, allocations: 37.38 kB / 397.8 MB, free: 0.9219 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.785e-05/0.2754, allocations: 50.72 kB / 397.8 MB, free: 0.9102 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.657e-05/0.2755, allocations: 21.11 kB / 397.8 MB, free: 0.9062 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0006575/0.2761, allocations: 0.5463 MB / 398.4 MB, free: 0.668 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.2761, allocations: 4 kB / 398.4 MB, free: 0.6641 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008023/0.277, allocations: 292 kB / 398.7 MB, free: 0.6211 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (heatCapacitor.T,pipe1.T,outerPipe.T,innerPipe.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 (70): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001575/0.2771, allocations: 130.2 kB / 398.8 MB, free: 0.5078 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001955/0.2791, allocations: 1.385 MB / 400.2 MB, free: 15.44 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/0.2791, allocations: 1.625 kB / 400.2 MB, free: 15.44 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006826/0.2798, allocations: 425.5 kB / 400.6 MB, free: 15.19 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001117/0.2809, allocations: 250.9 kB / 400.8 MB, free: 15.07 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002881/0.2838, allocations: 2.007 MB / 402.8 MB, free: 13.69 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005323/0.2843, allocations: 0.9813 MB / 403.8 MB, free: 12.87 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0005302/0.2849, allocations: 128.2 kB / 403.9 MB, free: 12.8 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002039/0.2851, allocations: 81.83 kB / 404 MB, free: 12.79 MB / 318.1 MB Notification: Performance of SimCode: time 4.01e-07/0.2851, allocations: 0 / 404 MB, free: 12.79 MB / 318.1 MB Notification: Performance of Templates: time 0.02498/0.3101, allocations: 16.65 MB / 420.7 MB, free: 13.61 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.makefile (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.sim & ./Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/IndirectCooling/IndirectCooling.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches