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.001144/0.001144, allocations: 114.4 kB / 17.74 MB, free: 5.355 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.001214/0.001215, allocations: 179.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.492/1.492, 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.001198/0.001198, allocations: 55.91 kB / 328.5 MB, free: 3.309 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0981/0.09931, allocations: 46.61 MB / 375.1 MB, free: 4.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.005213/0.1046, allocations: 3.478 MB / 378.6 MB, free: 1.09 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00209/0.1067, allocations: 0.9936 MB / 379.6 MB, free: 88 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003305/0.107, allocations: 4 kB / 379.6 MB, free: 84 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2279/0.335, allocations: 103.4 kB / 379.7 MB, free: 9.777 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009443/0.336, allocations: 184.5 kB / 379.9 MB, free: 9.777 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004018/0.3364, allocations: 122.9 kB / 380 MB, free: 9.777 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007896/0.3372, allocations: 0.6372 MB / 380.6 MB, free: 9.723 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00038/0.3376, allocations: 195.5 kB / 380.8 MB, free: 9.691 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002634/0.3379, allocations: 240 kB / 381.1 MB, free: 9.652 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003556/0.3383, allocations: 276.1 kB / 381.3 MB, free: 9.59 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.059e-05/0.3384, allocations: 52.94 kB / 381.4 MB, free: 9.59 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001118/0.3385, allocations: 56.84 kB / 381.5 MB, free: 9.59 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001266/0.3386, allocations: 120 kB / 381.6 MB, free: 9.57 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003866/0.339, allocations: 284.7 kB / 381.8 MB, free: 9.496 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001015/0.34, allocations: 0.6488 MB / 382.5 MB, free: 9.391 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.34, allocations: 0 / 382.5 MB, free: 9.391 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.375e-06/0.34, allocations: 1.5 kB / 382.5 MB, free: 9.391 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.295e-05/0.3401, allocations: 3.719 kB / 382.5 MB, free: 9.391 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.001426/0.3415, allocations: 0.8586 MB / 383.4 MB, free: 8.801 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.887e-05/0.3416, allocations: 12.94 kB / 383.4 MB, free: 8.801 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001274/0.3417, allocations: 65.72 kB / 383.4 MB, free: 8.77 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005905/0.3423, allocations: 397.4 kB / 383.8 MB, free: 8.504 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.44e-05/0.3424, allocations: 56.34 kB / 383.9 MB, free: 8.473 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.825e-05/0.3425, allocations: 37.19 kB / 383.9 MB, free: 8.469 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007466/0.3432, allocations: 465 kB / 384.4 MB, free: 8.285 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.757e-05/0.3432, allocations: 1.094 kB / 384.4 MB, free: 8.285 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.264e-05/0.3433, allocations: 14.56 kB / 384.4 MB, free: 8.285 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.419e-05/0.3433, allocations: 8.062 kB / 384.4 MB, free: 8.285 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006643/0.344, allocations: 280.9 kB / 384.7 MB, free: 8.277 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.002331/0.3463, allocations: 1.296 MB / 386 MB, free: 7.484 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001142/0.3475, allocations: 428.4 kB / 386.4 MB, free: 7.266 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002901/0.3478, allocations: 147.8 kB / 386.5 MB, free: 7.203 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.677e-05/0.3478, allocations: 13.41 kB / 386.5 MB, free: 7.195 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.775e-05/0.3479, allocations: 39.88 kB / 386.6 MB, free: 7.152 MB / 318.1 MB Notification: Performance of pre-optimization done (n=32): time 1.713e-06/0.3479, allocations: 0 / 386.6 MB, free: 7.152 MB / 318.1 MB Notification: Performance of matching and sorting (n=32): time 0.00119/0.3491, allocations: 0.5986 MB / 387.2 MB, free: 6.77 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001119/0.3492, allocations: 452.5 kB / 387.6 MB, free: 6.23 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005194/0.3497, allocations: 452.5 kB / 388.1 MB, free: 6.012 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.43e-05/0.3498, allocations: 37.27 kB / 388.1 MB, free: 5.973 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001601/0.3499, allocations: 232.4 kB / 388.3 MB, free: 5.785 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.457e-05/0.35, allocations: 121.2 kB / 388.4 MB, free: 5.691 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001234/0.3501, allocations: 71.64 kB / 388.5 MB, free: 5.648 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.893e-05/0.3502, allocations: 356.8 kB / 388.9 MB, free: 5.316 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002316/0.3505, allocations: 107.9 kB / 389 MB, free: 5.277 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003318/0.3508, allocations: 251.4 kB / 389.2 MB, free: 5.082 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004775/0.3513, allocations: 279.5 kB / 389.5 MB, free: 4.93 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.185e-06/0.3513, allocations: 0 / 389.5 MB, free: 4.93 MB / 318.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0007607/0.3521, allocations: 419.2 kB / 389.9 MB, free: 4.715 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.249e-05/0.3521, allocations: 36.7 kB / 389.9 MB, free: 4.68 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.3521, allocations: 2.078 kB / 389.9 MB, free: 4.68 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002042/0.3524, allocations: 54.91 kB / 390 MB, free: 4.648 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003308/0.3527, allocations: 65.7 kB / 390 MB, free: 4.645 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002187/0.3549, allocations: 2.968 MB / 393 MB, free: 1.719 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004715/0.3554, allocations: 47.61 kB / 393.1 MB, free: 1.691 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.21e-05/0.3554, allocations: 8.359 kB / 393.1 MB, free: 1.691 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.0002181/0.3557, allocations: 170 kB / 393.2 MB, free: 1.543 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.348e-05/0.3558, allocations: 53.28 kB / 393.3 MB, free: 1.516 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001032/0.3559, allocations: 52.56 kB / 393.3 MB, free: 1.484 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/0.3559, allocations: 2.812 kB / 393.3 MB, free: 1.484 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.699e-06/0.3559, allocations: 9.141 kB / 393.4 MB, free: 1.477 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006372/0.3565, allocations: 0.6429 MB / 394 MB, free: 0.875 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001394/0.3579, allocations: 0.9069 MB / 394.9 MB, free: 312 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.358, allocations: 0.5625 kB / 394.9 MB, free: 312 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003311/0.3583, allocations: 71.75 kB / 395 MB, free: 304 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.127e-06/0.3583, allocations: 4.188 kB / 395 MB, free: 304 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.234e-05/0.3583, allocations: 8.094 kB / 395 MB, free: 300 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.3583, allocations: 2.281 kB / 395 MB, free: 300 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3583, allocations: 3.938 kB / 395 MB, free: 296 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007611/0.3591, allocations: 0.5172 MB / 395.5 MB, free: 0 / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002206/0.3593, allocations: 170.9 kB / 395.7 MB, free: 15.85 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.687e-05/0.3594, allocations: 12.22 kB / 395.7 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002947/0.3597, allocations: 14.72 kB / 395.7 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.135e-05/0.3598, allocations: 18.59 kB / 395.7 MB, free: 15.83 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.016e-05/0.3598, allocations: 9.531 kB / 395.7 MB, free: 15.83 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004275/0.3602, allocations: 321.3 kB / 396 MB, free: 15.67 MB / 334.1 MB Notification: Performance of sort global known variables: time 4.21e-07/0.3602, allocations: 1.125 kB / 396 MB, free: 15.67 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005103/0.3608, allocations: 131.4 kB / 396.2 MB, free: 15.65 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.0001487/0.3609, allocations: 107.9 kB / 396.3 MB, free: 15.55 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009657/0.3619, allocations: 0.5636 MB / 396.8 MB, free: 15.17 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 6.122e-06/0.3619, allocations: 1.281 kB / 396.8 MB, free: 15.17 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002506/0.3622, allocations: 135.4 kB / 397 MB, free: 15.12 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006355/0.3628, allocations: 130.4 kB / 397.1 MB, free: 15.07 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001564/0.3644, allocations: 0.8988 MB / 398 MB, free: 14.53 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004388/0.3648, allocations: 0.82 MB / 398.8 MB, free: 13.82 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.000255/0.3651, allocations: 59.09 kB / 398.9 MB, free: 13.81 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001075/0.3652, allocations: 39.8 kB / 398.9 MB, free: 13.81 MB / 334.1 MB Notification: Performance of SimCode: time 3.2e-07/0.3652, allocations: 0 / 398.9 MB, free: 13.81 MB / 334.1 MB Notification: Performance of Templates: time 0.01525/0.3805, allocations: 8.189 MB / 407.1 MB, free: 11.04 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