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.001351/0.001351, allocations: 106.4 kB / 16.92 MB, free: 6.145 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.001164/0.001164, allocations: 187.4 kB / 17.85 MB, free: 5.285 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.684/1.684, allocations: 222.9 MB / 241.5 MB, free: 15.21 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001692/0.001692, allocations: 46.8 kB / 300.7 MB, free: 5.77 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1045/0.1062, allocations: 49.45 MB / 350.2 MB, free: 4.305 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.005797/0.1121, allocations: 3.658 MB / 353.8 MB, free: 0.6172 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001979/0.1141, allocations: 0.9774 MB / 354.8 MB, free: 15.63 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004293/0.1145, allocations: 7.938 kB / 354.8 MB, free: 15.62 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004466/0.115, allocations: 111 kB / 354.9 MB, free: 15.52 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006025/0.1156, allocations: 194.3 kB / 355.1 MB, free: 15.32 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004558/0.1161, allocations: 135.8 kB / 355.2 MB, free: 15.19 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001019/0.1171, allocations: 0.6769 MB / 355.9 MB, free: 14.51 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003605/0.1175, allocations: 198.4 kB / 356.1 MB, free: 14.31 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004517/0.118, allocations: 251.1 kB / 356.4 MB, free: 14.07 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004999/0.1185, allocations: 302.7 kB / 356.7 MB, free: 13.77 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001395/0.1186, allocations: 56 kB / 356.7 MB, free: 13.71 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001788/0.1188, allocations: 60 kB / 356.8 MB, free: 13.66 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001221/0.1189, allocations: 123.5 kB / 356.9 MB, free: 13.54 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004196/0.1194, allocations: 310.5 kB / 357.2 MB, free: 13.23 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006852/0.1201, allocations: 0.6852 MB / 357.9 MB, free: 12.54 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/0.1201, allocations: 0 / 357.9 MB, free: 12.54 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1201, allocations: 0 / 357.9 MB, free: 12.54 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.009e-05/0.1201, allocations: 4 kB / 357.9 MB, free: 12.54 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.001867/0.122, allocations: 0.8893 MB / 358.8 MB, free: 11.59 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.603e-05/0.1221, allocations: 12.03 kB / 358.8 MB, free: 11.58 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001824/0.1223, allocations: 79.28 kB / 358.9 MB, free: 11.49 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001846/0.1225, allocations: 60.28 kB / 358.9 MB, free: 11.43 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008708/0.1233, allocations: 434.4 kB / 359.3 MB, free: 10.97 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002403/0.1236, allocations: 90.86 kB / 359.4 MB, free: 10.88 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.322e-05/0.1237, allocations: 36.38 kB / 359.5 MB, free: 10.84 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009056/0.1246, allocations: 0.4891 MB / 360 MB, free: 10.3 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.614e-05/0.1246, allocations: 4 kB / 360 MB, free: 10.29 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.515e-05/0.1247, allocations: 19.98 kB / 360 MB, free: 10.27 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.29e-05/0.1247, allocations: 8 kB / 360 MB, free: 10.27 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009029/0.1256, allocations: 366.4 kB / 360.3 MB, free: 9.91 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.002113/0.1277, allocations: 1.317 MB / 361.7 MB, free: 8.504 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007455/0.1285, allocations: 387.5 kB / 362 MB, free: 8.098 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004458/0.1289, allocations: 192.8 kB / 362.2 MB, free: 7.906 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.239e-05/0.129, allocations: 8 kB / 362.2 MB, free: 7.898 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.759e-05/0.129, allocations: 38.56 kB / 362.3 MB, free: 7.852 MB / 302.1 MB Notification: Performance of pre-optimization done (n=35): time 1.853e-06/0.129, allocations: 0 / 362.3 MB, free: 7.852 MB / 302.1 MB Notification: Performance of matching and sorting (n=35): time 0.001805/0.1308, allocations: 0.7627 MB / 363 MB, free: 7.039 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002895/0.1311, allocations: 441 kB / 363.5 MB, free: 6.504 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007175/0.1319, allocations: 465.9 kB / 363.9 MB, free: 6.035 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.708e-05/0.1319, allocations: 33.7 kB / 364 MB, free: 5.996 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002446/0.1322, allocations: 248.3 kB / 364.2 MB, free: 5.75 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001386/0.1323, allocations: 118.2 kB / 364.3 MB, free: 5.633 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001649/0.1325, allocations: 77.69 kB / 364.4 MB, free: 5.551 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001836/0.1327, allocations: 358.8 kB / 364.7 MB, free: 5.191 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004703/0.1332, allocations: 151.9 kB / 364.9 MB, free: 5.043 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005742/0.1338, allocations: 302.5 kB / 365.2 MB, free: 4.695 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008601/0.1346, allocations: 365.2 kB / 365.5 MB, free: 4.328 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.1347, allocations: 0 / 365.5 MB, free: 4.328 MB / 302.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001091/0.1358, allocations: 0.5014 MB / 366 MB, free: 3.809 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.175e-05/0.1358, allocations: 33.7 kB / 366.1 MB, free: 3.77 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.1358, allocations: 0 / 366.1 MB, free: 3.77 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001702/0.136, allocations: 53.62 kB / 366.1 MB, free: 3.711 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004129/0.1364, allocations: 91.88 kB / 366.2 MB, free: 3.621 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002539/0.139, allocations: 2.962 MB / 369.2 MB, free: 384 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004497/0.1395, allocations: 67.69 kB / 369.2 MB, free: 316 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.962e-05/0.1395, allocations: 8 kB / 369.3 MB, free: 308 kB / 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.0002232/0.1397, allocations: 165.8 kB / 369.4 MB, free: 132 kB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001093/0.1398, allocations: 51.44 kB / 369.5 MB, free: 80 kB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001013/0.14, allocations: 56.75 kB / 369.5 MB, free: 24 kB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.908e-06/0.14, allocations: 7.938 kB / 369.5 MB, free: 16 kB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.14, allocations: 7.938 kB / 369.5 MB, free: 8 kB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2359/0.3759, allocations: 0.7465 MB / 370.3 MB, free: 25.15 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00269/0.3786, allocations: 1.039 MB / 371.3 MB, free: 24.81 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.192e-06/0.3786, allocations: 3.75 kB / 371.3 MB, free: 24.81 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000694/0.3793, allocations: 95.33 kB / 371.4 MB, free: 24.81 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.002e-05/0.3794, allocations: 3.625 kB / 371.4 MB, free: 24.81 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.406e-05/0.3794, allocations: 5.734 kB / 371.4 MB, free: 24.81 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.945e-06/0.3794, allocations: 1.438 kB / 371.4 MB, free: 24.81 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.439e-06/0.3794, allocations: 1.891 kB / 371.4 MB, free: 24.81 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002219/0.3817, allocations: 0.6917 MB / 372.1 MB, free: 24.67 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003111/0.382, allocations: 170.6 kB / 372.3 MB, free: 24.58 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001082/0.3821, allocations: 8.469 kB / 372.3 MB, free: 24.58 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006521/0.3828, allocations: 35.31 kB / 372.3 MB, free: 24.58 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001691/0.383, allocations: 26.56 kB / 372.4 MB, free: 24.58 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.947e-05/0.383, allocations: 7.328 kB / 372.4 MB, free: 24.58 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0006833/0.3837, allocations: 323.7 kB / 372.7 MB, free: 24.47 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.3837, allocations: 0 / 372.7 MB, free: 24.47 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0009464/0.3847, allocations: 136.7 kB / 372.8 MB, free: 24.46 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.002688/0.3874, allocations: 1.245 MB / 374.1 MB, free: 23.62 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002081/0.3895, allocations: 0.6811 MB / 374.7 MB, free: 23.22 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.3895, allocations: 1.812 kB / 374.7 MB, free: 23.22 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006866/0.3902, allocations: 188.2 kB / 374.9 MB, free: 23.17 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001295/0.3915, allocations: 146.5 kB / 375.1 MB, free: 23.14 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01081/0.4023, allocations: 4.748 MB / 379.8 MB, free: 20.47 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003978/0.4028, allocations: 0.8277 MB / 380.6 MB, free: 19.77 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000516/0.4033, allocations: 67.34 kB / 380.7 MB, free: 19.75 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003254/0.4036, allocations: 171 kB / 380.9 MB, free: 19.63 MB / 302.1 MB Notification: Performance of SimCode: time 2.004e-06/0.4037, allocations: 0 / 380.9 MB, free: 19.63 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04984/0.4535, allocations: 13.52 MB / 394.4 MB, free: 13.13 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.18/11.63, allocations: 9.766 kB / 394.4 MB, free: 13.12 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