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.001105/0.001105, allocations: 114.5 kB / 17.73 MB, free: 5.32 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.001063/0.001063, allocations: 179 kB / 18.66 MB, free: 4.398 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.56/1.56, allocations: 205.1 MB / 224.5 MB, free: 12.24 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.001115/0.001115, allocations: 51.94 kB / 328.5 MB, free: 3.289 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09943/0.1006, allocations: 46.61 MB / 375.1 MB, free: 4.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.2314/0.332, allocations: 5.593 MB / 380.7 MB, free: 9.664 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002736/0.3348, allocations: 1.468 MB / 382.2 MB, free: 9.551 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003397/0.3351, allocations: 14.62 kB / 382.2 MB, free: 9.547 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004733/0.3357, allocations: 197.1 kB / 382.4 MB, free: 9.457 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006895/0.3364, allocations: 389 kB / 382.8 MB, free: 9.277 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005124/0.3369, allocations: 256 kB / 383 MB, free: 9.273 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001712/0.3386, allocations: 1.362 MB / 384.4 MB, free: 8.906 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000605/0.3393, allocations: 417.6 kB / 384.8 MB, free: 8.73 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000659/0.3399, allocations: 0.512 MB / 385.3 MB, free: 8.496 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000702/0.3406, allocations: 0.5837 MB / 385.9 MB, free: 8.207 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001736/0.3408, allocations: 119.1 kB / 386 MB, free: 8.207 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002231/0.341, allocations: 120.5 kB / 386.1 MB, free: 8.207 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002304/0.3413, allocations: 256.9 kB / 386.4 MB, free: 8.043 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006411/0.3419, allocations: 0.611 MB / 387 MB, free: 7.688 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002039/0.344, allocations: 1.401 MB / 388.4 MB, free: 7.168 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.694e-06/0.344, allocations: 1.25 kB / 388.4 MB, free: 7.168 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.357e-06/0.344, allocations: 0 / 388.4 MB, free: 7.168 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.543e-05/0.344, allocations: 0.5625 kB / 388.4 MB, free: 7.168 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.002812/0.3469, allocations: 1.482 MB / 389.9 MB, free: 6.16 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.002e-05/0.3469, allocations: 9.625 kB / 389.9 MB, free: 6.16 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000245/0.3472, allocations: 124.9 kB / 390 MB, free: 6.105 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009781/0.3482, allocations: 0.6408 MB / 390.7 MB, free: 5.656 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001965/0.3484, allocations: 150.1 kB / 390.8 MB, free: 5.535 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001219/0.3485, allocations: 68.17 kB / 390.9 MB, free: 5.516 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001529/0.35, allocations: 0.9774 MB / 391.9 MB, free: 4.887 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.166e-05/0.3501, allocations: 0 / 391.9 MB, free: 4.887 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.211e-05/0.3501, allocations: 30.34 kB / 391.9 MB, free: 4.867 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.056e-05/0.3502, allocations: 16.28 kB / 391.9 MB, free: 4.867 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00142/0.3516, allocations: 0.6275 MB / 392.5 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.004448/0.3561, allocations: 2.63 MB / 395.2 MB, free: 3.047 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002612/0.3587, allocations: 0.8619 MB / 396 MB, free: 2.672 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007553/0.3595, allocations: 351.6 kB / 396.4 MB, free: 2.547 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.696e-05/0.3595, allocations: 14.2 kB / 396.4 MB, free: 2.547 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.027e-05/0.3596, allocations: 56 kB / 396.4 MB, free: 2.492 MB / 318.1 MB Notification: Performance of pre-optimization done (n=72): time 2.294e-06/0.3596, allocations: 0 / 396.4 MB, free: 2.492 MB / 318.1 MB Notification: Performance of matching and sorting (n=72): time 0.002721/0.3623, allocations: 1.401 MB / 397.8 MB, free: 1.609 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002707/0.3626, allocations: 0.9491 MB / 398.8 MB, free: 460 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001202/0.3638, allocations: 0.7888 MB / 399.6 MB, free: 112 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.756e-05/0.3639, allocations: 46.7 kB / 399.6 MB, free: 68 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003842/0.3643, allocations: 408.6 kB / 400 MB, free: 15.75 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002562/0.3646, allocations: 252.8 kB / 400.3 MB, free: 15.55 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002981/0.3649, allocations: 160.5 kB / 400.4 MB, free: 15.48 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001556/0.365, allocations: 332.5 kB / 400.7 MB, free: 15.16 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006266/0.3657, allocations: 254.5 kB / 401 MB, free: 15.07 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00101/0.3667, allocations: 0.5849 MB / 401.6 MB, free: 14.6 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001349/0.368, allocations: 0.67 MB / 402.2 MB, free: 14.21 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.1e-06/0.3681, allocations: 0.9844 kB / 402.2 MB, free: 14.21 MB / 334.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001972/0.37, allocations: 0.9513 MB / 403.2 MB, free: 13.73 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.401e-05/0.3701, allocations: 83.64 kB / 403.3 MB, free: 13.63 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/0.3701, allocations: 1.5 kB / 403.3 MB, free: 13.63 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003735/0.3705, allocations: 127.4 kB / 403.4 MB, free: 13.57 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007305/0.3713, allocations: 152.1 kB / 403.6 MB, free: 13.55 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006714/0.378, allocations: 7.334 MB / 410.9 MB, free: 6.203 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001349/0.3794, allocations: 112 kB / 411 MB, free: 6.133 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.669e-05/0.3795, allocations: 25.8 kB / 411 MB, free: 6.125 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.0005179/0.38, allocations: 237.1 kB / 411.3 MB, free: 5.938 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001963/0.3802, allocations: 100.5 kB / 411.3 MB, free: 5.891 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002038/0.3804, allocations: 104 kB / 411.5 MB, free: 5.805 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.885e-06/0.3804, allocations: 6.281 kB / 411.5 MB, free: 5.805 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.767e-05/0.3804, allocations: 1.594 kB / 411.5 MB, free: 5.805 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001544/0.382, allocations: 0.9728 MB / 412.4 MB, free: 5.012 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003048/0.385, allocations: 1.744 MB / 414.2 MB, free: 3.773 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.3851, allocations: 1.469 kB / 414.2 MB, free: 3.773 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007914/0.3859, allocations: 163.2 kB / 414.3 MB, free: 3.727 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.953e-05/0.386, allocations: 22.12 kB / 414.4 MB, free: 3.715 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.894e-05/0.386, allocations: 19.77 kB / 414.4 MB, free: 3.699 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001021/0.3871, allocations: 1.406 MB / 415.8 MB, free: 2.242 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.3871, allocations: 0 / 415.8 MB, free: 2.242 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002156/0.3892, allocations: 1.082 MB / 416.9 MB, free: 1.629 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005499/0.3898, allocations: 253.5 kB / 417.1 MB, free: 1.398 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001444/0.39, allocations: 20.5 kB / 417.1 MB, free: 1.387 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006828/0.3906, allocations: 39.25 kB / 417.2 MB, free: 1.367 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001124/0.3908, allocations: 40.94 kB / 417.2 MB, free: 1.344 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.305e-05/0.3908, allocations: 25.23 kB / 417.2 MB, free: 1.332 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0008821/0.3917, allocations: 0.5474 MB / 417.8 MB, free: 1.027 MB / 334.1 MB Notification: Performance of sort global known variables: time 4.31e-07/0.3917, allocations: 0 / 417.8 MB, free: 1.027 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0009001/0.3926, allocations: 294.5 kB / 418.1 MB, free: 0.9805 MB / 334.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.0002017/0.3928, allocations: 121.2 kB / 418.2 MB, free: 0.875 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002236/0.3951, allocations: 1.387 MB / 419.6 MB, free: 15.8 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.933e-06/0.3951, allocations: 3.812 kB / 419.6 MB, free: 15.8 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007022/0.3958, allocations: 427.1 kB / 420 MB, free: 15.55 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00121/0.397, allocations: 281 kB / 420.3 MB, free: 15.39 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003415/0.4004, allocations: 1.68 MB / 422 MB, free: 14.34 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005844/0.401, allocations: 0.9781 MB / 422.9 MB, free: 13.48 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0005981/0.4017, allocations: 127.5 kB / 423.1 MB, free: 13.35 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002196/0.4019, allocations: 79.42 kB / 423.1 MB, free: 13.28 MB / 350.1 MB Notification: Performance of SimCode: time 8.82e-07/0.4019, allocations: 0 / 423.1 MB, free: 13.28 MB / 350.1 MB Notification: Performance of Templates: time 0.03133/0.4332, allocations: 17.82 MB / 441 MB, free: 11.44 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/IndirectCooling/IndirectCooling.csv","/var/lib/jenkins/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