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.001382/0.001382, allocations: 114.4 kB / 17.73 MB, free: 5.359 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.001588/0.001588, allocations: 187.1 kB / 18.66 MB, free: 4.438 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.469/1.469, allocations: 205.1 MB / 224.5 MB, free: 12.25 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.001172/0.001173, allocations: 47.94 kB / 328.5 MB, free: 3.328 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1061/0.1072, allocations: 46.62 MB / 375.1 MB, free: 4.602 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.004772/0.1121, allocations: 3.489 MB / 378.6 MB, free: 1.094 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001673/0.1138, allocations: 0.9858 MB / 379.6 MB, free: 100 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001761/0.1139, allocations: 7.938 kB / 379.6 MB, free: 92 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2376/0.3516, allocations: 106.9 kB / 379.7 MB, free: 9.766 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000815/0.3524, allocations: 181 kB / 379.9 MB, free: 9.766 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000366/0.3528, allocations: 121.9 kB / 380 MB, free: 9.766 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006992/0.3535, allocations: 0.6343 MB / 380.6 MB, free: 9.727 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003106/0.3539, allocations: 202.3 kB / 380.8 MB, free: 9.695 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000263/0.3541, allocations: 239.1 kB / 381.1 MB, free: 9.66 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003431/0.3545, allocations: 273.1 kB / 381.3 MB, free: 9.602 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.689e-05/0.3546, allocations: 56.47 kB / 381.4 MB, free: 9.598 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000101/0.3547, allocations: 56.22 kB / 381.5 MB, free: 9.598 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001139/0.3548, allocations: 113.2 kB / 381.6 MB, free: 9.582 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003235/0.3551, allocations: 296.6 kB / 381.9 MB, free: 9.5 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000875/0.356, allocations: 0.6419 MB / 382.5 MB, free: 9.41 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.9e-06/0.356, allocations: 0.5 kB / 382.5 MB, free: 9.41 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.356, allocations: 0.5625 kB / 382.5 MB, free: 9.41 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.428e-05/0.3561, allocations: 0.5625 kB / 382.5 MB, free: 9.41 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.001534/0.3576, allocations: 0.8393 MB / 383.3 MB, free: 8.844 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/0.3576, allocations: 9.781 kB / 383.3 MB, free: 8.844 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001314/0.3578, allocations: 60.53 kB / 383.4 MB, free: 8.816 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005765/0.3584, allocations: 402.6 kB / 383.8 MB, free: 8.543 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.166e-05/0.3585, allocations: 59.36 kB / 383.9 MB, free: 8.512 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.117e-05/0.3585, allocations: 33.62 kB / 383.9 MB, free: 8.512 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007261/0.3593, allocations: 466.2 kB / 384.3 MB, free: 8.324 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.77e-05/0.3593, allocations: 3.609 kB / 384.3 MB, free: 8.324 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.671e-05/0.3594, allocations: 16.09 kB / 384.4 MB, free: 8.324 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.233e-05/0.3594, allocations: 8.062 kB / 384.4 MB, free: 8.324 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005768/0.36, allocations: 281 kB / 384.6 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.002233/0.3622, allocations: 1.288 MB / 385.9 MB, free: 7.52 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001209/0.3634, allocations: 433.1 kB / 386.4 MB, free: 7.301 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002796/0.3637, allocations: 152.7 kB / 386.5 MB, free: 7.234 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.664e-05/0.3638, allocations: 10.42 kB / 386.5 MB, free: 7.23 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.58e-05/0.3638, allocations: 38.19 kB / 386.6 MB, free: 7.188 MB / 318.1 MB Notification: Performance of pre-optimization done (n=32): time 2.094e-06/0.3638, allocations: 0 / 386.6 MB, free: 7.188 MB / 318.1 MB Notification: Performance of matching and sorting (n=32): time 0.001148/0.365, allocations: 0.5986 MB / 387.2 MB, free: 6.805 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.362e-05/0.3651, allocations: 447.9 kB / 387.6 MB, free: 6.27 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005169/0.3656, allocations: 456.3 kB / 388 MB, free: 6.047 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.671e-05/0.3656, allocations: 37.42 kB / 388.1 MB, free: 6.008 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001463/0.3658, allocations: 230.5 kB / 388.3 MB, free: 5.82 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.29e-05/0.3659, allocations: 111.8 kB / 388.4 MB, free: 5.734 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001396/0.366, allocations: 72.47 kB / 388.5 MB, free: 5.691 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.912e-05/0.3661, allocations: 355 kB / 388.8 MB, free: 5.359 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002382/0.3664, allocations: 108.6 kB / 388.9 MB, free: 5.32 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003396/0.3667, allocations: 255.6 kB / 389.2 MB, free: 5.121 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004969/0.3672, allocations: 275.6 kB / 389.4 MB, free: 4.973 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.3672, allocations: 1.219 kB / 389.4 MB, free: 4.973 MB / 318.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0007119/0.368, allocations: 419.5 kB / 389.9 MB, free: 4.758 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.418e-05/0.368, allocations: 33.08 kB / 389.9 MB, free: 4.727 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.368, allocations: 4.031 kB / 389.9 MB, free: 4.723 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001732/0.3682, allocations: 52 kB / 389.9 MB, free: 4.695 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003194/0.3685, allocations: 68.8 kB / 390 MB, free: 4.688 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002076/0.3706, allocations: 2.968 MB / 393 MB, free: 1.762 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003895/0.371, allocations: 47.33 kB / 393 MB, free: 1.734 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.917e-05/0.371, allocations: 10.36 kB / 393 MB, free: 1.734 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.0001835/0.3712, allocations: 170.3 kB / 393.2 MB, free: 1.582 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.123e-05/0.3713, allocations: 50.47 kB / 393.3 MB, free: 1.559 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.074e-05/0.3714, allocations: 51.19 kB / 393.3 MB, free: 1.527 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.3714, allocations: 3.156 kB / 393.3 MB, free: 1.527 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.3715, allocations: 4.031 kB / 393.3 MB, free: 1.523 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005707/0.372, allocations: 0.6473 MB / 394 MB, free: 0.918 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001325/0.3734, allocations: 0.9083 MB / 394.9 MB, free: 360 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.3734, allocations: 0 / 394.9 MB, free: 360 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003321/0.3737, allocations: 75.86 kB / 394.9 MB, free: 348 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.3737, allocations: 2 kB / 394.9 MB, free: 348 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.218e-05/0.3738, allocations: 8.25 kB / 394.9 MB, free: 344 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.3738, allocations: 2.75 kB / 395 MB, free: 344 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.3738, allocations: 0 / 395 MB, free: 344 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007754/0.3746, allocations: 0.5081 MB / 395.5 MB, free: 48 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002234/0.3748, allocations: 172.8 kB / 395.6 MB, free: 15.89 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.815e-05/0.3749, allocations: 8.562 kB / 395.6 MB, free: 15.89 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003257/0.3752, allocations: 15.34 kB / 395.7 MB, free: 15.88 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.222e-05/0.3753, allocations: 19.17 kB / 395.7 MB, free: 15.88 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.82e-05/0.3753, allocations: 6.719 kB / 395.7 MB, free: 15.88 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004787/0.3758, allocations: 323.7 kB / 396 MB, free: 15.72 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3758, allocations: 0 / 396 MB, free: 15.72 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005077/0.3763, allocations: 135.2 kB / 396.1 MB, free: 15.7 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.0001998/0.3765, allocations: 109.2 kB / 396.2 MB, free: 15.6 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001029/0.3775, allocations: 0.5602 MB / 396.8 MB, free: 15.22 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/0.3775, allocations: 1.125 kB / 396.8 MB, free: 15.22 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002533/0.3778, allocations: 134.8 kB / 396.9 MB, free: 15.17 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000682/0.3785, allocations: 129.3 kB / 397.1 MB, free: 15.12 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0018/0.3803, allocations: 0.8727 MB / 397.9 MB, free: 14.6 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000476/0.3808, allocations: 0.8225 MB / 398.7 MB, free: 13.89 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.000252/0.3811, allocations: 60.11 kB / 398.8 MB, free: 13.88 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001107/0.3812, allocations: 38.83 kB / 398.8 MB, free: 13.88 MB / 334.1 MB Notification: Performance of SimCode: time 2.6e-07/0.3812, allocations: 1.375 kB / 398.8 MB, free: 13.88 MB / 334.1 MB Notification: Performance of Templates: time 0.01771/0.3989, allocations: 8.199 MB / 407 MB, free: 11.12 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