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.001099/0.0011, allocations: 113.3 kB / 17.28 MB, free: 6.312 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.001709/0.001709, allocations: 189.3 kB / 18.19 MB, free: 5.395 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.343/1.343, allocations: 205.1 MB / 224 MB, free: 12.44 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.001282/0.001282, allocations: 64.06 kB / 280.3 MB, free: 3.383 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09897/0.1003, allocations: 46.61 MB / 326.9 MB, free: 4.699 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.005772/0.1061, allocations: 3.688 MB / 330.6 MB, free: 0.9883 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002041/0.1082, allocations: 1.017 MB / 331.6 MB, free: 15.96 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004386/0.1086, allocations: 11.94 kB / 331.6 MB, free: 15.95 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004736/0.1092, allocations: 83.42 kB / 331.7 MB, free: 15.87 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006119/0.1098, allocations: 170.7 kB / 331.8 MB, free: 15.7 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003258/0.1101, allocations: 119.8 kB / 332 MB, free: 15.58 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007081/0.1108, allocations: 0.6692 MB / 332.6 MB, free: 14.91 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002734/0.1111, allocations: 198.5 kB / 332.8 MB, free: 14.71 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000236/0.1114, allocations: 263 kB / 333.1 MB, free: 14.46 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002689/0.1117, allocations: 290.8 kB / 333.4 MB, free: 14.17 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 7.344e-05/0.1117, allocations: 56 kB / 333.4 MB, free: 14.12 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.26e-05/0.1118, allocations: 60 kB / 333.5 MB, free: 14.06 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.673e-05/0.1119, allocations: 123.5 kB / 333.6 MB, free: 13.94 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002333/0.1122, allocations: 314.5 kB / 333.9 MB, free: 13.63 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005469/0.1127, allocations: 0.6813 MB / 334.6 MB, free: 12.95 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.1127, allocations: 0 / 334.6 MB, free: 12.95 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1127, allocations: 3.938 kB / 334.6 MB, free: 12.94 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.464e-06/0.1128, allocations: 0 / 334.6 MB, free: 12.94 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.001419/0.1142, allocations: 0.8972 MB / 335.5 MB, free: 11.98 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/0.1142, allocations: 8.031 kB / 335.5 MB, free: 11.98 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001105/0.1143, allocations: 75.38 kB / 335.6 MB, free: 11.89 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001046/0.1145, allocations: 68.19 kB / 335.6 MB, free: 11.83 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006109/0.1151, allocations: 430.4 kB / 336.1 MB, free: 11.37 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001931/0.1153, allocations: 82.89 kB / 336.1 MB, free: 11.29 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.367e-05/0.1154, allocations: 40.36 kB / 336.2 MB, free: 11.25 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008407/0.1162, allocations: 0.493 MB / 336.7 MB, free: 10.7 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.388e-05/0.1162, allocations: 0 / 336.7 MB, free: 10.7 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.87e-05/0.1163, allocations: 16 kB / 336.7 MB, free: 10.68 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.959e-06/0.1163, allocations: 8 kB / 336.7 MB, free: 10.67 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008747/0.1172, allocations: 374.3 kB / 337.1 MB, free: 10.31 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.001923/0.1191, allocations: 1.31 MB / 338.4 MB, free: 8.906 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006953/0.1198, allocations: 399.5 kB / 338.8 MB, free: 8.488 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004073/0.1202, allocations: 192.7 kB / 338.9 MB, free: 8.297 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.676e-05/0.1203, allocations: 4 kB / 338.9 MB, free: 8.293 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.633e-05/0.1203, allocations: 42.56 kB / 339 MB, free: 8.242 MB / 286.1 MB Notification: Performance of pre-optimization done (n=35): time 1.483e-06/0.1203, allocations: 0 / 339 MB, free: 8.242 MB / 286.1 MB Notification: Performance of matching and sorting (n=35): time 0.001645/0.122, allocations: 0.7588 MB / 339.7 MB, free: 7.434 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001906/0.1222, allocations: 444.9 kB / 340.2 MB, free: 6.895 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004732/0.1226, allocations: 461.9 kB / 340.6 MB, free: 6.43 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.182e-05/0.1227, allocations: 33.7 kB / 340.7 MB, free: 6.391 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001691/0.1229, allocations: 248.3 kB / 340.9 MB, free: 6.145 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.341e-05/0.123, allocations: 114.3 kB / 341 MB, free: 6.031 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001304/0.1231, allocations: 85.38 kB / 341.1 MB, free: 5.941 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001369/0.1233, allocations: 362.8 kB / 341.5 MB, free: 5.578 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003987/0.1237, allocations: 143.9 kB / 341.6 MB, free: 5.438 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005151/0.1242, allocations: 306.5 kB / 341.9 MB, free: 5.086 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007765/0.125, allocations: 357.2 kB / 342.2 MB, free: 4.727 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.125, allocations: 4 kB / 342.2 MB, free: 4.723 MB / 286.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009889/0.126, allocations: 0.5053 MB / 342.8 MB, free: 4.199 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.908e-05/0.126, allocations: 29.7 kB / 342.8 MB, free: 4.164 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.126, allocations: 0 / 342.8 MB, free: 4.164 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001697/0.1262, allocations: 53.73 kB / 342.8 MB, free: 4.105 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004138/0.1266, allocations: 87.86 kB / 342.9 MB, free: 4.02 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002415/0.1291, allocations: 2.97 MB / 345.9 MB, free: 0.7695 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00043/0.1295, allocations: 59.69 kB / 345.9 MB, free: 0.7109 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.914e-05/0.1295, allocations: 8 kB / 346 MB, free: 0.7031 MB / 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.0002131/0.1298, allocations: 170.1 kB / 346.1 MB, free: 0.5273 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.175e-05/0.1299, allocations: 51.44 kB / 346.2 MB, free: 488 kB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.42e-05/0.13, allocations: 64.69 kB / 346.2 MB, free: 424 kB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.13, allocations: 0 / 346.2 MB, free: 424 kB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.165e-06/0.13, allocations: 7.938 kB / 346.2 MB, free: 416 kB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001048/0.131, allocations: 0.7544 MB / 347 MB, free: 15.55 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001601/0.1327, allocations: 1.032 MB / 348 MB, free: 14.45 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/0.1327, allocations: 3.938 kB / 348 MB, free: 14.45 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000443/0.1331, allocations: 99.86 kB / 348.1 MB, free: 14.35 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.1331, allocations: 7.938 kB / 348.1 MB, free: 14.34 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.549e-05/0.1332, allocations: 4 kB / 348.1 MB, free: 14.34 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.1332, allocations: 4 kB / 348.1 MB, free: 14.34 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.1332, allocations: 0 / 348.1 MB, free: 14.34 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001293/0.1345, allocations: 0.6977 MB / 348.8 MB, free: 13.62 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001856/0.1347, allocations: 168.4 kB / 349 MB, free: 13.44 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.507e-05/0.1347, allocations: 11.98 kB / 349 MB, free: 13.43 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003805/0.1351, allocations: 40.03 kB / 349.1 MB, free: 13.39 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.535e-05/0.1352, allocations: 23.97 kB / 349.1 MB, free: 13.36 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.9e-05/0.1352, allocations: 8 kB / 349.1 MB, free: 13.36 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000344/0.1356, allocations: 327.1 kB / 349.4 MB, free: 13.04 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1356, allocations: 0 / 349.4 MB, free: 13.04 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004309/0.136, allocations: 143.8 kB / 349.6 MB, free: 12.9 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.001657/0.1377, allocations: 1.242 MB / 350.8 MB, free: 11.63 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001309/0.139, allocations: 0.6762 MB / 351.5 MB, free: 10.91 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.139, allocations: 0 / 351.5 MB, free: 10.91 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000424/0.1395, allocations: 192.2 kB / 351.7 MB, free: 10.73 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006913/0.1402, allocations: 141 kB / 351.8 MB, free: 10.59 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006715/0.1469, allocations: 4.894 MB / 356.7 MB, free: 5.59 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003972/0.1473, allocations: 0.8313 MB / 357.5 MB, free: 4.73 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002755/0.1476, allocations: 68.23 kB / 357.6 MB, free: 4.66 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002467/0.1478, allocations: 175.4 kB / 357.8 MB, free: 4.488 MB / 302.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1479, allocations: 0 / 357.8 MB, free: 4.488 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02939/0.1772, allocations: 13.22 MB / 371 MB, free: 7.234 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001853/0.1775, allocations: 229.9 kB / 371.2 MB, free: 6.977 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.128/2.306, allocations: 4 kB / 371.2 MB, free: 6.973 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","../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches