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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.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_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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001142/0.001142, allocations: 106.4 kB / 17.58 MB, free: 5.562 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001177/0.001177, allocations: 184.2 kB / 18.5 MB, free: 4.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.285/1.285, allocations: 205.1 MB / 224.4 MB, free: 12.3 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001307/0.001307, allocations: 51.92 kB / 280.8 MB, free: 3.078 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08138/0.0827, allocations: 46.62 MB / 327.4 MB, free: 4.387 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.005329/0.08808, allocations: 3.662 MB / 331 MB, free: 0.6953 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002447/0.09056, allocations: 1.017 MB / 332.1 MB, free: 15.66 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005495/0.09116, allocations: 7.938 kB / 332.1 MB, free: 15.66 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005451/0.09172, allocations: 115 kB / 332.2 MB, free: 15.54 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009943/0.09273, allocations: 194.3 kB / 332.4 MB, free: 15.35 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005018/0.09325, allocations: 127.8 kB / 332.5 MB, free: 15.23 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001089/0.09436, allocations: 0.6691 MB / 333.2 MB, free: 14.56 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003556/0.09473, allocations: 198.5 kB / 333.3 MB, free: 14.36 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000417/0.09516, allocations: 259 kB / 333.6 MB, free: 14.11 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005333/0.0957, allocations: 302.7 kB / 333.9 MB, free: 13.81 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000154/0.09586, allocations: 56 kB / 334 MB, free: 13.76 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001454/0.09602, allocations: 60 kB / 334 MB, free: 13.7 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001192/0.09614, allocations: 119.5 kB / 334.1 MB, free: 13.58 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003533/0.0965, allocations: 306.6 kB / 334.4 MB, free: 13.28 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007185/0.09723, allocations: 0.6813 MB / 335.1 MB, free: 12.6 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.09724, allocations: 4 kB / 335.1 MB, free: 12.59 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.09725, allocations: 0 / 335.1 MB, free: 12.59 MB / 286.1 MB Notification: Performance of Transformations before backend: time 2.201e-05/0.09728, allocations: 0 / 335.1 MB, free: 12.59 MB / 286.1 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.001964/0.09925, allocations: 0.8972 MB / 336 MB, free: 11.64 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.984e-05/0.09931, allocations: 8.031 kB / 336 MB, free: 11.63 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001338/0.09945, allocations: 79.36 kB / 336.1 MB, free: 11.54 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001399/0.0996, allocations: 64.19 kB / 336.2 MB, free: 11.48 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006781/0.1003, allocations: 442.4 kB / 336.6 MB, free: 11.01 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002178/0.1005, allocations: 82.89 kB / 336.7 MB, free: 10.93 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.773e-05/0.1006, allocations: 28.38 kB / 336.7 MB, free: 10.9 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008906/0.1015, allocations: 0.4969 MB / 337.2 MB, free: 10.34 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.557e-05/0.1015, allocations: 0 / 337.2 MB, free: 10.34 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.542e-05/0.1016, allocations: 20 kB / 337.2 MB, free: 10.32 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.11e-05/0.1016, allocations: 8 kB / 337.2 MB, free: 10.32 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001084/0.1027, allocations: 370.3 kB / 337.6 MB, free: 9.953 MB / 286.1 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.00241/0.1051, allocations: 1.314 MB / 338.9 MB, free: 8.547 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007704/0.1059, allocations: 395.4 kB / 339.3 MB, free: 8.133 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004453/0.1063, allocations: 196.7 kB / 339.5 MB, free: 7.938 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.832e-05/0.1064, allocations: 4 kB / 339.5 MB, free: 7.934 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.31e-05/0.1064, allocations: 42.56 kB / 339.5 MB, free: 7.883 MB / 286.1 MB Notification: Performance of pre-optimization done (n=35): time 1.513e-06/0.1064, allocations: 4 kB / 339.5 MB, free: 7.879 MB / 286.1 MB Notification: Performance of matching and sorting (n=35): time 0.001822/0.1083, allocations: 0.7471 MB / 340.3 MB, free: 7.082 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002755/0.1085, allocations: 452.9 kB / 340.7 MB, free: 6.535 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005301/0.1091, allocations: 461.8 kB / 341.2 MB, free: 6.07 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.649e-05/0.1091, allocations: 33.7 kB / 341.2 MB, free: 6.031 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001748/0.1093, allocations: 248.3 kB / 341.4 MB, free: 5.785 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000106/0.1094, allocations: 118.3 kB / 341.6 MB, free: 5.668 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001271/0.1096, allocations: 85.38 kB / 341.6 MB, free: 5.578 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001497/0.1097, allocations: 354.8 kB / 342 MB, free: 5.223 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004123/0.1101, allocations: 151.9 kB / 342.1 MB, free: 5.074 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005142/0.1107, allocations: 294.6 kB / 342.4 MB, free: 4.734 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008203/0.1115, allocations: 365.1 kB / 342.8 MB, free: 4.367 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.1115, allocations: 0 / 342.8 MB, free: 4.367 MB / 286.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001074/0.1126, allocations: 0.5092 MB / 343.3 MB, free: 3.84 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.414e-05/0.1126, allocations: 33.7 kB / 343.3 MB, free: 3.801 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.1126, allocations: 0 / 343.3 MB, free: 3.801 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001592/0.1128, allocations: 45.7 kB / 343.4 MB, free: 3.75 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004166/0.1132, allocations: 99.84 kB / 343.5 MB, free: 3.652 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00226/0.1155, allocations: 2.962 MB / 346.4 MB, free: 420 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004373/0.116, allocations: 59.69 kB / 346.5 MB, free: 360 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.9e-05/0.116, allocations: 12 kB / 346.5 MB, free: 348 kB / 286.1 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.0001989/0.1162, allocations: 170.1 kB / 346.7 MB, free: 168 kB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.706e-05/0.1163, allocations: 51.44 kB / 346.7 MB, free: 116 kB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.595e-05/0.1164, allocations: 56.75 kB / 346.8 MB, free: 60 kB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.1164, allocations: 8 kB / 346.8 MB, free: 52 kB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.031e-05/0.1164, allocations: 7.875 kB / 346.8 MB, free: 44 kB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001053/0.1175, allocations: 0.7464 MB / 347.5 MB, free: 15.19 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001671/0.1192, allocations: 1.036 MB / 348.6 MB, free: 14.09 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/0.1192, allocations: 7.875 kB / 348.6 MB, free: 14.09 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004428/0.1197, allocations: 103.9 kB / 348.7 MB, free: 13.98 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.476e-06/0.1197, allocations: 0 / 348.7 MB, free: 13.98 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.417e-05/0.1197, allocations: 8 kB / 348.7 MB, free: 13.98 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.1197, allocations: 0 / 348.7 MB, free: 13.98 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.1197, allocations: 240 / 348.7 MB, free: 13.98 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001325/0.121, allocations: 0.6939 MB / 349.4 MB, free: 13.27 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002018/0.1213, allocations: 172.4 kB / 349.5 MB, free: 13.08 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.27e-05/0.1213, allocations: 12 kB / 349.6 MB, free: 13.07 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004026/0.1217, allocations: 31.95 kB / 349.6 MB, free: 13.04 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.014e-05/0.1218, allocations: 27.97 kB / 349.6 MB, free: 13.01 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.911e-05/0.1219, allocations: 12.06 kB / 349.6 MB, free: 13 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003421/0.1222, allocations: 331.1 kB / 350 MB, free: 12.67 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1222, allocations: 0 / 350 MB, free: 12.67 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004267/0.1227, allocations: 143.8 kB / 350.1 MB, free: 12.53 MB / 302.1 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.001599/0.1243, allocations: 1.235 MB / 351.3 MB, free: 11.27 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001342/0.1256, allocations: 0.6762 MB / 352 MB, free: 10.55 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.1256, allocations: 0 / 352 MB, free: 10.55 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004578/0.1261, allocations: 196.3 kB / 352.2 MB, free: 10.36 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007456/0.1269, allocations: 141 kB / 352.3 MB, free: 10.23 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006764/0.1336, allocations: 4.751 MB / 357.1 MB, free: 5.375 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000374/0.134, allocations: 0.8275 MB / 357.9 MB, free: 4.52 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002675/0.1343, allocations: 60.36 kB / 358 MB, free: 4.457 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000227/0.1345, allocations: 179.4 kB / 358.1 MB, free: 4.281 MB / 302.1 MB Notification: Performance of SimCode: time 4.1e-07/0.1346, allocations: 0 / 358.1 MB, free: 4.281 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05284/0.1874, allocations: 13.51 MB / 371.7 MB, free: 6.688 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.01/11.2, allocations: 3.953 kB / 371.7 MB, free: 6.684 MB / 318.1 MB (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 --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) diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/OneMass/OneMass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches