Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.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.0008369/0.0008369, allocations: 87.62 kB / 21.43 MB, free: 3.133 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.004548/0.004548, allocations: 161.6 kB / 24.69 MB, free: 8.883 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8609/0.8609, allocations: 158.6 MB / 186.5 MB, free: 3.047 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.HeatTransfer.Examples.GenerationOfFMUs,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_HeatTransfer_Examples_GenerationOfFMUs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_HeatTransfer_Examples_GenerationOfFMUs",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 298.4 MB, free: 3.547 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.254e-05/1.393e-05, allocations: 2.281 kB / 298.4 MB, free: 3.543 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.003008/0.003022, allocations: 2.817 MB / 301.2 MB, free: 0.6992 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1358/0.1388, allocations: 0.9625 MB / 302.2 MB, free: 13.15 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003183/0.1391, allocations: 19.08 kB / 302.2 MB, free: 13.15 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002368/0.1393, allocations: 94.62 kB / 302.3 MB, free: 13.15 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001475/0.1395, allocations: 106.2 kB / 302.4 MB, free: 13.13 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004999/0.14, allocations: 221.5 kB / 302.6 MB, free: 13.13 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004132/0.1404, allocations: 0.5561 MB / 303.2 MB, free: 13 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002513/0.1407, allocations: 142.9 kB / 303.3 MB, free: 12.98 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002925/0.1409, allocations: 264.5 kB / 303.6 MB, free: 12.96 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001616/0.1411, allocations: 126.7 kB / 303.7 MB, free: 12.94 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.538e-05/0.1412, allocations: 37.59 kB / 303.7 MB, free: 12.94 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001055/0.1413, allocations: 51.45 kB / 303.8 MB, free: 12.94 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.41e-05/0.1413, allocations: 91.16 kB / 303.9 MB, free: 12.92 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001074/0.1414, allocations: 140 kB / 304 MB, free: 12.9 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005733/0.142, allocations: 0.5718 MB / 304.6 MB, free: 12.79 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.142, allocations: 0 / 304.6 MB, free: 12.79 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.873e-06/0.142, allocations: 2.5 kB / 304.6 MB, free: 12.79 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.066e-05/0.142, allocations: 3.406 kB / 304.6 MB, free: 12.79 MB / 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.0007401/0.1428, allocations: 0.6706 MB / 305.3 MB, free: 12.29 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.693e-05/0.1428, allocations: 14.27 kB / 305.3 MB, free: 12.28 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.111e-05/0.1429, allocations: 80.58 kB / 305.4 MB, free: 12.21 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.64e-05/0.1429, allocations: 61.23 kB / 305.4 MB, free: 12.18 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005037/0.1434, allocations: 359.4 kB / 305.8 MB, free: 11.95 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.378e-05/0.1435, allocations: 29.72 kB / 305.8 MB, free: 11.94 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.154e-05/0.1435, allocations: 46.55 kB / 305.8 MB, free: 11.92 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005407/0.1441, allocations: 487.7 kB / 306.3 MB, free: 11.59 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.794e-05/0.1441, allocations: 8.469 kB / 306.3 MB, free: 11.58 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.287e-05/0.1441, allocations: 18.28 kB / 306.3 MB, free: 11.57 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.116e-05/0.1441, allocations: 10.47 kB / 306.4 MB, free: 11.57 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003734/0.1445, allocations: 246.3 kB / 306.6 MB, free: 11.5 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001291/0.1458, allocations: 2.666 MB / 309.3 MB, free: 9.113 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003507/0.1461, allocations: 160.4 kB / 309.4 MB, free: 9.035 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001191/0.1462, allocations: 67.25 kB / 309.5 MB, free: 9.004 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.94e-05/0.1463, allocations: 6.281 kB / 309.5 MB, free: 9.004 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.445e-05/0.1464, allocations: 32.67 kB / 309.5 MB, free: 8.965 MB / 282.7 MB Notification: Performance of pre-optimization done (n=16): time 2.815e-06/0.1464, allocations: 1.172 kB / 309.5 MB, free: 8.965 MB / 282.7 MB Notification: Performance of matching and sorting (n=17): time 0.0009677/0.1473, allocations: 0.5548 MB / 310.1 MB, free: 8.598 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.827e-05/0.1474, allocations: 59.14 kB / 310.1 MB, free: 8.531 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002934/0.1477, allocations: 355.1 kB / 310.5 MB, free: 8.34 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.173e-05/0.1477, allocations: 26.95 kB / 310.5 MB, free: 8.309 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001297/0.1478, allocations: 307.8 kB / 310.8 MB, free: 8.059 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.844e-05/0.1478, allocations: 66.14 kB / 310.9 MB, free: 8.008 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.304e-05/0.1479, allocations: 70.27 kB / 310.9 MB, free: 7.961 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.431e-05/0.148, allocations: 347.1 kB / 311.3 MB, free: 7.633 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001031/0.1481, allocations: 66.7 kB / 311.3 MB, free: 7.613 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001475/0.1482, allocations: 219.8 kB / 311.6 MB, free: 7.395 MB / 282.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.0006477/0.1489, allocations: 443.5 kB / 312 MB, free: 7.086 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.1489, allocations: 1.406 kB / 312 MB, free: 7.086 MB / 282.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003992/0.1493, allocations: 359.7 kB / 312.3 MB, free: 6.914 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/0.1493, allocations: 12.41 kB / 312.4 MB, free: 6.91 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/0.1493, allocations: 4.953 kB / 312.4 MB, free: 6.91 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001238/0.1494, allocations: 37.7 kB / 312.4 MB, free: 6.895 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001582/0.1496, allocations: 69.89 kB / 312.5 MB, free: 6.891 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008008/0.1504, allocations: 1.535 MB / 314 MB, free: 5.41 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001064/0.1505, allocations: 12.73 kB / 314 MB, free: 5.406 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.809e-05/0.1505, allocations: 17.53 kB / 314 MB, free: 5.402 MB / 282.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.0001392/0.1507, allocations: 167.9 kB / 314.2 MB, free: 5.254 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.414e-05/0.1507, allocations: 37.83 kB / 314.2 MB, free: 5.234 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.042e-05/0.1507, allocations: 37.22 kB / 314.3 MB, free: 5.211 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.1507, allocations: 6.094 kB / 314.3 MB, free: 5.207 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.1508, allocations: 3.203 kB / 314.3 MB, free: 5.207 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.1508, allocations: 0.8906 kB / 314.3 MB, free: 5.207 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006266/0.1514, allocations: 0.6175 MB / 314.9 MB, free: 4.781 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.1514, allocations: 0.5156 kB / 314.9 MB, free: 4.781 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001078/0.1515, allocations: 32.5 kB / 314.9 MB, free: 4.781 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.239e-05/0.1516, allocations: 25.3 kB / 315 MB, free: 4.77 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.122e-05/0.1516, allocations: 5.594 kB / 315 MB, free: 4.766 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004468/0.152, allocations: 1.33 MB / 316.3 MB, free: 3.449 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.152, allocations: 4.797 kB / 316.3 MB, free: 3.445 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003172/0.1523, allocations: 364.8 kB / 316.6 MB, free: 3.207 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.705e-05/0.1524, allocations: 29.41 kB / 316.7 MB, free: 3.188 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.782e-05/0.1524, allocations: 6.516 kB / 316.7 MB, free: 3.184 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.071e-05/0.1524, allocations: 9.734 kB / 316.7 MB, free: 3.18 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.387e-05/0.1525, allocations: 12.2 kB / 316.7 MB, free: 3.18 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.847e-06/0.1525, allocations: 4.359 kB / 316.7 MB, free: 3.18 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002005/0.1527, allocations: 236.8 kB / 316.9 MB, free: 3.055 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1527, allocations: 3.938 kB / 316.9 MB, free: 3.051 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000369/0.1531, allocations: 71.12 kB / 317 MB, free: 3.039 MB / 282.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.0004949/0.1536, allocations: 0.8904 MB / 317.9 MB, free: 2.273 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004162/0.154, allocations: 318 kB / 318.2 MB, free: 2.086 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.154, allocations: 0 / 318.2 MB, free: 2.086 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001187/0.1541, allocations: 181.2 kB / 318.4 MB, free: 1.949 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002551/0.1544, allocations: 42.03 kB / 318.4 MB, free: 1.922 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00284/0.1572, allocations: 3.246 MB / 321.7 MB, free: 15.62 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001908/0.1574, allocations: 213.7 kB / 321.9 MB, free: 15.52 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001072/0.1575, allocations: 42.45 kB / 321.9 MB, free: 15.51 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001611/0.1577, allocations: 160.9 kB / 322.1 MB, free: 15.39 MB / 298.7 MB Notification: Performance of SimCode: time 1.513e-06/0.1577, allocations: 0 / 322.1 MB, free: 15.39 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02679/0.1844, allocations: 7.029 MB / 329.1 MB, free: 12.51 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.013/7.198, allocations: 17.11 kB / 329.1 MB, free: 12.49 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Thermal_HeatTransfer_Examples_GenerationOfFMUs_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Thermal_HeatTransfer_Examples_GenerationOfFMUs.fmu > Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/HeatTransfer/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.760057616978884]