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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001266/0.001266, allocations: 125 kB / 17.79 MB, free: 5.121 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001274/0.001274, allocations: 190.9 kB / 20.73 MB, free: 2.184 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.369/1.369, allocations: 225.6 MB / 249.1 MB, free: 3.648 MB / 190.1 MB " [Timeout remaining time 178] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001465/0.001465, allocations: 51.91 kB / 365.6 MB, free: 0.8828 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09528/0.09674, allocations: 52.14 MB / 417.8 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.00497/0.1017, allocations: 3.689 MB / 421.5 MB, free: 8.941 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001676/0.1034, allocations: 0.9891 MB / 422.4 MB, free: 7.945 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001731/0.1036, allocations: 7.938 kB / 422.4 MB, free: 7.938 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000322/0.1039, allocations: 107 kB / 422.6 MB, free: 7.832 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000387/0.1043, allocations: 202.3 kB / 422.8 MB, free: 7.633 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002652/0.1045, allocations: 135.8 kB / 422.9 MB, free: 7.5 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007243/0.1053, allocations: 0.6759 MB / 423.6 MB, free: 6.824 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002321/0.1055, allocations: 126.3 kB / 423.7 MB, free: 6.691 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002681/0.1058, allocations: 263 kB / 423.9 MB, free: 6.434 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003308/0.1061, allocations: 290.8 kB / 424.2 MB, free: 6.148 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.859e-05/0.1062, allocations: 60 kB / 424.3 MB, free: 6.09 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.706e-05/0.1063, allocations: 60 kB / 424.3 MB, free: 6.031 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001085/0.1064, allocations: 127.5 kB / 424.5 MB, free: 5.906 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002876/0.1067, allocations: 310.5 kB / 424.8 MB, free: 5.602 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000725/0.1074, allocations: 0.6925 MB / 425.5 MB, free: 4.906 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.1074, allocations: 0 / 425.5 MB, free: 4.906 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1074, allocations: 0 / 425.5 MB, free: 4.906 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.995e-06/0.1074, allocations: 0 / 425.5 MB, free: 4.906 MB / 350.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.001534/0.1089, allocations: 0.9163 MB / 426.4 MB, free: 3.934 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.684e-05/0.109, allocations: 8.031 kB / 426.4 MB, free: 3.926 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001169/0.1091, allocations: 83.25 kB / 426.5 MB, free: 3.836 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001062/0.1092, allocations: 68.56 kB / 426.5 MB, free: 3.77 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007352/0.1099, allocations: 446.8 kB / 427 MB, free: 3.293 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.397e-05/0.11, allocations: 54.92 kB / 427 MB, free: 3.23 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.779e-05/0.1101, allocations: 36.36 kB / 427.1 MB, free: 3.195 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008349/0.1109, allocations: 492.8 kB / 427.5 MB, free: 2.66 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.767e-05/0.1109, allocations: 7.938 kB / 427.5 MB, free: 2.652 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.686e-05/0.111, allocations: 16 kB / 427.6 MB, free: 2.637 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.578e-06/0.111, allocations: 8 kB / 427.6 MB, free: 2.629 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008045/0.1118, allocations: 342.4 kB / 427.9 MB, free: 2.293 MB / 350.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.001997/0.1138, allocations: 1.291 MB / 429.2 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006646/0.1144, allocations: 366.3 kB / 429.6 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003783/0.1148, allocations: 164.8 kB / 429.7 MB, free: 376 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.547e-05/0.1149, allocations: 12.56 kB / 429.7 MB, free: 364 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.694e-05/0.1149, allocations: 38.56 kB / 429.8 MB, free: 316 kB / 350.1 MB Notification: Performance of pre-optimization done (n=35): time 1.422e-06/0.1149, allocations: 0 / 429.8 MB, free: 316 kB / 350.1 MB Notification: Performance of matching and sorting (n=35): time 0.001567/0.1165, allocations: 0.7234 MB / 430.5 MB, free: 15.54 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000234/0.1167, allocations: 452.9 kB / 430.9 MB, free: 14.99 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005202/0.1172, allocations: 461.9 kB / 431.4 MB, free: 14.53 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.811e-05/0.1173, allocations: 33.7 kB / 431.4 MB, free: 14.49 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001928/0.1174, allocations: 244.6 kB / 431.7 MB, free: 14.25 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001102/0.1176, allocations: 130.9 kB / 431.8 MB, free: 14.12 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001296/0.1177, allocations: 73.69 kB / 431.9 MB, free: 14.04 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001748/0.1179, allocations: 354.8 kB / 432.2 MB, free: 13.68 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003621/0.1182, allocations: 147.8 kB / 432.3 MB, free: 13.54 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000502/0.1187, allocations: 280.9 kB / 432.6 MB, free: 13.21 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007367/0.1195, allocations: 349 kB / 433 MB, free: 12.86 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.1195, allocations: 0 / 433 MB, free: 12.86 MB / 366.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009726/0.1204, allocations: 486 kB / 433.4 MB, free: 12.37 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.572e-05/0.1205, allocations: 29.7 kB / 433.5 MB, free: 12.33 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.1205, allocations: 0 / 433.5 MB, free: 12.33 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001564/0.1206, allocations: 57.72 kB / 433.5 MB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003859/0.121, allocations: 83.88 kB / 433.6 MB, free: 12.19 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002665/0.1237, allocations: 2.962 MB / 436.6 MB, free: 8.945 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003979/0.1241, allocations: 51.8 kB / 436.6 MB, free: 8.895 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.837e-05/0.1241, allocations: 12 kB / 436.6 MB, free: 8.883 MB / 366.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.000218/0.1243, allocations: 173.8 kB / 436.8 MB, free: 8.703 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.254e-05/0.1244, allocations: 59.67 kB / 436.9 MB, free: 8.645 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.701e-05/0.1245, allocations: 48.77 kB / 436.9 MB, free: 8.59 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.549e-05/0.1246, allocations: 4 kB / 436.9 MB, free: 8.586 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.1246, allocations: 3.938 kB / 436.9 MB, free: 8.582 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009871/0.1256, allocations: 0.7309 MB / 437.6 MB, free: 7.746 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001635/0.1272, allocations: 1.013 MB / 438.7 MB, free: 6.668 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.1272, allocations: 3.938 kB / 438.7 MB, free: 6.664 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000431/0.1276, allocations: 91.88 kB / 438.7 MB, free: 6.574 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/0.1277, allocations: 4 kB / 438.7 MB, free: 6.57 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.091e-05/0.1277, allocations: 4 kB / 438.8 MB, free: 6.566 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.792e-06/0.1277, allocations: 7.984 kB / 438.8 MB, free: 6.559 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1277, allocations: 0 / 438.8 MB, free: 6.559 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001244/0.1289, allocations: 0.6493 MB / 439.4 MB, free: 5.895 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002037/0.1291, allocations: 168.7 kB / 439.6 MB, free: 5.711 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.401e-05/0.1292, allocations: 12 kB / 439.6 MB, free: 5.699 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003507/0.1295, allocations: 23.97 kB / 439.6 MB, free: 5.676 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.083e-05/0.1296, allocations: 31.97 kB / 439.6 MB, free: 5.645 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.359e-05/0.1296, allocations: 12 kB / 439.7 MB, free: 5.633 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003758/0.13, allocations: 323.1 kB / 440 MB, free: 5.324 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.13, allocations: 0 / 440 MB, free: 5.324 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004179/0.1304, allocations: 139.8 kB / 440.1 MB, free: 5.188 MB / 366.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.001635/0.1321, allocations: 1.215 MB / 441.3 MB, free: 3.945 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001253/0.1333, allocations: 0.6176 MB / 441.9 MB, free: 3.289 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.606e-06/0.1333, allocations: 0 / 441.9 MB, free: 3.289 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000393/0.1337, allocations: 172.2 kB / 442.1 MB, free: 3.121 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007135/0.1344, allocations: 146 kB / 442.2 MB, free: 2.98 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1693/0.3037, allocations: 4.524 MB / 446.8 MB, free: 29.49 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000208/0.3039, allocations: 0.8282 MB / 447.6 MB, free: 28.79 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000257/0.3041, allocations: 69.39 kB / 447.7 MB, free: 28.78 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002112/0.3044, allocations: 171.7 kB / 447.8 MB, free: 28.77 MB / 366.1 MB Notification: Performance of SimCode: time 1.292e-06/0.3044, allocations: 0 / 447.8 MB, free: 28.77 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04432/0.3487, allocations: 13.74 MB / 461.6 MB, free: 25.71 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.78/12.13, allocations: 15.3 kB / 461.6 MB, free: 25.7 MB / 366.1 MB " [Timeout remaining time 648] (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 --stepSize=0.001 --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) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/OneMass/OneMass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 14.370284813921899]