Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 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.SimpleCooling,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling",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.001135/0.001135, allocations: 107.8 kB / 16.92 MB, free: 5.754 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.001148/0.001148, allocations: 191.3 kB / 17.85 MB, free: 5.176 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.219/1.219, allocations: 222.9 MB / 241.5 MB, free: 15.34 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001077/0.001077, allocations: 38.47 kB / 300.7 MB, free: 5.828 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07148/0.07258, allocations: 49.46 MB / 350.2 MB, free: 4.363 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.003913/0.07651, allocations: 3.481 MB / 353.6 MB, free: 0.8555 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001374/0.07791, allocations: 0.9384 MB / 354.6 MB, free: 15.91 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001721/0.07809, allocations: 11.94 kB / 354.6 MB, free: 15.9 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002653/0.07837, allocations: 107.1 kB / 354.7 MB, free: 15.79 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003056/0.07869, allocations: 186.4 kB / 354.9 MB, free: 15.61 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002258/0.07892, allocations: 127.8 kB / 355 MB, free: 15.48 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005339/0.07946, allocations: 0.6302 MB / 355.6 MB, free: 14.85 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002501/0.07972, allocations: 195.1 kB / 355.8 MB, free: 14.66 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001894/0.07992, allocations: 239.1 kB / 356.1 MB, free: 14.42 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002752/0.0802, allocations: 274.8 kB / 356.3 MB, free: 14.15 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.831e-05/0.08028, allocations: 56 kB / 356.4 MB, free: 14.1 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.192e-05/0.08036, allocations: 52 kB / 356.4 MB, free: 14.05 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.031e-05/0.08046, allocations: 119.6 kB / 356.6 MB, free: 13.93 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002277/0.0807, allocations: 290.7 kB / 356.8 MB, free: 13.64 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004737/0.08118, allocations: 0.6307 MB / 357.5 MB, free: 13.01 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.08119, allocations: 0 / 357.5 MB, free: 13.01 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.0812, allocations: 7.938 kB / 357.5 MB, free: 13 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.673e-06/0.08121, allocations: 0 / 357.5 MB, free: 13 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: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.00113/0.08234, allocations: 0.8428 MB / 358.3 MB, free: 12.1 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.08239, allocations: 8.031 kB / 358.3 MB, free: 12.09 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.663e-05/0.08249, allocations: 83.66 kB / 358.4 MB, free: 12 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.089e-05/0.08259, allocations: 64.19 kB / 358.5 MB, free: 11.94 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004187/0.08301, allocations: 391 kB / 358.9 MB, free: 11.52 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.671e-05/0.08311, allocations: 63.25 kB / 358.9 MB, free: 11.45 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.817e-05/0.08316, allocations: 40.28 kB / 359 MB, free: 11.41 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000608/0.08378, allocations: 470 kB / 359.4 MB, free: 10.89 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.0838, allocations: 0 / 359.4 MB, free: 10.89 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.668e-05/0.08384, allocations: 20 kB / 359.4 MB, free: 10.88 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.675e-06/0.08385, allocations: 8 kB / 359.4 MB, free: 10.87 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005041/0.08436, allocations: 279.8 kB / 359.7 MB, free: 10.59 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.001751/0.08612, allocations: 1.32 MB / 361 MB, free: 9.184 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001019/0.08715, allocations: 437.7 kB / 361.5 MB, free: 8.727 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002417/0.0874, allocations: 140.8 kB / 361.6 MB, free: 8.586 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.782e-05/0.08744, allocations: 11.98 kB / 361.6 MB, free: 8.574 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.656e-05/0.08747, allocations: 42.5 kB / 361.6 MB, free: 8.523 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 1.373e-06/0.08748, allocations: 0 / 361.6 MB, free: 8.523 MB / 302.1 MB Notification: Performance of matching and sorting (n=32): time 0.001006/0.08849, allocations: 0.6068 MB / 362.3 MB, free: 7.867 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001465/0.08865, allocations: 441 kB / 362.7 MB, free: 7.332 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004621/0.08912, allocations: 450 kB / 363.1 MB, free: 6.879 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.387e-05/0.08916, allocations: 37.7 kB / 363.2 MB, free: 6.836 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001406/0.0893, allocations: 240.3 kB / 363.4 MB, free: 6.598 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.05e-05/0.08939, allocations: 118.4 kB / 363.5 MB, free: 6.48 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001063/0.0895, allocations: 66.03 kB / 363.6 MB, free: 6.41 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001132/0.08962, allocations: 358.8 kB / 363.9 MB, free: 6.051 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002112/0.08984, allocations: 104.6 kB / 364 MB, free: 5.949 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003073/0.09015, allocations: 256 kB / 364.3 MB, free: 5.648 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004546/0.09061, allocations: 280.8 kB / 364.6 MB, free: 5.363 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.09063, allocations: 4 kB / 364.6 MB, free: 5.359 MB / 302.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0006278/0.09126, allocations: 412.4 kB / 365 MB, free: 4.938 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.05e-05/0.0913, allocations: 36.67 kB / 365 MB, free: 4.898 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.09131, allocations: 3.938 kB / 365 MB, free: 4.895 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001298/0.09144, allocations: 57.62 kB / 365.1 MB, free: 4.832 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002753/0.09173, allocations: 67.88 kB / 365.1 MB, free: 4.766 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002029/0.09377, allocations: 2.961 MB / 368.1 MB, free: 1.523 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003/0.09408, allocations: 43.72 kB / 368.1 MB, free: 1.48 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.223e-05/0.09411, allocations: 8.094 kB / 368.1 MB, free: 1.473 MB / 302.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.0001579/0.09427, allocations: 173.7 kB / 368.3 MB, free: 1.293 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.43e-05/0.09435, allocations: 51.44 kB / 368.4 MB, free: 1.242 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.125e-05/0.09444, allocations: 56.62 kB / 368.4 MB, free: 1.188 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.09445, allocations: 4 kB / 368.4 MB, free: 1.184 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.803e-06/0.09445, allocations: 0 / 368.4 MB, free: 1.184 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005715/0.09503, allocations: 0.6492 MB / 369.1 MB, free: 440 kB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1321/0.2272, allocations: 0.9039 MB / 370 MB, free: 25.35 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-05/0.2272, allocations: 0 / 370 MB, free: 25.35 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003413/0.2276, allocations: 69.86 kB / 370 MB, free: 25.35 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.119e-06/0.2276, allocations: 0.875 kB / 370 MB, free: 25.35 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.096e-05/0.2276, allocations: 7.094 kB / 370 MB, free: 25.35 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.2276, allocations: 0.75 kB / 370 MB, free: 25.35 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.2276, allocations: 1.016 kB / 370 MB, free: 25.35 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007218/0.2283, allocations: 0.5238 MB / 370.6 MB, free: 25.21 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001585/0.2285, allocations: 163.5 kB / 370.7 MB, free: 25.12 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.255e-05/0.2286, allocations: 13.38 kB / 370.7 MB, free: 25.12 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002913/0.2289, allocations: 16.94 kB / 370.8 MB, free: 25.12 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.282e-05/0.2289, allocations: 20.17 kB / 370.8 MB, free: 25.12 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.685e-05/0.2289, allocations: 7.688 kB / 370.8 MB, free: 25.12 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003079/0.2293, allocations: 321.2 kB / 371.1 MB, free: 25.03 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2293, allocations: 1.469 kB / 371.1 MB, free: 25.03 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004276/0.2297, allocations: 132.2 kB / 371.2 MB, free: 25.03 MB / 302.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.000863/0.2306, allocations: 1.072 MB / 372.3 MB, free: 24.36 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008162/0.2314, allocations: 0.5773 MB / 372.9 MB, free: 24.07 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.2314, allocations: 1.188 kB / 372.9 MB, free: 24.07 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002219/0.2316, allocations: 127.2 kB / 373 MB, free: 24.06 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005805/0.2322, allocations: 129.3 kB / 373.1 MB, free: 24.02 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00451/0.2367, allocations: 4.395 MB / 377.5 MB, free: 21.46 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002294/0.237, allocations: 0.824 MB / 378.3 MB, free: 20.75 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002338/0.2372, allocations: 62.05 kB / 378.4 MB, free: 20.74 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001813/0.2374, allocations: 161.1 kB / 378.6 MB, free: 20.63 MB / 302.1 MB Notification: Performance of SimCode: time 3.71e-07/0.2374, allocations: 0 / 378.6 MB, free: 20.63 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4694/0.7068, allocations: 12.55 MB / 391.1 MB, free: 16.32 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.69/13.39, allocations: 3.906 kB / 391.1 MB, free: 16.32 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling.fmu > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/SimpleCooling/SimpleCooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches