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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001284/0.001284, allocations: 107.6 kB / 21.18 MB, free: 452 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001421/0.001421, allocations: 214.5 kB / 24.47 MB, free: 3.777 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.36/1.36, allocations: 207.7 MB / 235.3 MB, free: 9.793 MB / 190.1 MB " [Timeout remaining time 178] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001724/0.001724, allocations: 51.92 kB / 347.2 MB, free: 9.887 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2613/0.2631, allocations: 49.15 MB / 396.3 MB, free: 8.879 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.004131/0.2672, allocations: 3.352 MB / 399.7 MB, free: 6.637 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00175/0.2689, allocations: 0.9732 MB / 400.7 MB, free: 5.945 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002229/0.2692, allocations: 9.188 kB / 400.7 MB, free: 5.941 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003183/0.2695, allocations: 109.2 kB / 400.8 MB, free: 5.879 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003619/0.2698, allocations: 203.1 kB / 401 MB, free: 5.734 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002532/0.2701, allocations: 131.7 kB / 401.1 MB, free: 5.66 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006357/0.2707, allocations: 0.6801 MB / 401.8 MB, free: 5.309 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002353/0.271, allocations: 127.1 kB / 401.9 MB, free: 5.234 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002792/0.2712, allocations: 264.5 kB / 402.2 MB, free: 5.113 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003442/0.2716, allocations: 253.7 kB / 402.4 MB, free: 5.004 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001011/0.2717, allocations: 57.59 kB / 402.5 MB, free: 5.004 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001251/0.2718, allocations: 58.12 kB / 402.5 MB, free: 5.004 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001095/0.2719, allocations: 121.3 kB / 402.6 MB, free: 4.922 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002316/0.2722, allocations: 260.5 kB / 402.9 MB, free: 4.789 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007457/0.2729, allocations: 0.7073 MB / 403.6 MB, free: 4.5 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.2729, allocations: 3.938 kB / 403.6 MB, free: 4.496 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.2729, allocations: 4 kB / 403.6 MB, free: 4.492 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.021e-05/0.2729, allocations: 1.062 kB / 403.6 MB, free: 4.492 MB / 318.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.001478/0.2744, allocations: 0.8311 MB / 404.5 MB, free: 3.898 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.2744, allocations: 14.05 kB / 404.5 MB, free: 3.895 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000103/0.2745, allocations: 77.03 kB / 404.5 MB, free: 3.832 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001092/0.2747, allocations: 71.02 kB / 404.6 MB, free: 3.797 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007153/0.2754, allocations: 375.5 kB / 405 MB, free: 3.531 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001001/0.2755, allocations: 111.2 kB / 405.1 MB, free: 3.422 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.95e-05/0.2755, allocations: 34.97 kB / 405.1 MB, free: 3.41 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008297/0.2764, allocations: 0.8634 MB / 406 MB, free: 2.645 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.902e-05/0.2764, allocations: 0 / 406 MB, free: 2.645 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.707e-05/0.2764, allocations: 16.44 kB / 406 MB, free: 2.633 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.049e-05/0.2764, allocations: 8.25 kB / 406 MB, free: 2.633 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000795/0.2772, allocations: 347.2 kB / 406.3 MB, free: 2.523 MB / 318.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.001795/0.279, allocations: 1.025 MB / 407.4 MB, free: 1.895 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005945/0.2796, allocations: 272.1 kB / 407.6 MB, free: 1.793 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003502/0.28, allocations: 171 kB / 407.8 MB, free: 1.727 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.301e-05/0.28, allocations: 5.531 kB / 407.8 MB, free: 1.727 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.139e-05/0.28, allocations: 42.69 kB / 407.8 MB, free: 1.68 MB / 318.1 MB Notification: Performance of pre-optimization done (n=35): time 1.613e-06/0.28, allocations: 0 / 407.8 MB, free: 1.68 MB / 318.1 MB Notification: Performance of matching and sorting (n=35): time 0.001428/0.2814, allocations: 0.5719 MB / 408.4 MB, free: 1.449 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.822e-05/0.2815, allocations: 448.9 kB / 408.9 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000506/0.282, allocations: 461.2 kB / 409.3 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.371e-05/0.2821, allocations: 37.39 kB / 409.3 MB, free: 0.6602 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001358/0.2822, allocations: 246.4 kB / 409.6 MB, free: 468 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.517e-05/0.2823, allocations: 124.1 kB / 409.7 MB, free: 368 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001154/0.2824, allocations: 76.03 kB / 409.8 MB, free: 324 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.969e-05/0.2825, allocations: 357.4 kB / 410.1 MB, free: 15.98 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003999/0.2829, allocations: 163.5 kB / 410.3 MB, free: 15.91 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007337/0.2836, allocations: 0.6893 MB / 411 MB, free: 15.2 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000748/0.2844, allocations: 338.6 kB / 411.3 MB, free: 15.04 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.2844, allocations: 1.438 kB / 411.3 MB, free: 15.04 MB / 334.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001035/0.2854, allocations: 0.501 MB / 411.8 MB, free: 14.77 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.784e-05/0.2855, allocations: 32.25 kB / 411.8 MB, free: 14.74 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.2855, allocations: 0 / 411.8 MB, free: 14.74 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001668/0.2856, allocations: 55.58 kB / 411.9 MB, free: 14.71 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003925/0.286, allocations: 80.11 kB / 412 MB, free: 14.71 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002659/0.2887, allocations: 2.751 MB / 414.7 MB, free: 12.01 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004791/0.2892, allocations: 56.28 kB / 414.8 MB, free: 11.97 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.73e-05/0.2892, allocations: 8.031 kB / 414.8 MB, free: 11.97 MB / 334.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.0002481/0.2894, allocations: 173.1 kB / 415 MB, free: 11.82 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.4e-05/0.2895, allocations: 58.42 kB / 415 MB, free: 11.79 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001036/0.2896, allocations: 57.69 kB / 415.1 MB, free: 11.74 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.938e-06/0.2896, allocations: 4.25 kB / 415.1 MB, free: 11.74 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.2896, allocations: 3.938 kB / 415.1 MB, free: 11.74 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009964/0.2906, allocations: 0.7251 MB / 415.8 MB, free: 11.07 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001631/0.2923, allocations: 0.9023 MB / 416.7 MB, free: 10.4 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.713e-06/0.2923, allocations: 5.781 kB / 416.7 MB, free: 10.39 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004046/0.2927, allocations: 92.55 kB / 416.8 MB, free: 10.37 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.516e-06/0.2927, allocations: 1.594 kB / 416.8 MB, free: 10.37 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.373e-05/0.2927, allocations: 9.688 kB / 416.8 MB, free: 10.36 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.879e-06/0.2927, allocations: 5.719 kB / 416.8 MB, free: 10.36 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.2927, allocations: 0 / 416.8 MB, free: 10.36 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00127/0.294, allocations: 0.6411 MB / 417.5 MB, free: 9.973 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002138/0.2942, allocations: 106.2 kB / 417.6 MB, free: 9.887 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.972e-05/0.2943, allocations: 12.23 kB / 417.6 MB, free: 9.879 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003664/0.2946, allocations: 29.38 kB / 417.6 MB, free: 9.863 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.3e-05/0.2947, allocations: 28.44 kB / 417.6 MB, free: 9.844 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.818e-05/0.2947, allocations: 5.656 kB / 417.6 MB, free: 9.844 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003946/0.2951, allocations: 324 kB / 418 MB, free: 9.652 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2951, allocations: 0 / 418 MB, free: 9.652 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004657/0.2956, allocations: 141.2 kB / 418.1 MB, free: 9.629 MB / 334.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.001685/0.2973, allocations: 1.207 MB / 419.3 MB, free: 8.691 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001293/0.2986, allocations: 0.6449 MB / 419.9 MB, free: 8.207 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.2986, allocations: 1.188 kB / 419.9 MB, free: 8.207 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003952/0.299, allocations: 164.4 kB / 420.1 MB, free: 8.137 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006767/0.2996, allocations: 147.7 kB / 420.3 MB, free: 8.055 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006973/0.3066, allocations: 4.632 MB / 424.9 MB, free: 5.004 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002332/0.3068, allocations: 228.5 kB / 425.1 MB, free: 4.852 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002838/0.3071, allocations: 66.7 kB / 425.2 MB, free: 4.82 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002602/0.3074, allocations: 175.1 kB / 425.3 MB, free: 4.68 MB / 334.1 MB Notification: Performance of SimCode: time 1.092e-06/0.3074, allocations: 5.156 kB / 425.3 MB, free: 4.676 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05219/0.3596, allocations: 15.39 MB / 440.7 MB, free: 5.316 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.51/12.87, allocations: 7.891 kB / 440.8 MB, free: 5.309 MB / 350.1 MB " [Timeout remaining time 647] (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 --stepSize=0.001 --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) [Timeout 52.5] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.130385173950344]