Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001188/0.001188, allocations: 83.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.006702/0.006702, allocations: 165.8 kB / 24.7 MB, free: 8.887 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.8568/0.8568, 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.FluidHeatFlow.Examples.OneMass,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_OneMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.OneMass,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_OneMass",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 298.4 MB, free: 3.531 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.227e-05/1.37e-05, allocations: 2.281 kB / 298.4 MB, free: 3.527 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.00319/0.003203, allocations: 3.355 MB / 301.8 MB, free: 152 kB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1125/0.1157, allocations: 0.9629 MB / 302.7 MB, free: 13.18 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001854/0.1159, allocations: 7.781 kB / 302.8 MB, free: 13.18 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002521/0.1161, allocations: 115.1 kB / 302.9 MB, free: 13.17 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002666/0.1164, allocations: 211.8 kB / 303.1 MB, free: 13.1 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001865/0.1166, allocations: 131.8 kB / 303.2 MB, free: 13.09 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004341/0.117, allocations: 0.7106 MB / 303.9 MB, free: 12.88 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001698/0.1172, allocations: 125.8 kB / 304 MB, free: 12.85 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003076/0.1175, allocations: 392.6 kB / 304.4 MB, free: 12.77 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002029/0.1177, allocations: 214.9 kB / 304.6 MB, free: 12.7 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 6.041e-05/0.1177, allocations: 57.5 kB / 304.7 MB, free: 12.7 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.959e-05/0.1178, allocations: 57.91 kB / 304.7 MB, free: 12.7 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.863e-05/0.1179, allocations: 133.9 kB / 304.9 MB, free: 12.61 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001437/0.118, allocations: 219.2 kB / 305.1 MB, free: 12.53 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005239/0.1185, allocations: 0.7118 MB / 305.8 MB, free: 12.28 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.1185, allocations: 0.5625 kB / 305.8 MB, free: 12.28 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1185, allocations: 5 kB / 305.8 MB, free: 12.27 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.674e-06/0.1185, allocations: 0 / 305.8 MB, free: 12.27 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.0009183/0.1195, allocations: 0.8328 MB / 306.6 MB, free: 11.68 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/0.1195, allocations: 15.27 kB / 306.7 MB, free: 11.67 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.11e-05/0.1196, allocations: 74.02 kB / 306.7 MB, free: 11.61 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.722e-05/0.1197, allocations: 70.05 kB / 306.8 MB, free: 11.58 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004821/0.1201, allocations: 382.1 kB / 307.2 MB, free: 11.32 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.182e-05/0.1202, allocations: 112.2 kB / 307.3 MB, free: 11.21 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.816e-05/0.1203, allocations: 29.41 kB / 307.3 MB, free: 11.2 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000541/0.1208, allocations: 0.868 MB / 308.2 MB, free: 10.43 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/0.1208, allocations: 192 / 308.2 MB, free: 10.43 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.653e-05/0.1208, allocations: 21.38 kB / 308.2 MB, free: 10.42 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.176e-06/0.1208, allocations: 7.281 kB / 308.2 MB, free: 10.42 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004975/0.1213, allocations: 338.3 kB / 308.5 MB, free: 10.32 MB / 282.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.001191/0.1225, allocations: 1.016 MB / 309.5 MB, free: 9.711 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003881/0.1229, allocations: 280.3 kB / 309.8 MB, free: 9.602 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000215/0.1231, allocations: 171.1 kB / 310 MB, free: 9.535 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.662e-05/0.1232, allocations: 5.859 kB / 310 MB, free: 9.535 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.536e-05/0.1232, allocations: 39.62 kB / 310 MB, free: 9.492 MB / 282.7 MB Notification: Performance of pre-optimization done (n=35): time 1.423e-06/0.1232, allocations: 0 / 310 MB, free: 9.492 MB / 282.7 MB Notification: Performance of matching and sorting (n=35): time 0.0009378/0.1241, allocations: 0.5759 MB / 310.6 MB, free: 9.258 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.119e-05/0.1242, allocations: 444.6 kB / 311 MB, free: 8.727 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003638/0.1245, allocations: 466 kB / 311.5 MB, free: 8.496 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.473e-05/0.1246, allocations: 32.86 kB / 311.5 MB, free: 8.461 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001005/0.1247, allocations: 242.8 kB / 311.8 MB, free: 8.266 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.448e-05/0.1247, allocations: 129.7 kB / 311.9 MB, free: 8.164 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.937e-05/0.1248, allocations: 75.69 kB / 312 MB, free: 8.121 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.213e-05/0.1249, allocations: 360.8 kB / 312.3 MB, free: 7.785 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002136/0.1251, allocations: 165.9 kB / 312.5 MB, free: 7.711 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003168/0.1254, allocations: 0.6824 MB / 313.2 MB, free: 7.004 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004028/0.1258, allocations: 335 kB / 313.5 MB, free: 6.848 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.1258, allocations: 1.5 kB / 313.5 MB, free: 6.848 MB / 282.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0005467/0.1263, allocations: 0.5063 MB / 314 MB, free: 6.582 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.362e-05/0.1264, allocations: 31.81 kB / 314 MB, free: 6.551 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.1264, allocations: 0.625 kB / 314 MB, free: 6.551 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001244/0.1265, allocations: 47.56 kB / 314.1 MB, free: 6.527 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002046/0.1267, allocations: 88.12 kB / 314.2 MB, free: 6.516 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001061/0.1278, allocations: 2.736 MB / 316.9 MB, free: 3.871 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002036/0.128, allocations: 54.14 kB / 317 MB, free: 3.848 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.008e-05/0.128, allocations: 20.42 kB / 317 MB, free: 3.836 MB / 282.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.0001179/0.1281, allocations: 171 kB / 317.1 MB, free: 3.688 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.222e-05/0.1281, allocations: 55.64 kB / 317.2 MB, free: 3.66 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.103e-05/0.1282, allocations: 54.38 kB / 317.2 MB, free: 3.625 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.1282, allocations: 5.406 kB / 317.3 MB, free: 3.625 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.783e-06/0.1282, allocations: 0 / 317.3 MB, free: 3.625 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004745/0.1287, allocations: 0.7254 MB / 318 MB, free: 3 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009492/0.1296, allocations: 0.9051 MB / 318.9 MB, free: 2.461 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.1296, allocations: 4.75 kB / 318.9 MB, free: 2.457 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002311/0.1299, allocations: 85.27 kB / 319 MB, free: 2.453 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.1299, allocations: 1.344 kB / 319 MB, free: 2.453 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.761e-05/0.1299, allocations: 17.83 kB / 319 MB, free: 2.441 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.1299, allocations: 2.812 kB / 319 MB, free: 2.441 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1299, allocations: 0 / 319 MB, free: 2.441 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007397/0.1306, allocations: 0.6523 MB / 319.6 MB, free: 2.105 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001207/0.1307, allocations: 91.05 kB / 319.7 MB, free: 2.051 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.72e-05/0.1308, allocations: 20.78 kB / 319.8 MB, free: 2.035 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001785/0.131, allocations: 26.27 kB / 319.8 MB, free: 2.031 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.248e-05/0.131, allocations: 24.67 kB / 319.8 MB, free: 2.027 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.308e-05/0.131, allocations: 10.36 kB / 319.8 MB, free: 2.023 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002297/0.1313, allocations: 327.2 kB / 320.1 MB, free: 1.867 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1313, allocations: 0 / 320.1 MB, free: 1.867 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000277/0.1315, allocations: 139.6 kB / 320.3 MB, free: 1.844 MB / 282.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.0008361/0.1324, allocations: 1.205 MB / 321.5 MB, free: 0.9727 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0007106/0.1331, allocations: 0.645 MB / 322.1 MB, free: 0.5508 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.1331, allocations: 1.219 kB / 322.1 MB, free: 0.5508 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002382/0.1333, allocations: 167.4 kB / 322.3 MB, free: 0.5 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004502/0.1338, allocations: 143.3 kB / 322.4 MB, free: 464 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00462/0.1384, allocations: 4.62 MB / 327 MB, free: 13.81 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000161/0.1386, allocations: 228.2 kB / 327.3 MB, free: 13.72 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001899/0.1387, allocations: 66.09 kB / 327.3 MB, free: 13.7 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001769/0.1389, allocations: 179.9 kB / 327.5 MB, free: 13.57 MB / 298.7 MB Notification: Performance of SimCode: time 6.71e-07/0.1389, allocations: 0 / 327.5 MB, free: 13.57 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03192/0.1708, allocations: 15.48 MB / 343 MB, free: 0.5781 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.074/8.245, allocations: 11.83 kB / 343 MB, free: 0.5664 MB / 298.7 MB " [Timeout remaining time 652] (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_OneMass_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_OneMass.fmu > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/OneMass/OneMass.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.80948305875063]