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.001508/0.001508, allocations: 113.3 kB / 18.4 MB, free: 4.699 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.001915/0.001915, allocations: 189.3 kB / 19.33 MB, free: 3.781 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.451/1.451, allocations: 205.1 MB / 225.2 MB, free: 12.23 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.001399/0.001399, allocations: 47.92 kB / 329.2 MB, free: 3.297 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09821/0.09962, allocations: 46.62 MB / 375.8 MB, free: 4.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.2392/0.3389, allocations: 5.588 MB / 381.4 MB, free: 9.688 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002448/0.3414, allocations: 1.462 MB / 382.9 MB, free: 9.582 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003502/0.3417, allocations: 13.56 kB / 382.9 MB, free: 9.578 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004735/0.3423, allocations: 198.2 kB / 383.1 MB, free: 9.484 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008148/0.3431, allocations: 388.2 kB / 383.5 MB, free: 9.309 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006103/0.3437, allocations: 254.6 kB / 383.7 MB, free: 9.305 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001659/0.3454, allocations: 1.365 MB / 385.1 MB, free: 8.914 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005617/0.3459, allocations: 419.5 kB / 385.5 MB, free: 8.738 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006982/0.3467, allocations: 0.5111 MB / 386 MB, free: 8.504 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007218/0.3474, allocations: 0.5831 MB / 386.6 MB, free: 8.215 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001818/0.3476, allocations: 117.8 kB / 386.7 MB, free: 8.215 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002273/0.3478, allocations: 121.5 kB / 386.8 MB, free: 8.215 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002184/0.348, allocations: 260 kB / 387.1 MB, free: 8.047 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005546/0.3486, allocations: 0.6093 MB / 387.7 MB, free: 7.695 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001532/0.3501, allocations: 1.409 MB / 389.1 MB, free: 7.172 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.972e-06/0.3502, allocations: 0 / 389.1 MB, free: 7.172 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.3502, allocations: 0 / 389.1 MB, free: 7.172 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.696e-05/0.3502, allocations: 1.562 kB / 389.1 MB, free: 7.172 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.002507/0.3527, allocations: 1.479 MB / 390.6 MB, free: 6.164 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.3527, allocations: 9.219 kB / 390.6 MB, free: 6.164 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002184/0.353, allocations: 124.7 kB / 390.7 MB, free: 6.109 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008836/0.3539, allocations: 0.6411 MB / 391.3 MB, free: 5.664 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001836/0.3541, allocations: 150.8 kB / 391.5 MB, free: 5.543 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001035/0.3542, allocations: 68.19 kB / 391.5 MB, free: 5.523 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001445/0.3556, allocations: 0.9758 MB / 392.5 MB, free: 4.895 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.994e-05/0.3556, allocations: 1.219 kB / 392.5 MB, free: 4.895 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.718e-05/0.3557, allocations: 33.28 kB / 392.6 MB, free: 4.871 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.012e-05/0.3558, allocations: 16.16 kB / 392.6 MB, free: 4.871 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001266/0.357, allocations: 0.6245 MB / 393.2 MB, free: 4.664 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.003833/0.3609, allocations: 2.626 MB / 395.8 MB, free: 3.059 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002442/0.3633, allocations: 0.8675 MB / 396.7 MB, free: 2.68 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007094/0.364, allocations: 351 kB / 397 MB, free: 2.555 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.796e-05/0.3641, allocations: 14.14 kB / 397 MB, free: 2.555 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.385e-05/0.3642, allocations: 59.12 kB / 397.1 MB, free: 2.496 MB / 318.1 MB Notification: Performance of pre-optimization done (n=72): time 2.815e-06/0.3642, allocations: 0 / 397.1 MB, free: 2.496 MB / 318.1 MB Notification: Performance of matching and sorting (n=72): time 0.002477/0.3666, allocations: 1.4 MB / 398.5 MB, free: 1.613 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001799/0.3668, allocations: 0.9508 MB / 399.5 MB, free: 464 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009877/0.3678, allocations: 0.7881 MB / 400.2 MB, free: 116 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.223e-05/0.3679, allocations: 45.8 kB / 400.3 MB, free: 72 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003369/0.3683, allocations: 413.6 kB / 400.7 MB, free: 15.75 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002113/0.3685, allocations: 247.9 kB / 400.9 MB, free: 15.56 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002496/0.3687, allocations: 155.7 kB / 401.1 MB, free: 15.48 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001285/0.3689, allocations: 333.9 kB / 401.4 MB, free: 15.17 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005461/0.3694, allocations: 257.4 kB / 401.7 MB, free: 15.07 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008621/0.3703, allocations: 0.5842 MB / 402.2 MB, free: 14.6 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001215/0.3715, allocations: 0.6639 MB / 402.9 MB, free: 14.22 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.3715, allocations: 1.312 kB / 402.9 MB, free: 14.22 MB / 334.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001973/0.3735, allocations: 0.9538 MB / 403.9 MB, free: 13.73 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.62e-05/0.3736, allocations: 88.42 kB / 404 MB, free: 13.64 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.3736, allocations: 1.062 kB / 404 MB, free: 13.64 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003385/0.374, allocations: 123.1 kB / 404.1 MB, free: 13.57 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006708/0.3746, allocations: 157.6 kB / 404.2 MB, free: 13.55 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006118/0.3808, allocations: 7.325 MB / 411.6 MB, free: 6.211 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001255/0.3821, allocations: 104.8 kB / 411.7 MB, free: 6.145 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.036e-05/0.3821, allocations: 29.86 kB / 411.7 MB, free: 6.133 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.0004643/0.3826, allocations: 236.9 kB / 411.9 MB, free: 5.945 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002045/0.3828, allocations: 100.4 kB / 412 MB, free: 5.898 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000181/0.383, allocations: 104.1 kB / 412.1 MB, free: 5.812 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/0.383, allocations: 6.469 kB / 412.1 MB, free: 5.812 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.203e-05/0.383, allocations: 1.25 kB / 412.1 MB, free: 5.812 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00139/0.3844, allocations: 0.9737 MB / 413.1 MB, free: 5.02 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002858/0.3873, allocations: 1.749 MB / 414.8 MB, free: 3.773 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.3873, allocations: 0 / 414.8 MB, free: 3.773 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007455/0.3881, allocations: 158.3 kB / 415 MB, free: 3.734 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001022/0.3882, allocations: 29.22 kB / 415 MB, free: 3.715 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.273e-05/0.3882, allocations: 19.73 kB / 415 MB, free: 3.699 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009916/0.3892, allocations: 1.399 MB / 416.4 MB, free: 2.25 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.3893, allocations: 0 / 416.4 MB, free: 2.25 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002008/0.3913, allocations: 1.078 MB / 417.5 MB, free: 1.641 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004331/0.3917, allocations: 257.2 kB / 417.8 MB, free: 1.406 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001293/0.3919, allocations: 19.81 kB / 417.8 MB, free: 1.395 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006332/0.3925, allocations: 39.16 kB / 417.8 MB, free: 1.375 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.222e-05/0.3926, allocations: 44.81 kB / 417.9 MB, free: 1.348 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.72e-05/0.3926, allocations: 25.27 kB / 417.9 MB, free: 1.336 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0006708/0.3933, allocations: 0.5505 MB / 418.5 MB, free: 1.027 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.9e-07/0.3933, allocations: 0 / 418.5 MB, free: 1.027 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0007757/0.3941, allocations: 292.3 kB / 418.7 MB, free: 0.9844 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.0001665/0.3943, allocations: 123.6 kB / 418.9 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002101/0.3964, allocations: 1.394 MB / 420.3 MB, free: 15.8 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.462e-06/0.3964, allocations: 1.719 kB / 420.3 MB, free: 15.8 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006617/0.3971, allocations: 425.7 kB / 420.7 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.001099/0.3982, allocations: 282 kB / 420.9 MB, free: 15.39 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002794/0.401, allocations: 1.708 MB / 422.7 MB, free: 14.32 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005457/0.4015, allocations: 0.9798 MB / 423.6 MB, free: 13.43 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002589/0.4018, allocations: 79.42 kB / 423.7 MB, free: 13.36 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.4018, allocations: 4 kB / 423.7 MB, free: 13.35 MB / 350.1 MB Notification: Performance of Templates: time 0.027/0.4288, allocations: 24.34 MB / 448.1 MB, free: 4.941 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