Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.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.0008133/0.0008133, allocations: 76.08 kB / 20.67 MB, free: 3.891 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.0007647/0.0007647, allocations: 157.4 kB / 23.93 MB, free: 0.6289 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.8416/0.8416, allocations: 173.4 MB / 200.4 MB, free: 9.434 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.HeatTransfer.Examples.GenerationOfFMUs,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_HeatTransfer_Examples_GenerationOfFMUs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_HeatTransfer_Examples_GenerationOfFMUs",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 318.4 MB, free: 6.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.771e-05/1.93e-05, allocations: 2.281 kB / 318.4 MB, free: 6.266 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.003182/0.003201, allocations: 2.805 MB / 321.2 MB, free: 3.438 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001519/0.004721, allocations: 0.9278 MB / 322.1 MB, free: 2.508 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002327/0.004953, allocations: 23.81 kB / 322.2 MB, free: 2.484 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002193/0.005173, allocations: 91.11 kB / 322.3 MB, free: 2.395 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001588/0.005331, allocations: 106.9 kB / 322.4 MB, free: 2.289 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000506/0.005837, allocations: 223.5 kB / 322.6 MB, free: 2.07 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004826/0.00632, allocations: 0.5524 MB / 323.1 MB, free: 1.516 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002488/0.006569, allocations: 147.2 kB / 323.3 MB, free: 1.367 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003083/0.006877, allocations: 279.3 kB / 323.5 MB, free: 1.094 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001435/0.007021, allocations: 123.5 kB / 323.7 MB, free: 0.9727 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.197e-05/0.007063, allocations: 36 kB / 323.7 MB, free: 0.9375 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.146e-05/0.007154, allocations: 48 kB / 323.7 MB, free: 0.8906 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.101e-05/0.007205, allocations: 87.61 kB / 323.8 MB, free: 0.8047 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 9.418e-05/0.007299, allocations: 143.6 kB / 324 MB, free: 0.6641 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004576/0.007757, allocations: 0.5644 MB / 324.5 MB, free: 100 kB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.384e-06/0.007759, allocations: 0 / 324.5 MB, free: 100 kB / 282.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.007761, allocations: 4 kB / 324.5 MB, free: 96 kB / 282.7 MB Notification: Performance of Transformations before backend: time 8.637e-06/0.007769, allocations: 4 kB / 324.5 MB, free: 92 kB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.0007183/0.008487, allocations: 0.6727 MB / 325.2 MB, free: 15.38 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.008528, allocations: 8.922 kB / 325.2 MB, free: 15.37 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.317e-05/0.008591, allocations: 86.7 kB / 325.3 MB, free: 15.28 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.049e-05/0.008662, allocations: 64.12 kB / 325.4 MB, free: 15.21 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004365/0.009098, allocations: 351.4 kB / 325.7 MB, free: 14.84 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.115e-05/0.009119, allocations: 29 kB / 325.7 MB, free: 14.82 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.412e-05/0.009164, allocations: 44 kB / 325.8 MB, free: 14.77 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005087/0.009672, allocations: 487.4 kB / 326.3 MB, free: 14.22 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.916e-05/0.009691, allocations: 7.938 kB / 326.3 MB, free: 14.21 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.375e-05/0.009715, allocations: 20 kB / 326.3 MB, free: 14.19 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.908e-06/0.009725, allocations: 16 kB / 326.3 MB, free: 14.18 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003179/0.01004, allocations: 238.2 kB / 326.5 MB, free: 13.94 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001486/0.01153, allocations: 2.665 MB / 329.2 MB, free: 11.14 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000308/0.01184, allocations: 150.7 kB / 329.4 MB, free: 10.98 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.974e-05/0.01192, allocations: 76.75 kB / 329.4 MB, free: 10.91 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.743e-05/0.01199, allocations: 4 kB / 329.4 MB, free: 10.9 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.019e-05/0.01201, allocations: 42.55 kB / 329.5 MB, free: 10.85 MB / 298.7 MB Notification: Performance of pre-optimization done (n=16): time 1.392e-06/0.01202, allocations: 0 / 329.5 MB, free: 10.85 MB / 298.7 MB Notification: Performance of matching and sorting (n=17): time 0.0008277/0.01284, allocations: 0.5576 MB / 330 MB, free: 10.27 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.936e-05/0.01287, allocations: 51.41 kB / 330.1 MB, free: 10.2 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002292/0.0131, allocations: 353.5 kB / 330.4 MB, free: 9.848 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.3e-05/0.01312, allocations: 25.7 kB / 330.5 MB, free: 9.816 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000127/0.01324, allocations: 315.7 kB / 330.8 MB, free: 9.504 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.659e-05/0.01328, allocations: 71.42 kB / 330.8 MB, free: 9.434 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.974e-05/0.01334, allocations: 65.66 kB / 330.9 MB, free: 9.363 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.793e-05/0.01343, allocations: 346.8 kB / 331.2 MB, free: 9.016 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.529e-05/0.01351, allocations: 71.86 kB / 331.3 MB, free: 8.945 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001448/0.01366, allocations: 215.6 kB / 331.5 MB, free: 8.664 MB / 298.7 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: inverseCapacity.mass.T = $START.inverseCapacity.mass.T ($START.directCapacity.heatFlowToTemperature.y = $START.inverseCapacity.mass.T) Notification: Performance of analyzeInitialSystem (initialization): time 0.0006287/0.01429, allocations: 438.5 kB / 331.9 MB, free: 8.168 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.01429, allocations: 8 kB / 331.9 MB, free: 8.16 MB / 298.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003606/0.01465, allocations: 365.4 kB / 332.3 MB, free: 7.797 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.01466, allocations: 4 kB / 332.3 MB, free: 7.793 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.605e-06/0.01467, allocations: 8 kB / 332.3 MB, free: 7.785 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001002/0.01477, allocations: 44.77 kB / 332.4 MB, free: 7.738 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001301/0.0149, allocations: 67.91 kB / 332.4 MB, free: 7.672 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008156/0.01571, allocations: 1.528 MB / 334 MB, free: 6.031 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.374e-05/0.0158, allocations: 12.19 kB / 334 MB, free: 6.02 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.395e-05/0.01581, allocations: 20 kB / 334 MB, free: 6 MB / 298.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: inverseCapacity.mass.T = $START.inverseCapacity.mass.T. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (39): * Single equations (assignments): 38 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001291/0.01594, allocations: 170.4 kB / 334.2 MB, free: 5.824 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.987e-05/0.01597, allocations: 39.7 kB / 334.2 MB, free: 5.785 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.577e-05/0.01601, allocations: 43.47 kB / 334.2 MB, free: 5.746 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.22e-07/0.01601, allocations: 0 / 334.2 MB, free: 5.746 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.01601, allocations: 0 / 334.2 MB, free: 5.746 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.618e-06/0.01601, allocations: 3.984 kB / 334.2 MB, free: 5.742 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005605/0.01658, allocations: 0.6202 MB / 334.9 MB, free: 5.062 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.065e-06/0.01658, allocations: 4 kB / 334.9 MB, free: 5.059 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.938e-05/0.01667, allocations: 27.98 kB / 334.9 MB, free: 5.031 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.854e-05/0.01672, allocations: 24.98 kB / 334.9 MB, free: 5.004 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.18e-05/0.01673, allocations: 11.98 kB / 334.9 MB, free: 4.992 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005572/0.01729, allocations: 1.33 MB / 336.3 MB, free: 3.543 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.01729, allocations: 0 / 336.3 MB, free: 3.543 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003012/0.01759, allocations: 369.3 kB / 336.6 MB, free: 3.16 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.212e-05/0.01761, allocations: 31.77 kB / 336.6 MB, free: 3.129 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.314e-05/0.01762, allocations: 0 / 336.6 MB, free: 3.129 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.593e-05/0.01768, allocations: 8 kB / 336.7 MB, free: 3.121 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.248e-05/0.01771, allocations: 12.02 kB / 336.7 MB, free: 3.109 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.983e-06/0.01772, allocations: 8 kB / 336.7 MB, free: 3.102 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003873/0.01811, allocations: 235.2 kB / 336.9 MB, free: 2.879 MB / 298.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.01811, allocations: 0 / 336.9 MB, free: 2.879 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002688/0.01837, allocations: 68 kB / 337 MB, free: 2.812 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (inverseCapacity.mass.T,capacitor3a.T,capacitor3b.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 (15): * Single equations (assignments): 14 * 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.0004818/0.01886, allocations: 0.9011 MB / 337.9 MB, free: 1.879 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003625/0.01922, allocations: 304.2 kB / 338.2 MB, free: 1.57 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.01922, allocations: 192 / 338.2 MB, free: 1.57 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001191/0.01934, allocations: 186.5 kB / 338.4 MB, free: 1.375 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000238/0.01958, allocations: 41.36 kB / 338.4 MB, free: 1.332 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002501/0.02208, allocations: 3.255 MB / 341.6 MB, free: 13.85 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001301/0.02221, allocations: 207.2 kB / 341.8 MB, free: 13.62 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 7.804e-05/0.02229, allocations: 39.27 kB / 341.9 MB, free: 13.58 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001377/0.02242, allocations: 160.4 kB / 342 MB, free: 13.42 MB / 314.7 MB Notification: Performance of SimCode: time 5.21e-07/0.02242, allocations: 4 kB / 342 MB, free: 13.42 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02/0.04242, allocations: 7.029 MB / 349.1 MB, free: 6.57 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.127/7.169, allocations: 3.938 kB / 349.1 MB, free: 6.57 MB / 314.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Thermal_HeatTransfer_Examples_GenerationOfFMUs_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Thermal_HeatTransfer_Examples_GenerationOfFMUs.fmu > Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/HeatTransfer/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.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: 8.747694250196218]