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.001357/0.001357, allocations: 112.5 kB / 18.45 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001556/0.001556, allocations: 204 kB / 19.4 MB, free: 3.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.611/1.611, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001357/0.001357, allocations: 63.91 kB / 359.4 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.232/0.2334, allocations: 50.54 MB / 409.9 MB, free: 1.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.006156/0.2396, allocations: 5.609 MB / 415.5 MB, free: 11.94 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00274/0.2423, allocations: 1.452 MB / 417 MB, free: 10.48 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000453/0.2428, allocations: 11.94 kB / 417 MB, free: 10.47 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004912/0.2434, allocations: 202.2 kB / 417.2 MB, free: 10.27 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007074/0.2441, allocations: 380.8 kB / 417.6 MB, free: 9.895 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005417/0.2446, allocations: 263.5 kB / 417.8 MB, free: 9.637 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001451/0.2461, allocations: 1.354 MB / 419.2 MB, free: 8.277 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007589/0.2469, allocations: 418.9 kB / 419.6 MB, free: 7.844 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008666/0.2477, allocations: 0.5138 MB / 420.1 MB, free: 7.328 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001017/0.2488, allocations: 0.5835 MB / 420.7 MB, free: 6.742 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002636/0.2491, allocations: 120 kB / 420.8 MB, free: 6.625 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003007/0.2494, allocations: 120 kB / 420.9 MB, free: 6.508 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002819/0.2497, allocations: 255.2 kB / 421.2 MB, free: 6.258 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007612/0.2504, allocations: 0.6105 MB / 421.8 MB, free: 5.645 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001916/0.2524, allocations: 1.399 MB / 423.2 MB, free: 4.242 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/0.2524, allocations: 0 / 423.2 MB, free: 4.242 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.2524, allocations: 3.938 kB / 423.2 MB, free: 4.238 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.073e-05/0.2524, allocations: 4 kB / 423.2 MB, free: 4.234 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: 169 * Number of variables: 169 Notification: Performance of Generate backend data structure: time 0.003725/0.2562, allocations: 1.477 MB / 424.7 MB, free: 2.688 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.009e-05/0.2562, allocations: 12.03 kB / 424.7 MB, free: 2.676 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003225/0.2566, allocations: 123.6 kB / 424.8 MB, free: 2.555 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001473/0.258, allocations: 0.6382 MB / 425.4 MB, free: 1.875 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003016/0.2584, allocations: 155.6 kB / 425.6 MB, free: 1.703 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001671/0.2585, allocations: 72.28 kB / 425.7 MB, free: 1.633 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002268/0.2608, allocations: 0.9794 MB / 426.6 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.784e-05/0.2609, allocations: 0 / 426.6 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001261/0.261, allocations: 39.94 kB / 426.7 MB, free: 0.5 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.927e-05/0.261, allocations: 16 kB / 426.7 MB, free: 496 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001973/0.263, allocations: 0.6168 MB / 427.3 MB, free: 15.86 MB / 350.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.006256/0.2693, allocations: 2.617 MB / 429.9 MB, free: 13.09 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003763/0.2731, allocations: 0.865 MB / 430.8 MB, free: 12.2 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001106/0.2742, allocations: 350.7 kB / 431.1 MB, free: 11.86 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.507e-05/0.2743, allocations: 28.56 kB / 431.2 MB, free: 11.83 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.487e-05/0.2744, allocations: 47.22 kB / 431.2 MB, free: 11.77 MB / 350.1 MB Notification: Performance of pre-optimization done (n=72): time 4.728e-06/0.2744, allocations: 0 / 431.2 MB, free: 11.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=72): time 0.004045/0.2785, allocations: 1.404 MB / 432.6 MB, free: 10.26 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005834/0.2791, allocations: 0.9489 MB / 433.6 MB, free: 9.082 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001548/0.2806, allocations: 0.7826 MB / 434.3 MB, free: 8.293 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001445/0.2808, allocations: 45.7 kB / 434.4 MB, free: 8.242 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004734/0.2813, allocations: 412.4 kB / 434.8 MB, free: 7.832 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003164/0.2816, allocations: 256.3 kB / 435 MB, free: 7.578 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003733/0.282, allocations: 158.7 kB / 435.2 MB, free: 7.418 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001541/0.2822, allocations: 330 kB / 435.5 MB, free: 7.09 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000823/0.283, allocations: 261.9 kB / 435.8 MB, free: 6.836 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001232/0.2842, allocations: 0.5801 MB / 436.4 MB, free: 6.129 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001825/0.2861, allocations: 0.6679 MB / 437 MB, free: 5.43 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.891e-06/0.2861, allocations: 3.938 kB / 437 MB, free: 5.426 MB / 350.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002838/0.2889, allocations: 0.9586 MB / 438 MB, free: 4.422 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.755e-05/0.289, allocations: 83.92 kB / 438.1 MB, free: 4.324 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.303e-05/0.2891, allocations: 4 kB / 438.1 MB, free: 4.32 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004901/0.2896, allocations: 132.2 kB / 438.2 MB, free: 4.176 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001113/0.2907, allocations: 151.8 kB / 438.4 MB, free: 4.027 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007874/0.2986, allocations: 7.325 MB / 445.7 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001591/0.3002, allocations: 103.2 kB / 445.8 MB, free: 11.9 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001924/0.3004, allocations: 24 kB / 445.8 MB, free: 11.88 MB / 366.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.0007865/0.3013, allocations: 237.7 kB / 446 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003949/0.3017, allocations: 110.7 kB / 446.1 MB, free: 11.53 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003263/0.302, allocations: 100.9 kB / 446.2 MB, free: 11.42 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.965e-06/0.302, allocations: 7.938 kB / 446.2 MB, free: 11.41 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.291e-05/0.302, allocations: 4 kB / 446.3 MB, free: 11.41 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002075/0.3041, allocations: 0.97 MB / 447.2 MB, free: 10.33 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004521/0.3087, allocations: 1.748 MB / 449 MB, free: 8.504 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.392e-06/0.3087, allocations: 0 / 449 MB, free: 8.504 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00101/0.3097, allocations: 163.8 kB / 449.1 MB, free: 8.344 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001347/0.3099, allocations: 24.84 kB / 449.2 MB, free: 8.316 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.816e-05/0.3099, allocations: 15.98 kB / 449.2 MB, free: 8.301 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001558/0.3115, allocations: 1.407 MB / 450.6 MB, free: 6.754 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.3115, allocations: 0 / 450.6 MB, free: 6.754 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003044/0.3146, allocations: 1.074 MB / 451.6 MB, free: 5.664 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006724/0.3153, allocations: 251.8 kB / 451.9 MB, free: 5.398 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002787/0.3156, allocations: 20 kB / 451.9 MB, free: 5.379 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001074/0.3167, allocations: 47.95 kB / 452 MB, free: 5.332 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001392/0.3168, allocations: 44.53 kB / 452 MB, free: 5.285 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.194e-05/0.3169, allocations: 20 kB / 452 MB, free: 5.266 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001135/0.318, allocations: 0.5498 MB / 452.6 MB, free: 4.723 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.318, allocations: 0 / 452.6 MB, free: 4.723 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001329/0.3194, allocations: 295.6 kB / 452.9 MB, free: 4.434 MB / 366.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.0002376/0.3196, allocations: 123.1 kB / 453 MB, free: 4.305 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003032/0.3227, allocations: 1.402 MB / 454.4 MB, free: 2.801 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.225e-05/0.3227, allocations: 3.859 kB / 454.4 MB, free: 2.797 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001026/0.3237, allocations: 426.3 kB / 454.8 MB, free: 2.371 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001844/0.3256, allocations: 279 kB / 455.1 MB, free: 2.094 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004241/0.3298, allocations: 1.701 MB / 456.8 MB, free: 364 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005848/0.3305, allocations: 0.9758 MB / 457.8 MB, free: 15.35 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002986/0.3308, allocations: 83.42 kB / 457.8 MB, free: 15.27 MB / 382.1 MB Notification: Performance of SimCode: time 7.62e-07/0.3308, allocations: 0 / 457.8 MB, free: 15.27 MB / 382.1 MB Notification: Performance of Templates: time 0.02751/0.3583, allocations: 24.35 MB / 482.2 MB, free: 7.02 MB / 398.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/IndirectCooling/IndirectCooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches