Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008197/0.0008197, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008255/0.0008255, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8822/0.8822, allocations: 177.1 MB / 204.3 MB, free: 5.703 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.OneMass,fileNamePrefix="Modelica_4_1_0_Modelica_Thermal_FluidHeatFlow_Examples_OneMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.OneMass,fileNamePrefix="Modelica_4_1_0_Modelica_Thermal_FluidHeatFlow_Examples_OneMass",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 324.6 MB, free: 15.94 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.584e-05/1.729e-05, allocations: 4.812 kB / 324.6 MB, free: 15.93 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.002961/0.002978, allocations: 3.382 MB / 327.9 MB, free: 12.54 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001204/0.004182, allocations: 0.9656 MB / 328.9 MB, free: 11.56 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000162/0.004344, allocations: 7.938 kB / 328.9 MB, free: 11.55 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002579/0.004602, allocations: 111.1 kB / 329 MB, free: 11.45 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002784/0.004881, allocations: 214.1 kB / 329.2 MB, free: 11.23 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002038/0.005084, allocations: 131.8 kB / 329.4 MB, free: 11.11 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004908/0.005575, allocations: 0.7117 MB / 330.1 MB, free: 10.39 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001823/0.005758, allocations: 127.4 kB / 330.2 MB, free: 10.27 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002864/0.006044, allocations: 395.1 kB / 330.6 MB, free: 9.883 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001975/0.006242, allocations: 219.4 kB / 330.8 MB, free: 9.668 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.725e-05/0.006299, allocations: 56 kB / 330.8 MB, free: 9.613 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.409e-05/0.006353, allocations: 56 kB / 330.9 MB, free: 9.559 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.979e-05/0.006423, allocations: 127.5 kB / 331 MB, free: 9.434 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001425/0.006565, allocations: 227.5 kB / 331.2 MB, free: 9.211 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004808/0.007046, allocations: 0.7049 MB / 332 MB, free: 8.504 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.00705, allocations: 0 / 332 MB, free: 8.504 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.007052, allocations: 0 / 332 MB, free: 8.504 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.134e-06/0.007059, allocations: 4 kB / 332 MB, free: 8.5 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.0009448/0.008004, allocations: 0.8215 MB / 332.8 MB, free: 7.637 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/0.008041, allocations: 12.03 kB / 332.8 MB, free: 7.625 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.084e-05/0.008132, allocations: 83.27 kB / 332.9 MB, free: 7.535 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.812e-05/0.00821, allocations: 72.52 kB / 332.9 MB, free: 7.465 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004767/0.008687, allocations: 372.3 kB / 333.3 MB, free: 7.074 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.82e-05/0.008765, allocations: 110.3 kB / 333.4 MB, free: 6.949 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.983e-05/0.008805, allocations: 40.31 kB / 333.5 MB, free: 6.91 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006178/0.009422, allocations: 0.8546 MB / 334.3 MB, free: 5.906 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.338e-05/0.009436, allocations: 192 / 334.3 MB, free: 5.906 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.833e-05/0.009464, allocations: 19.94 kB / 334.3 MB, free: 5.887 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.00947, allocations: 8 kB / 334.3 MB, free: 5.879 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004843/0.009955, allocations: 342.3 kB / 334.7 MB, free: 5.547 MB / 298.7 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.001282/0.01124, allocations: 1.033 MB / 335.7 MB, free: 4.465 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004045/0.01164, allocations: 286 kB / 336 MB, free: 4.176 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002258/0.01187, allocations: 160.8 kB / 336.1 MB, free: 4.016 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.851e-05/0.0119, allocations: 12 kB / 336.2 MB, free: 4.004 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.247e-05/0.01192, allocations: 42.5 kB / 336.2 MB, free: 3.953 MB / 298.7 MB Notification: Performance of pre-optimization done (n=35): time 1.573e-06/0.01192, allocations: 0 / 336.2 MB, free: 3.953 MB / 298.7 MB Notification: Performance of matching and sorting (n=35): time 0.0009249/0.01285, allocations: 0.5679 MB / 336.8 MB, free: 3.375 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001308/0.01298, allocations: 445 kB / 337.2 MB, free: 2.836 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003504/0.01333, allocations: 465.8 kB / 337.6 MB, free: 2.367 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.992e-05/0.01336, allocations: 41.7 kB / 337.7 MB, free: 2.32 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001261/0.01348, allocations: 244.7 kB / 337.9 MB, free: 2.078 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.41e-05/0.01355, allocations: 122.9 kB / 338 MB, free: 1.957 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.694e-05/0.01363, allocations: 81.47 kB / 338.1 MB, free: 1.871 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.697e-05/0.01373, allocations: 362.7 kB / 338.5 MB, free: 1.508 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002262/0.01396, allocations: 165.5 kB / 338.6 MB, free: 1.34 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003916/0.01435, allocations: 0.6739 MB / 339.3 MB, free: 0.5078 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004327/0.01478, allocations: 337.2 kB / 339.6 MB, free: 172 kB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/0.01478, allocations: 0 / 339.6 MB, free: 172 kB / 298.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0006058/0.01539, allocations: 0.5075 MB / 340.2 MB, free: 15.64 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.892e-05/0.01542, allocations: 33.7 kB / 340.2 MB, free: 15.6 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.219e-06/0.01542, allocations: 0 / 340.2 MB, free: 15.6 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001269/0.01555, allocations: 53.62 kB / 340.2 MB, free: 15.54 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002132/0.01576, allocations: 83.88 kB / 340.3 MB, free: 15.46 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001534/0.0173, allocations: 2.75 MB / 343.1 MB, free: 12.47 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002105/0.01751, allocations: 47.8 kB / 343.1 MB, free: 12.43 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.229e-05/0.01753, allocations: 16.09 kB / 343.1 MB, free: 12.41 MB / 314.7 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 (37): * Single equations (assignments): 34 * 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.0001511/0.01768, allocations: 173.8 kB / 343.3 MB, free: 12.23 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.656e-05/0.01774, allocations: 51.67 kB / 343.4 MB, free: 12.18 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.765e-05/0.0178, allocations: 56.75 kB / 343.4 MB, free: 12.12 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.0178, allocations: 0 / 343.4 MB, free: 12.12 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.0178, allocations: 7.938 kB / 343.4 MB, free: 12.12 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005662/0.01837, allocations: 0.7232 MB / 344.1 MB, free: 11.29 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009691/0.01934, allocations: 0.9106 MB / 345.1 MB, free: 10.32 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.01934, allocations: 0 / 345.1 MB, free: 10.32 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002209/0.01956, allocations: 91.88 kB / 345.1 MB, free: 10.23 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.01956, allocations: 4 kB / 345.1 MB, free: 10.23 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.725e-05/0.01958, allocations: 7.938 kB / 345.2 MB, free: 10.22 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.01958, allocations: 3.984 kB / 345.2 MB, free: 10.21 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.01958, allocations: 4 kB / 345.2 MB, free: 10.21 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000747/0.02033, allocations: 0.6457 MB / 345.8 MB, free: 9.551 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001296/0.02046, allocations: 91.58 kB / 345.9 MB, free: 9.461 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.705e-05/0.0205, allocations: 11.94 kB / 345.9 MB, free: 9.449 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001873/0.02068, allocations: 31.97 kB / 345.9 MB, free: 9.418 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.934e-05/0.02074, allocations: 23.95 kB / 346 MB, free: 9.395 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.14e-05/0.02075, allocations: 4 kB / 346 MB, free: 9.391 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002598/0.02101, allocations: 327.1 kB / 346.3 MB, free: 9.074 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.02101, allocations: 4.062 kB / 346.3 MB, free: 9.07 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003091/0.02132, allocations: 143.8 kB / 346.4 MB, free: 8.93 MB / 314.7 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 (35): * Single equations (assignments): 35 * 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.0009619/0.02229, allocations: 1.204 MB / 347.6 MB, free: 7.699 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007343/0.02302, allocations: 0.6506 MB / 348.3 MB, free: 7.004 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.02302, allocations: 7.938 kB / 348.3 MB, free: 6.996 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000219/0.02324, allocations: 163.9 kB / 348.5 MB, free: 6.836 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004618/0.0237, allocations: 140.3 kB / 348.6 MB, free: 6.695 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004438/0.02814, allocations: 4.616 MB / 353.2 MB, free: 1.949 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001401/0.02828, allocations: 228.7 kB / 353.4 MB, free: 1.703 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001652/0.02845, allocations: 64.33 kB / 353.5 MB, free: 1.637 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001759/0.02862, allocations: 168.5 kB / 353.7 MB, free: 1.473 MB / 314.7 MB Notification: Performance of SimCode: time 7.12e-07/0.02862, allocations: 4 kB / 353.7 MB, free: 1.469 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0274/0.05603, allocations: 15.5 MB / 369.2 MB, free: 2.277 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.587/7.643, allocations: 12 kB / 369.2 MB, free: 2.266 MB / 330.7 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Thermal_FluidHeatFlow_Examples_OneMass_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Thermal_FluidHeatFlow_Examples_OneMass.fmu > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/OneMass/OneMass.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.258990741334856]