Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007888/0.0007888, allocations: 88.05 kB / 20.67 MB, free: 3.871 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007408/0.0007408, allocations: 145.1 kB / 23.93 MB, free: 0.6172 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8417/0.8417, allocations: 173.4 MB / 200.5 MB, free: 9.402 MB / 186.7 MB " [Timeout remaining time 179] 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.OneMass,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_OneMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.OneMass,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_OneMass",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.784e-06/1.784e-06, allocations: 0 / 318.4 MB, free: 6.348 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.311e-05/2.49e-05, allocations: 2.281 kB / 318.4 MB, free: 6.344 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.003574/0.003599, allocations: 3.354 MB / 321.8 MB, free: 2.973 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001156/0.004755, allocations: 0.9306 MB / 322.7 MB, free: 2.035 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001515/0.004906, allocations: 7.938 kB / 322.7 MB, free: 2.027 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002691/0.005175, allocations: 115 kB / 322.8 MB, free: 1.914 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003563/0.005531, allocations: 206.2 kB / 323 MB, free: 1.711 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002392/0.005771, allocations: 135.7 kB / 323.2 MB, free: 1.578 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.00059/0.006361, allocations: 0.7116 MB / 323.9 MB, free: 0.8633 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001987/0.006559, allocations: 126.9 kB / 324 MB, free: 0.7383 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002777/0.006837, allocations: 391.2 kB / 324.4 MB, free: 364 kB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001934/0.00703, allocations: 219.4 kB / 324.6 MB, free: 144 kB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.829e-05/0.007089, allocations: 60 kB / 324.7 MB, free: 84 kB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.075e-05/0.007139, allocations: 59.94 kB / 324.7 MB, free: 24 kB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.919e-05/0.007219, allocations: 123.7 kB / 324.8 MB, free: 15.9 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001513/0.00737, allocations: 223.5 kB / 325 MB, free: 15.68 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004874/0.007857, allocations: 0.7126 MB / 325.8 MB, free: 14.96 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.00786, allocations: 0 / 325.8 MB, free: 14.96 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.007862, allocations: 0 / 325.8 MB, free: 14.96 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.903e-06/0.007869, allocations: 0 / 325.8 MB, free: 14.96 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.001003/0.008872, allocations: 0.8286 MB / 326.6 MB, free: 14.1 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.008913, allocations: 16.91 kB / 326.6 MB, free: 14.08 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.349e-05/0.009007, allocations: 79.33 kB / 326.7 MB, free: 14 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.895e-05/0.009086, allocations: 68.56 kB / 326.8 MB, free: 13.93 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000489/0.009575, allocations: 376.2 kB / 327.1 MB, free: 13.54 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.944e-05/0.009664, allocations: 110.3 kB / 327.2 MB, free: 13.41 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.951e-05/0.009704, allocations: 36.38 kB / 327.3 MB, free: 13.38 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006181/0.01032, allocations: 0.8584 MB / 328.1 MB, free: 12.37 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.01033, allocations: 4.188 kB / 328.1 MB, free: 12.36 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.846e-05/0.01036, allocations: 19.94 kB / 328.1 MB, free: 12.34 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.01037, allocations: 11.94 kB / 328.2 MB, free: 12.33 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004873/0.01086, allocations: 338.4 kB / 328.5 MB, free: 12 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.001263/0.01212, allocations: 1.014 MB / 329.5 MB, free: 10.94 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004392/0.01256, allocations: 274.4 kB / 329.8 MB, free: 10.66 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002218/0.01278, allocations: 176.6 kB / 329.9 MB, free: 10.48 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.776e-05/0.01281, allocations: 8 kB / 329.9 MB, free: 10.48 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.332e-05/0.01283, allocations: 38.56 kB / 330 MB, free: 10.43 MB / 298.7 MB Notification: Performance of pre-optimization done (n=35): time 1.543e-06/0.01283, allocations: 0 / 330 MB, free: 10.43 MB / 298.7 MB Notification: Performance of matching and sorting (n=35): time 0.0009291/0.01376, allocations: 0.5733 MB / 330.6 MB, free: 9.844 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001463/0.01391, allocations: 452.9 kB / 331 MB, free: 9.297 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003522/0.01426, allocations: 454 kB / 331.4 MB, free: 8.844 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.715e-05/0.01429, allocations: 33.7 kB / 331.5 MB, free: 8.805 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001222/0.01441, allocations: 244.6 kB / 331.7 MB, free: 8.562 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.833e-05/0.01448, allocations: 130.9 kB / 331.8 MB, free: 8.434 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.548e-05/0.01456, allocations: 77.66 kB / 331.9 MB, free: 8.352 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.692e-05/0.01466, allocations: 358.7 kB / 332.3 MB, free: 7.992 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002207/0.01488, allocations: 169.6 kB / 332.4 MB, free: 7.82 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003954/0.01528, allocations: 0.6928 MB / 333.1 MB, free: 6.973 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004241/0.0157, allocations: 337.2 kB / 333.5 MB, free: 6.633 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.0157, allocations: 0 / 333.5 MB, free: 6.633 MB / 298.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.000584/0.01629, allocations: 0.4998 MB / 334 MB, free: 6.109 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.799e-05/0.01632, allocations: 37.69 kB / 334 MB, free: 6.066 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.01632, allocations: 0 / 334 MB, free: 6.066 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000121/0.01644, allocations: 49.73 kB / 334 MB, free: 6.012 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000207/0.01665, allocations: 83.88 kB / 334.1 MB, free: 5.93 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001515/0.01816, allocations: 2.746 MB / 336.9 MB, free: 2.945 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002362/0.0184, allocations: 51.8 kB / 336.9 MB, free: 2.895 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.218e-05/0.01842, allocations: 19.88 kB / 336.9 MB, free: 2.875 MB / 298.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.0001448/0.01857, allocations: 170.4 kB / 337.1 MB, free: 2.699 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.234e-05/0.01862, allocations: 55.67 kB / 337.2 MB, free: 2.645 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.614e-05/0.01867, allocations: 48.77 kB / 337.2 MB, free: 2.598 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.01868, allocations: 8 kB / 337.2 MB, free: 2.59 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.474e-06/0.01868, allocations: 0 / 337.2 MB, free: 2.59 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000563/0.01924, allocations: 0.732 MB / 338 MB, free: 1.754 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001208/0.02045, allocations: 0.8952 MB / 338.8 MB, free: 0.8008 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.02045, allocations: 4 kB / 338.8 MB, free: 0.7969 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002235/0.02068, allocations: 87.88 kB / 338.9 MB, free: 0.7109 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.02068, allocations: 0 / 338.9 MB, free: 0.7109 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.757e-05/0.0207, allocations: 15.92 kB / 339 MB, free: 0.6953 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.0207, allocations: 0 / 339 MB, free: 0.6953 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.0207, allocations: 0 / 339 MB, free: 0.6953 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007236/0.02142, allocations: 0.6529 MB / 339.6 MB, free: 28 kB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001314/0.02155, allocations: 95.7 kB / 339.7 MB, free: 15.93 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.576e-05/0.02159, allocations: 11.98 kB / 339.7 MB, free: 15.92 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001791/0.02177, allocations: 32.03 kB / 339.7 MB, free: 15.89 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.028e-05/0.02182, allocations: 23.95 kB / 339.8 MB, free: 15.87 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.215e-05/0.02183, allocations: 11.98 kB / 339.8 MB, free: 15.86 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002338/0.02206, allocations: 327.1 kB / 340.1 MB, free: 15.54 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02206, allocations: 0 / 340.1 MB, free: 15.54 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002756/0.02234, allocations: 135.9 kB / 340.2 MB, free: 15.4 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.0009142/0.02325, allocations: 1.201 MB / 341.4 MB, free: 14.18 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007026/0.02396, allocations: 0.6581 MB / 342.1 MB, free: 13.48 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.02396, allocations: 3.938 kB / 342.1 MB, free: 13.47 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002143/0.02417, allocations: 163.7 kB / 342.3 MB, free: 13.31 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004243/0.0246, allocations: 144.6 kB / 342.4 MB, free: 13.17 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004457/0.02905, allocations: 4.622 MB / 347 MB, free: 8.422 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001363/0.02919, allocations: 224.7 kB / 347.2 MB, free: 8.176 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001602/0.02935, allocations: 72.33 kB / 347.3 MB, free: 8.102 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001691/0.02952, allocations: 172.4 kB / 347.5 MB, free: 7.934 MB / 314.7 MB Notification: Performance of SimCode: time 5.01e-07/0.02952, allocations: 0 / 347.5 MB, free: 7.934 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02861/0.05813, allocations: 15.48 MB / 363 MB, free: 8.75 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.814/7.873, allocations: 6.688 kB / 363 MB, free: 8.746 MB / 330.7 MB " [Timeout remaining time 652] (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_OneMass_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_OneMass.fmu > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/OneMass/OneMass.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.46344169974327]