Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.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.SimpleCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001116/0.001116, allocations: 110.5 kB / 17.73 MB, free: 5.324 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.0009814/0.0009814, allocations: 187 kB / 18.66 MB, free: 4.395 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.393/1.393, allocations: 205.1 MB / 224.5 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.001108/0.001108, allocations: 52.3 kB / 328.5 MB, free: 3.305 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09271/0.09382, allocations: 46.62 MB / 375.1 MB, free: 4.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.004944/0.09881, allocations: 3.474 MB / 378.6 MB, free: 1.082 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001766/0.1006, allocations: 0.9897 MB / 379.6 MB, free: 84 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001859/0.1008, allocations: 4 kB / 379.6 MB, free: 80 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.219/0.3199, allocations: 101.6 kB / 379.7 MB, free: 9.777 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008986/0.3208, allocations: 190.4 kB / 379.9 MB, free: 9.777 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004066/0.3212, allocations: 122.1 kB / 380 MB, free: 9.777 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006983/0.3219, allocations: 0.6431 MB / 380.7 MB, free: 9.723 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003302/0.3223, allocations: 195.8 kB / 380.8 MB, free: 9.695 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002627/0.3226, allocations: 243.5 kB / 381.1 MB, free: 9.656 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003353/0.3229, allocations: 273 kB / 381.4 MB, free: 9.598 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.075e-05/0.323, allocations: 53.78 kB / 381.4 MB, free: 9.598 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.459e-05/0.3231, allocations: 55.38 kB / 381.5 MB, free: 9.598 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001064/0.3232, allocations: 118.3 kB / 381.6 MB, free: 9.574 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003407/0.3236, allocations: 289.2 kB / 381.9 MB, free: 9.5 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000884/0.3245, allocations: 0.6451 MB / 382.5 MB, free: 9.406 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.3245, allocations: 0 / 382.5 MB, free: 9.406 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.136e-06/0.3245, allocations: 0.5 kB / 382.5 MB, free: 9.406 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.995e-05/0.3245, allocations: 8.156 kB / 382.5 MB, free: 9.402 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: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.001381/0.3259, allocations: 0.8439 MB / 383.4 MB, free: 8.836 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/0.326, allocations: 8.5 kB / 383.4 MB, free: 8.836 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001255/0.3261, allocations: 61.23 kB / 383.4 MB, free: 8.809 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005672/0.3267, allocations: 394.6 kB / 383.8 MB, free: 8.543 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001018/0.3268, allocations: 59 kB / 383.9 MB, free: 8.512 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.344e-05/0.3268, allocations: 32.94 kB / 383.9 MB, free: 8.512 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000734/0.3276, allocations: 465.7 kB / 384.4 MB, free: 8.324 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.607e-05/0.3276, allocations: 0 / 384.4 MB, free: 8.324 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.101e-05/0.3277, allocations: 16.75 kB / 384.4 MB, free: 8.324 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.251e-05/0.3277, allocations: 7.375 kB / 384.4 MB, free: 8.324 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006291/0.3283, allocations: 282.5 kB / 384.7 MB, free: 8.316 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.002206/0.3305, allocations: 1.284 MB / 385.9 MB, free: 7.516 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001251/0.3318, allocations: 437.3 kB / 386.4 MB, free: 7.293 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000325/0.3321, allocations: 145.9 kB / 386.5 MB, free: 7.23 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.065e-05/0.3322, allocations: 8.984 kB / 386.5 MB, free: 7.227 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.034e-05/0.3322, allocations: 47.2 kB / 386.6 MB, free: 7.176 MB / 318.1 MB Notification: Performance of pre-optimization done (n=32): time 1.974e-06/0.3322, allocations: 0 / 386.6 MB, free: 7.176 MB / 318.1 MB Notification: Performance of matching and sorting (n=32): time 0.001296/0.3335, allocations: 0.5914 MB / 387.1 MB, free: 6.801 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001561/0.3337, allocations: 452.7 kB / 387.6 MB, free: 6.262 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006606/0.3344, allocations: 456.4 kB / 388 MB, free: 6.039 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.782e-05/0.3344, allocations: 33.8 kB / 388.1 MB, free: 6.004 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001716/0.3346, allocations: 236.1 kB / 388.3 MB, free: 5.812 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.12e-05/0.3347, allocations: 112.3 kB / 388.4 MB, free: 5.727 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001454/0.3349, allocations: 76.77 kB / 388.5 MB, free: 5.68 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001104/0.335, allocations: 355.6 kB / 388.8 MB, free: 5.348 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002646/0.3353, allocations: 108.8 kB / 388.9 MB, free: 5.309 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003669/0.3356, allocations: 247.7 kB / 389.2 MB, free: 5.117 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004913/0.3361, allocations: 282.6 kB / 389.5 MB, free: 4.961 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/0.3362, allocations: 1.156 kB / 389.5 MB, free: 4.961 MB / 318.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0007667/0.3369, allocations: 419.1 kB / 389.9 MB, free: 4.746 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.075e-05/0.337, allocations: 31.33 kB / 389.9 MB, free: 4.715 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/0.337, allocations: 1.922 kB / 389.9 MB, free: 4.715 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002111/0.3372, allocations: 54.38 kB / 390 MB, free: 4.684 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003384/0.3376, allocations: 68.61 kB / 390 MB, free: 4.676 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002078/0.3397, allocations: 2.967 MB / 393 MB, free: 1.75 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004988/0.3402, allocations: 47.8 kB / 393 MB, free: 1.723 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.624e-05/0.3402, allocations: 13.78 kB / 393 MB, free: 1.719 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (36): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(3,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002453/0.3405, allocations: 162.9 kB / 393.2 MB, free: 1.574 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001103/0.3406, allocations: 54.23 kB / 393.3 MB, free: 1.547 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001148/0.3407, allocations: 51.22 kB / 393.3 MB, free: 1.516 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.3407, allocations: 3.781 kB / 393.3 MB, free: 1.516 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.027e-05/0.3407, allocations: 4.875 kB / 393.3 MB, free: 1.512 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007097/0.3415, allocations: 0.6508 MB / 394 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001386/0.3428, allocations: 0.9027 MB / 394.9 MB, free: 344 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.3429, allocations: 0 / 394.9 MB, free: 344 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003494/0.3432, allocations: 67.42 kB / 394.9 MB, free: 340 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.619e-06/0.3432, allocations: 2.469 kB / 394.9 MB, free: 340 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.456e-05/0.3433, allocations: 13.5 kB / 395 MB, free: 332 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/0.3433, allocations: 2.031 kB / 395 MB, free: 332 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.3433, allocations: 1.281 kB / 395 MB, free: 332 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008022/0.3441, allocations: 0.5131 MB / 395.5 MB, free: 32 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002458/0.3443, allocations: 165.5 kB / 395.6 MB, free: 15.88 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.991e-05/0.3444, allocations: 13.45 kB / 395.6 MB, free: 15.88 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003017/0.3447, allocations: 14.61 kB / 395.7 MB, free: 15.87 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.871e-05/0.3448, allocations: 21.47 kB / 395.7 MB, free: 15.87 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.137e-05/0.3448, allocations: 6.188 kB / 395.7 MB, free: 15.87 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004066/0.3452, allocations: 320.5 kB / 396 MB, free: 15.71 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.3453, allocations: 0.9062 kB / 396 MB, free: 15.71 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005122/0.3458, allocations: 131.2 kB / 396.1 MB, free: 15.69 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pipe.T,heatCapacitor.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 (32): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001429/0.3459, allocations: 110.8 kB / 396.2 MB, free: 15.59 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009315/0.3469, allocations: 0.5597 MB / 396.8 MB, free: 15.21 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.3469, allocations: 5.094 kB / 396.8 MB, free: 15.2 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002585/0.3471, allocations: 135.6 kB / 396.9 MB, free: 15.16 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006384/0.3478, allocations: 130.5 kB / 397.1 MB, free: 15.11 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001739/0.3495, allocations: 0.8747 MB / 397.9 MB, free: 14.59 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005012/0.3501, allocations: 0.826 MB / 398.8 MB, free: 13.88 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003276/0.3504, allocations: 60.22 kB / 398.8 MB, free: 13.86 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001448/0.3505, allocations: 39.06 kB / 398.9 MB, free: 13.86 MB / 334.1 MB Notification: Performance of SimCode: time 6.01e-07/0.3505, allocations: 1.188 kB / 398.9 MB, free: 13.86 MB / 334.1 MB Notification: Performance of Templates: time 0.01867/0.3692, allocations: 8.202 MB / 407.1 MB, free: 11.11 MB / 334.1 MB make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.makefile (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.sim & ./Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/SimpleCooling/SimpleCooling.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches