Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_3.2.3_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_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001135/0.001135, allocations: 109.7 kB / 18.4 MB, free: 4.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001141/0.001141, allocations: 187 kB / 19.34 MB, free: 3.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.294/1.294, allocations: 205.1 MB / 225.2 MB, free: 12.22 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001278, allocations: 47.94 kB / 329.2 MB, free: 3.285 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07755/0.07884, allocations: 46.61 MB / 375.8 MB, free: 4.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.1602/0.239, allocations: 5.59 MB / 381.4 MB, free: 9.648 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002648/0.2417, allocations: 1.471 MB / 382.9 MB, free: 9.531 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007715/0.2426, allocations: 14.78 kB / 382.9 MB, free: 9.527 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005962/0.2432, allocations: 195.9 kB / 383.1 MB, free: 9.438 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009736/0.2442, allocations: 397.9 kB / 383.5 MB, free: 9.258 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006048/0.2448, allocations: 256.5 kB / 383.7 MB, free: 9.254 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001394/0.2462, allocations: 1.367 MB / 385.1 MB, free: 8.887 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004886/0.2467, allocations: 412.8 kB / 385.5 MB, free: 8.727 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005028/0.2472, allocations: 0.5118 MB / 386 MB, free: 8.492 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005823/0.2478, allocations: 0.5844 MB / 386.6 MB, free: 8.203 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001559/0.248, allocations: 117.8 kB / 386.7 MB, free: 8.203 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002073/0.2482, allocations: 124.2 kB / 386.8 MB, free: 8.199 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001797/0.2484, allocations: 258.4 kB / 387.1 MB, free: 8.035 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004833/0.2489, allocations: 0.6108 MB / 387.7 MB, free: 7.68 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001245/0.2501, allocations: 1.403 MB / 389.1 MB, free: 7.16 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.2501, allocations: 0.9062 kB / 389.1 MB, free: 7.16 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.2501, allocations: 0 / 389.1 MB, free: 7.16 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.421e-05/0.2501, allocations: 3.938 kB / 389.1 MB, free: 7.156 MB / 318.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.00241/0.2526, allocations: 1.478 MB / 390.6 MB, free: 6.152 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/0.2526, allocations: 9.312 kB / 390.6 MB, free: 6.152 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000213/0.2528, allocations: 125.4 kB / 390.7 MB, free: 6.098 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008493/0.2537, allocations: 0.6399 MB / 391.4 MB, free: 5.652 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001825/0.2539, allocations: 150.5 kB / 391.5 MB, free: 5.531 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001001/0.254, allocations: 70.66 kB / 391.6 MB, free: 5.508 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00134/0.2553, allocations: 0.9742 MB / 392.5 MB, free: 4.883 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/0.2554, allocations: 6.156 kB / 392.6 MB, free: 4.879 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.432e-05/0.2555, allocations: 34.03 kB / 392.6 MB, free: 4.855 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.466e-05/0.2555, allocations: 16.09 kB / 392.6 MB, free: 4.855 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001216/0.2567, allocations: 0.6135 MB / 393.2 MB, free: 4.656 MB / 318.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.003629/0.2603, allocations: 2.634 MB / 395.8 MB, free: 3.047 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002516/0.2629, allocations: 0.8701 MB / 396.7 MB, free: 2.664 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000694/0.2636, allocations: 351 kB / 397.1 MB, free: 2.539 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.38e-05/0.2636, allocations: 13.75 kB / 397.1 MB, free: 2.539 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.707e-05/0.2637, allocations: 47.7 kB / 397.1 MB, free: 2.492 MB / 318.1 MB Notification: Performance of pre-optimization done (n=72): time 2.394e-06/0.2637, allocations: 4 kB / 397.1 MB, free: 2.488 MB / 318.1 MB Notification: Performance of matching and sorting (n=72): time 0.002392/0.2661, allocations: 1.4 MB / 398.5 MB, free: 1.605 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001433/0.2662, allocations: 0.9499 MB / 399.5 MB, free: 456 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008852/0.2671, allocations: 0.7912 MB / 400.3 MB, free: 108 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.467e-05/0.2672, allocations: 44.77 kB / 400.3 MB, free: 64 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003059/0.2675, allocations: 422.1 kB / 400.7 MB, free: 15.73 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001883/0.2677, allocations: 242.3 kB / 401 MB, free: 15.55 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002492/0.268, allocations: 158.7 kB / 401.1 MB, free: 15.47 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001101/0.2681, allocations: 336 kB / 401.4 MB, free: 15.15 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005607/0.2686, allocations: 255.2 kB / 401.7 MB, free: 15.06 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008363/0.2695, allocations: 0.5829 MB / 402.3 MB, free: 14.59 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001206/0.2707, allocations: 0.6605 MB / 402.9 MB, free: 14.21 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.2707, allocations: 7.938 kB / 402.9 MB, free: 14.2 MB / 334.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.00171/0.2724, allocations: 0.9481 MB / 403.9 MB, free: 13.72 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.259e-05/0.2725, allocations: 87.56 kB / 404 MB, free: 13.63 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/0.2725, allocations: 4.969 kB / 404 MB, free: 13.62 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003185/0.2729, allocations: 128.1 kB / 404.1 MB, free: 13.55 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006963/0.2736, allocations: 148.8 kB / 404.2 MB, free: 13.54 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005454/0.279, allocations: 7.329 MB / 411.6 MB, free: 6.199 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009093/0.28, allocations: 105.1 kB / 411.7 MB, free: 6.133 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.723e-05/0.28, allocations: 29.95 kB / 411.7 MB, free: 6.121 MB / 334.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.0003743/0.2804, allocations: 233.1 kB / 411.9 MB, free: 5.938 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001605/0.2806, allocations: 101.3 kB / 412 MB, free: 5.891 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001819/0.2808, allocations: 107.5 kB / 412.1 MB, free: 5.801 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001384/0.2821, allocations: 0.9693 MB / 413.1 MB, free: 5.012 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/0.2822, allocations: 4.781 kB / 413.1 MB, free: 5.008 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003645/0.2825, allocations: 260.2 kB / 413.4 MB, free: 4.77 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001364/0.2827, allocations: 24 kB / 413.4 MB, free: 4.754 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006529/0.2833, allocations: 39.47 kB / 413.4 MB, free: 4.734 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.031e-05/0.2834, allocations: 45.84 kB / 413.5 MB, free: 4.711 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001746/0.2852, allocations: 0.7484 MB / 414.2 MB, free: 4.301 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001904/0.2871, allocations: 1.144 MB / 415.4 MB, free: 3.613 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005105/0.2876, allocations: 284.5 kB / 415.6 MB, free: 3.469 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0006711/0.2883, allocations: 0.5469 MB / 416.2 MB, free: 3.164 MB / 334.1 MB Notification: Performance of Backend: time 2.9e-07/0.2883, allocations: 0 / 416.2 MB, free: 3.164 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002227/0.2905, allocations: 1.294 MB / 417.5 MB, free: 2.078 MB / 334.1 MB Notification: Performance of SimCode: time 0.002775/0.2933, allocations: 2.207 MB / 419.7 MB, free: 0.5312 MB / 334.1 MB Notification: Performance of Templates: time 0.02725/0.3206, allocations: 18.29 MB / 438 MB, free: 15.31 MB / 366.1 MB make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.makefile (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.sim & ./Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/IndirectCooling/IndirectCooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches