Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008202/0.0008203, allocations: 88.3 kB / 16.65 MB, free: 6.535 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.0008529/0.0008529, allocations: 173.8 kB / 17.56 MB, free: 6.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.162/1.162, allocations: 223.3 MB / 241.6 MB, free: 192 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002091/0.0002092, allocations: 8 kB / 301.5 MB, free: 6.031 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07367/0.0739, allocations: 50.42 MB / 351.9 MB, free: 3.605 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.00464/0.07857, allocations: 5.207 MB / 357.1 MB, free: 14.37 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002106/0.0807, allocations: 1.352 MB / 358.5 MB, free: 13.01 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003707/0.08109, allocations: 11.94 kB / 358.5 MB, free: 13 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003684/0.08147, allocations: 154.9 kB / 358.7 MB, free: 12.84 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007372/0.08221, allocations: 341.3 kB / 359 MB, free: 12.51 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000428/0.08265, allocations: 223.8 kB / 359.2 MB, free: 12.29 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001128/0.08379, allocations: 1.295 MB / 360.5 MB, free: 10.99 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000426/0.08423, allocations: 376.3 kB / 360.9 MB, free: 10.6 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003817/0.08462, allocations: 466.2 kB / 361.3 MB, free: 10.14 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004875/0.08511, allocations: 0.5328 MB / 361.9 MB, free: 9.609 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001079/0.08523, allocations: 76 kB / 361.9 MB, free: 9.535 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001409/0.08537, allocations: 80 kB / 362 MB, free: 9.457 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000156/0.08553, allocations: 215.1 kB / 362.2 MB, free: 9.246 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004392/0.08598, allocations: 0.5887 MB / 362.8 MB, free: 8.648 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009915/0.08698, allocations: 1.319 MB / 364.1 MB, free: 7.324 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.073e-06/0.08699, allocations: 0 / 364.1 MB, free: 7.324 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.087, allocations: 4 kB / 364.1 MB, free: 7.32 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.298e-06/0.08701, allocations: 0 / 364.1 MB, free: 7.32 MB / 302.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.001931/0.08895, allocations: 1.307 MB / 365.4 MB, free: 5.941 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.419e-05/0.08899, allocations: 12.03 kB / 365.5 MB, free: 5.93 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001733/0.08917, allocations: 132.6 kB / 365.6 MB, free: 5.793 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001594/0.08933, allocations: 123.6 kB / 365.7 MB, free: 5.672 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007376/0.09008, allocations: 0.6265 MB / 366.3 MB, free: 5.004 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001937/0.09028, allocations: 159.6 kB / 366.5 MB, free: 4.828 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001033/0.09039, allocations: 76.28 kB / 366.6 MB, free: 4.754 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001377/0.09178, allocations: 0.9938 MB / 367.6 MB, free: 3.645 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.81e-05/0.0918, allocations: 3.984 kB / 367.6 MB, free: 3.641 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.005e-05/0.09188, allocations: 36 kB / 367.6 MB, free: 3.605 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.677e-05/0.0919, allocations: 20 kB / 367.6 MB, free: 3.586 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001208/0.09312, allocations: 0.652 MB / 368.3 MB, free: 2.934 MB / 302.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.003464/0.09659, allocations: 2.667 MB / 370.9 MB, free: 108 kB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1355/0.2321, allocations: 0.8772 MB / 371.8 MB, free: 23.68 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007077/0.2329, allocations: 364.5 kB / 372.2 MB, free: 23.67 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.671e-05/0.2329, allocations: 17.47 kB / 372.2 MB, free: 23.67 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.927e-05/0.233, allocations: 45.25 kB / 372.2 MB, free: 23.63 MB / 302.1 MB Notification: Performance of pre-optimization done (n=72): time 2.294e-06/0.233, allocations: 0 / 372.2 MB, free: 23.63 MB / 302.1 MB Notification: Performance of matching and sorting (n=72): time 0.002404/0.2354, allocations: 1.441 MB / 373.7 MB, free: 23.07 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001589/0.2355, allocations: 0.9485 MB / 374.6 MB, free: 21.91 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000969/0.2365, allocations: 0.7923 MB / 375.4 MB, free: 21.79 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 9.365e-05/0.2366, allocations: 44.11 kB / 375.5 MB, free: 21.76 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003159/0.237, allocations: 419.9 kB / 375.9 MB, free: 21.65 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001627/0.2371, allocations: 249.5 kB / 376.1 MB, free: 21.5 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.902e-05/0.2372, allocations: 66.88 kB / 376.2 MB, free: 21.48 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.186e-05/0.2373, allocations: 336.2 kB / 376.5 MB, free: 21.18 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005209/0.2378, allocations: 267.5 kB / 376.8 MB, free: 21.17 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007359/0.2385, allocations: 0.599 MB / 377.4 MB, free: 20.77 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001047/0.2396, allocations: 0.6841 MB / 378 MB, free: 20.39 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.2396, allocations: 2.031 kB / 378 MB, free: 20.39 MB / 302.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001546/0.2412, allocations: 0.9837 MB / 379 MB, free: 19.89 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.703e-05/0.2412, allocations: 86.09 kB / 379.1 MB, free: 19.79 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.2412, allocations: 0.875 kB / 379.1 MB, free: 19.79 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002855/0.2415, allocations: 125.8 kB / 379.2 MB, free: 19.73 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006367/0.2422, allocations: 160 kB / 379.4 MB, free: 19.71 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003424/0.2456, allocations: 6.799 MB / 386.2 MB, free: 12.96 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008003/0.2464, allocations: 120.9 kB / 386.3 MB, free: 12.91 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.029e-05/0.2465, allocations: 32.83 kB / 386.3 MB, free: 12.9 MB / 302.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.0002927/0.2468, allocations: 237.6 kB / 386.6 MB, free: 12.71 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001477/0.2469, allocations: 102.4 kB / 386.7 MB, free: 12.66 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001588/0.2471, allocations: 98.11 kB / 386.8 MB, free: 12.59 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.109e-06/0.2471, allocations: 7.219 kB / 386.8 MB, free: 12.59 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.837e-06/0.2471, allocations: 6.5 kB / 386.8 MB, free: 12.59 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001143/0.2482, allocations: 0.9973 MB / 387.8 MB, free: 11.85 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002486/0.2507, allocations: 1.776 MB / 389.6 MB, free: 10.95 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.377e-06/0.2508, allocations: 0.5625 kB / 389.6 MB, free: 10.95 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006802/0.2514, allocations: 160.1 kB / 389.7 MB, free: 10.93 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.01e-05/0.2515, allocations: 25.12 kB / 389.7 MB, free: 10.92 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.884e-05/0.2516, allocations: 19 kB / 389.8 MB, free: 10.91 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005274/0.2521, allocations: 1.312 MB / 391.1 MB, free: 9.582 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.2521, allocations: 1.984 kB / 391.1 MB, free: 9.582 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001742/0.2539, allocations: 1.117 MB / 392.2 MB, free: 9.051 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003185/0.2542, allocations: 257.9 kB / 392.4 MB, free: 8.848 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001218/0.2543, allocations: 24.06 kB / 392.5 MB, free: 8.836 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006613/0.255, allocations: 51.25 kB / 392.5 MB, free: 8.82 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.719e-05/0.2551, allocations: 45.84 kB / 392.6 MB, free: 8.812 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.415e-05/0.2551, allocations: 19.25 kB / 392.6 MB, free: 8.809 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0006265/0.2558, allocations: 0.5526 MB / 393.1 MB, free: 8.566 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2558, allocations: 0 / 393.1 MB, free: 8.566 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006664/0.2564, allocations: 292.9 kB / 393.4 MB, free: 8.523 MB / 302.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.001968/0.2584, allocations: 1.693 MB / 395.1 MB, free: 7.445 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001628/0.2601, allocations: 1.414 MB / 396.5 MB, free: 6.465 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/0.2601, allocations: 3.969 kB / 396.5 MB, free: 6.465 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005594/0.2606, allocations: 434.2 kB / 397 MB, free: 6.25 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00105/0.2617, allocations: 255.1 kB / 397.2 MB, free: 6.16 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009779/0.2715, allocations: 8.968 MB / 406.2 MB, free: 15.96 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004858/0.272, allocations: 0.9865 MB / 407.2 MB, free: 14.95 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0005288/0.2725, allocations: 131.5 kB / 407.3 MB, free: 14.82 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004408/0.273, allocations: 355.3 kB / 407.6 MB, free: 14.47 MB / 318.1 MB Notification: Performance of SimCode: time 3.01e-07/0.273, allocations: 0 / 407.6 MB, free: 14.47 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5799/0.8529, allocations: 24.54 MB / 432.2 MB, free: 6.441 MB / 334.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002338/0.8532, allocations: 250.1 kB / 432.4 MB, free: 6.18 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.322/3.175, allocations: 4 kB / 432.4 MB, free: 6.176 MB / 334.1 MB (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling_fmu --startTime=0 --stopTime=1.5 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling.fmu > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/IndirectCooling/IndirectCooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches