Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) 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.FluidHeatFlow.Examples.OneMass,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_OneMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.OneMass,fileNamePrefix="Modelica_4_0_0_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.001046/0.001046, allocations: 106.1 kB / 16.51 MB, free: 6.645 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.0009625/0.0009626, allocations: 195.1 kB / 17.42 MB, free: 6.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.121/1.121, allocations: 222.9 MB / 241.1 MB, free: 15.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0008739/0.000874, allocations: 47.27 kB / 300.1 MB, free: 6.246 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07137/0.07226, allocations: 49.45 MB / 349.5 MB, free: 4.789 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.003795/0.07608, allocations: 3.68 MB / 353.2 MB, free: 1.082 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001344/0.07744, allocations: 0.9814 MB / 354.2 MB, free: 96 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000216/0.07767, allocations: 7.938 kB / 354.2 MB, free: 88 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002538/0.07793, allocations: 83.44 kB / 354.3 MB, free: 4 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003582/0.07831, allocations: 174.7 kB / 354.4 MB, free: 15.83 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000216/0.07853, allocations: 111.9 kB / 354.5 MB, free: 15.72 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005307/0.07907, allocations: 0.6494 MB / 355.2 MB, free: 15.07 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002075/0.07929, allocations: 178.8 kB / 355.4 MB, free: 14.89 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000228/0.07952, allocations: 231.1 kB / 355.6 MB, free: 14.67 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002536/0.07978, allocations: 290.7 kB / 355.9 MB, free: 14.38 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.803e-05/0.07986, allocations: 40 kB / 355.9 MB, free: 14.34 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.35e-05/0.07995, allocations: 44 kB / 356 MB, free: 14.3 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.762e-05/0.08003, allocations: 103.6 kB / 356.1 MB, free: 14.2 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002352/0.08027, allocations: 294.5 kB / 356.3 MB, free: 13.91 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004536/0.08073, allocations: 0.6656 MB / 357 MB, free: 13.24 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.08074, allocations: 0 / 357 MB, free: 13.24 MB / 302.1 MB Notification: Performance of FrontEnd: time 7.01e-07/0.08075, allocations: 4 kB / 357 MB, free: 13.24 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.005e-05/0.08077, allocations: 0 / 357 MB, free: 13.24 MB / 302.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.001289/0.08206, allocations: 0.8956 MB / 357.9 MB, free: 12.29 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.798e-05/0.0821, allocations: 8.031 kB / 357.9 MB, free: 12.28 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.313e-05/0.08219, allocations: 83.27 kB / 358 MB, free: 12.19 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.633e-05/0.0823, allocations: 64.28 kB / 358.1 MB, free: 12.12 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005565/0.08286, allocations: 438.4 kB / 358.5 MB, free: 11.66 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001847/0.08305, allocations: 78.89 kB / 358.6 MB, free: 11.57 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.953e-05/0.08311, allocations: 36.38 kB / 358.6 MB, free: 11.54 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007768/0.08389, allocations: 0.5008 MB / 359.1 MB, free: 10.98 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.08391, allocations: 0 / 359.1 MB, free: 10.98 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.502e-05/0.08395, allocations: 12 kB / 359.1 MB, free: 10.97 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.788e-06/0.08397, allocations: 8 kB / 359.1 MB, free: 10.96 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000828/0.0848, allocations: 370.4 kB / 359.5 MB, free: 10.6 MB / 302.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.001713/0.08652, allocations: 1.318 MB / 360.8 MB, free: 9.195 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006393/0.08717, allocations: 399.3 kB / 361.2 MB, free: 8.777 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003872/0.08757, allocations: 188.7 kB / 361.4 MB, free: 8.59 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.335e-05/0.08761, allocations: 19.97 kB / 361.4 MB, free: 8.57 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.169e-05/0.08764, allocations: 38.56 kB / 361.4 MB, free: 8.523 MB / 302.1 MB Notification: Performance of pre-optimization done (n=35): time 1.383e-06/0.08765, allocations: 0 / 361.4 MB, free: 8.523 MB / 302.1 MB Notification: Performance of matching and sorting (n=35): time 0.001477/0.08913, allocations: 0.7549 MB / 362.2 MB, free: 7.719 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001451/0.08928, allocations: 452.9 kB / 362.6 MB, free: 7.172 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004331/0.08972, allocations: 453.9 kB / 363.1 MB, free: 6.715 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.423e-05/0.08976, allocations: 37.7 kB / 363.1 MB, free: 6.672 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001481/0.08992, allocations: 244.3 kB / 363.3 MB, free: 6.43 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.294e-05/0.09001, allocations: 122.2 kB / 363.5 MB, free: 6.309 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001199/0.09013, allocations: 77.69 kB / 363.5 MB, free: 6.227 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001126/0.09025, allocations: 358.8 kB / 363.9 MB, free: 5.867 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003788/0.09064, allocations: 147.9 kB / 364 MB, free: 5.723 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004773/0.09112, allocations: 298.7 kB / 364.3 MB, free: 5.379 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007441/0.09187, allocations: 365.2 kB / 364.7 MB, free: 5.012 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.09189, allocations: 0 / 364.7 MB, free: 5.012 MB / 302.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009605/0.09285, allocations: 0.4975 MB / 365.2 MB, free: 4.496 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.146e-05/0.09289, allocations: 36.19 kB / 365.2 MB, free: 4.457 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.0929, allocations: 0 / 365.2 MB, free: 4.457 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001317/0.09304, allocations: 57.67 kB / 365.3 MB, free: 4.395 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003772/0.09342, allocations: 87.92 kB / 365.4 MB, free: 4.309 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001929/0.09536, allocations: 2.736 MB / 368.1 MB, free: 1.305 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003827/0.09576, allocations: 71.58 kB / 368.2 MB, free: 1.234 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.541e-05/0.09579, allocations: 12 kB / 368.2 MB, free: 1.223 MB / 302.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.0001725/0.09597, allocations: 173.7 kB / 368.3 MB, free: 1.043 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.449e-05/0.09606, allocations: 55.44 kB / 368.4 MB, free: 0.9883 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.49e-05/0.09615, allocations: 52.75 kB / 368.5 MB, free: 0.9375 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.09616, allocations: 4 kB / 368.5 MB, free: 0.9336 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-06/0.09617, allocations: 3.938 kB / 368.5 MB, free: 0.9297 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008886/0.09706, allocations: 0.7478 MB / 369.2 MB, free: 80 kB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1345/0.2315, allocations: 1.037 MB / 370.2 MB, free: 25.63 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.656e-06/0.2316, allocations: 0.9375 kB / 370.2 MB, free: 25.63 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004559/0.232, allocations: 99.44 kB / 370.3 MB, free: 25.63 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.073e-06/0.2321, allocations: 1.75 kB / 370.3 MB, free: 25.63 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.253e-05/0.2321, allocations: 6.766 kB / 370.4 MB, free: 25.63 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.929e-06/0.2321, allocations: 6.969 kB / 370.4 MB, free: 25.63 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.2321, allocations: 4.5 kB / 370.4 MB, free: 25.63 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00135/0.2335, allocations: 0.6833 MB / 371 MB, free: 25.49 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002041/0.2337, allocations: 172.5 kB / 371.2 MB, free: 25.4 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.603e-05/0.2338, allocations: 6.969 kB / 371.2 MB, free: 25.4 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003844/0.2342, allocations: 35.42 kB / 371.3 MB, free: 25.4 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.111e-05/0.2343, allocations: 25.62 kB / 371.3 MB, free: 25.4 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.297e-05/0.2343, allocations: 16.97 kB / 371.3 MB, free: 25.4 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003513/0.2346, allocations: 322.6 kB / 371.6 MB, free: 25.31 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2346, allocations: 0 / 371.6 MB, free: 25.31 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004445/0.2351, allocations: 143.2 kB / 371.8 MB, free: 25.31 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.001501/0.2366, allocations: 1.238 MB / 373 MB, free: 24.51 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001093/0.2377, allocations: 0.6585 MB / 373.7 MB, free: 24.12 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.2377, allocations: 1.469 kB / 373.7 MB, free: 24.12 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003931/0.2381, allocations: 193 kB / 373.8 MB, free: 24.07 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007153/0.2389, allocations: 129.6 kB / 374 MB, free: 24.04 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006108/0.245, allocations: 4.889 MB / 378.9 MB, free: 21.21 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002563/0.2452, allocations: 0.8398 MB / 379.7 MB, free: 20.49 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002847/0.2455, allocations: 64.44 kB / 379.8 MB, free: 20.48 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002119/0.2458, allocations: 179.8 kB / 379.9 MB, free: 20.36 MB / 302.1 MB Notification: Performance of SimCode: time 4.21e-07/0.2458, allocations: 0 / 379.9 MB, free: 20.36 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.464/1.71, allocations: 12.73 MB / 392.7 MB, free: 14.86 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001678/1.71, allocations: 229.6 kB / 392.9 MB, free: 14.61 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.015/3.724, allocations: 3.938 kB / 392.9 MB, free: 14.61 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_OneMass_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_OneMass.fmu > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/OneMass/OneMass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches