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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001398/0.001398, allocations: 108.5 kB / 21.93 MB, free: 5.219 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001487/0.001487, allocations: 214 kB / 25.22 MB, free: 3.027 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.44/1.44, allocations: 207.7 MB / 236.1 MB, free: 9.809 MB / 190.1 MB " [Timeout remaining time 178] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1500,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=1500,variableFilter="time|heatCapacitor.T|innerPipe.T|outerPipe.T|pipe1.T",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001857/0.001857, allocations: 55.86 kB / 348.4 MB, free: 9.387 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3188/0.3206, allocations: 49.15 MB / 397.6 MB, free: 9.391 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.006132/0.3267, allocations: 4.966 MB / 402.6 MB, free: 6.062 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003093/0.3298, allocations: 1.418 MB / 404 MB, free: 5.039 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005041/0.3303, allocations: 19 kB / 404 MB, free: 5.031 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005005/0.3308, allocations: 194 kB / 404.2 MB, free: 4.922 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007865/0.3316, allocations: 398.8 kB / 404.6 MB, free: 4.637 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005659/0.3322, allocations: 265.7 kB / 404.8 MB, free: 4.492 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001489/0.3337, allocations: 1.353 MB / 406.2 MB, free: 3.801 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004461/0.3341, allocations: 261.9 kB / 406.4 MB, free: 3.648 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008147/0.3349, allocations: 0.5214 MB / 407 MB, free: 3.406 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007447/0.3357, allocations: 0.5076 MB / 407.5 MB, free: 3.184 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002016/0.3359, allocations: 118.3 kB / 407.6 MB, free: 3.184 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002601/0.3361, allocations: 119.9 kB / 407.7 MB, free: 3.184 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002202/0.3364, allocations: 254.8 kB / 408 MB, free: 3.012 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000571/0.3369, allocations: 0.517 MB / 408.5 MB, free: 2.746 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001887/0.3388, allocations: 1.414 MB / 409.9 MB, free: 2.125 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.3388, allocations: 0 / 409.9 MB, free: 2.125 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.454e-06/0.3388, allocations: 0 / 409.9 MB, free: 2.125 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.983e-05/0.3389, allocations: 1.594 kB / 409.9 MB, free: 2.125 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.002918/0.3418, allocations: 1.444 MB / 411.3 MB, free: 1.035 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.846e-05/0.3418, allocations: 14.17 kB / 411.3 MB, free: 1.031 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000257/0.3421, allocations: 131.9 kB / 411.5 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0011/0.3432, allocations: 0.5802 MB / 412.1 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002373/0.3434, allocations: 307.9 kB / 412.4 MB, free: 192 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001173/0.3435, allocations: 66.53 kB / 412.4 MB, free: 172 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002289/0.3458, allocations: 1.861 MB / 414.3 MB, free: 14.31 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.419e-05/0.3459, allocations: 9.5 kB / 414.3 MB, free: 14.3 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.071e-05/0.3459, allocations: 33.66 kB / 414.3 MB, free: 14.28 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.794e-05/0.346, allocations: 15.16 kB / 414.3 MB, free: 14.28 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001473/0.3474, allocations: 0.6148 MB / 415 MB, free: 13.99 MB / 334.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.006188/0.3536, allocations: 1.859 MB / 416.8 MB, free: 12.68 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004334/0.3579, allocations: 0.7533 MB / 417.6 MB, free: 12.31 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001394/0.3593, allocations: 319.7 kB / 417.9 MB, free: 12.16 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.021e-05/0.3594, allocations: 17.45 kB / 417.9 MB, free: 12.15 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.836e-05/0.3595, allocations: 47.06 kB / 417.9 MB, free: 12.1 MB / 334.1 MB Notification: Performance of pre-optimization done (n=72): time 6.032e-06/0.3595, allocations: 1.125 kB / 417.9 MB, free: 12.1 MB / 334.1 MB Notification: Performance of matching and sorting (n=72): time 0.004105/0.3636, allocations: 1.021 MB / 419 MB, free: 11.58 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007621/0.3644, allocations: 0.9492 MB / 419.9 MB, free: 10.41 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002007/0.3664, allocations: 0.7104 MB / 420.6 MB, free: 10 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002168/0.3666, allocations: 47.11 kB / 420.7 MB, free: 9.961 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005689/0.3672, allocations: 433.8 kB / 421.1 MB, free: 9.586 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004048/0.3676, allocations: 264.8 kB / 421.4 MB, free: 9.355 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004212/0.368, allocations: 156.2 kB / 421.5 MB, free: 9.266 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002325/0.3682, allocations: 340 kB / 421.8 MB, free: 8.934 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009832/0.3692, allocations: 333.4 kB / 422.2 MB, free: 8.723 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002578/0.3718, allocations: 1.545 MB / 423.7 MB, free: 7.012 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001961/0.3738, allocations: 0.6644 MB / 424.4 MB, free: 6.602 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.965e-06/0.3738, allocations: 1.156 kB / 424.4 MB, free: 6.602 MB / 334.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.003147/0.3769, allocations: 1.031 MB / 425.4 MB, free: 5.945 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001121/0.377, allocations: 87.59 kB / 425.5 MB, free: 5.848 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.309e-05/0.377, allocations: 2.062 kB / 425.5 MB, free: 5.848 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005182/0.3776, allocations: 120.3 kB / 425.6 MB, free: 5.77 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001102/0.3787, allocations: 154.4 kB / 425.8 MB, free: 5.691 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01013/0.3888, allocations: 6.674 MB / 432.4 MB, free: 14.51 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00215/0.3909, allocations: 99.64 kB / 432.5 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001586/0.3911, allocations: 27.98 kB / 432.6 MB, free: 14.38 MB / 350.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.000853/0.392, allocations: 233.7 kB / 432.8 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004316/0.3924, allocations: 99.44 kB / 432.9 MB, free: 14.05 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003341/0.3927, allocations: 96 kB / 433 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-05/0.3927, allocations: 8 kB / 433 MB, free: 13.94 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-05/0.3928, allocations: 3.938 kB / 433 MB, free: 13.93 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002919/0.3957, allocations: 0.9739 MB / 434 MB, free: 12.85 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005621/0.4013, allocations: 1.464 MB / 435.4 MB, free: 11.33 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.945e-06/0.4013, allocations: 4 kB / 435.4 MB, free: 11.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001455/0.4028, allocations: 151.8 kB / 435.6 MB, free: 11.18 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001778/0.4029, allocations: 24.84 kB / 435.6 MB, free: 11.15 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.098e-05/0.403, allocations: 15.98 kB / 435.6 MB, free: 11.13 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001792/0.4048, allocations: 1.284 MB / 436.9 MB, free: 9.75 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.4048, allocations: 3.938 kB / 436.9 MB, free: 9.746 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00419/0.409, allocations: 1.078 MB / 438 MB, free: 8.648 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001121/0.4101, allocations: 175.2 kB / 438.2 MB, free: 8.477 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003056/0.4104, allocations: 20 kB / 438.2 MB, free: 8.457 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001189/0.4116, allocations: 39.97 kB / 438.2 MB, free: 8.418 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001681/0.4118, allocations: 44.56 kB / 438.3 MB, free: 8.375 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.194e-05/0.4119, allocations: 20 kB / 438.3 MB, free: 8.355 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001251/0.4131, allocations: 0.4951 MB / 438.8 MB, free: 7.863 MB / 350.1 MB Notification: Performance of sort global known variables: time 2e-07/0.4131, allocations: 0 / 438.8 MB, free: 7.863 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001604/0.4147, allocations: 307.6 kB / 439.1 MB, free: 7.562 MB / 350.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.0003238/0.415, allocations: 127.1 kB / 439.2 MB, free: 7.43 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.004373/0.4194, allocations: 1.437 MB / 440.6 MB, free: 5.867 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.736e-05/0.4194, allocations: 4 kB / 440.6 MB, free: 5.863 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001359/0.4208, allocations: 398.3 kB / 441 MB, free: 5.461 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002414/0.4232, allocations: 267 kB / 441.3 MB, free: 5.203 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005701/0.4289, allocations: 1.728 MB / 443 MB, free: 3.438 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006668/0.4296, allocations: 389.2 kB / 443.4 MB, free: 3.02 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006116/0.4302, allocations: 83.42 kB / 443.5 MB, free: 2.941 MB / 350.1 MB Notification: Performance of SimCode: time 1.262e-06/0.4302, allocations: 0 / 443.5 MB, free: 2.941 MB / 350.1 MB Notification: Performance of Templates: time 0.04181/0.472, allocations: 24.51 MB / 468 MB, free: 10.36 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.makefile [Timeout 660] (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) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.821641674265265]