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.001798/0.001798, allocations: 109.6 kB / 21.18 MB, free: 0.6992 MB / 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.002577/0.002577, allocations: 216.7 kB / 24.5 MB, free: 4.027 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.399/1.399, allocations: 207.6 MB / 235.3 MB, free: 10 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.00205/0.00205, allocations: 56.3 kB / 347.2 MB, free: 10.15 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2741/0.2762, allocations: 49.17 MB / 396.3 MB, free: 8.957 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.004382/0.2806, allocations: 3.69 MB / 400 MB, free: 6.355 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001868/0.2824, allocations: 1.038 MB / 401.1 MB, free: 5.598 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003795/0.2828, allocations: 5.188 kB / 401.1 MB, free: 5.598 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003833/0.2832, allocations: 109.1 kB / 401.2 MB, free: 5.535 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004756/0.2837, allocations: 202.3 kB / 401.4 MB, free: 5.391 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003535/0.284, allocations: 131.4 kB / 401.5 MB, free: 5.316 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007943/0.2848, allocations: 0.6768 MB / 402.2 MB, free: 4.969 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002337/0.285, allocations: 131.6 kB / 402.3 MB, free: 4.887 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003139/0.2854, allocations: 267.6 kB / 402.6 MB, free: 4.762 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003575/0.2857, allocations: 298.3 kB / 402.9 MB, free: 4.609 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001022/0.2858, allocations: 56.47 kB / 402.9 MB, free: 4.609 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001105/0.2859, allocations: 58.81 kB / 403 MB, free: 4.609 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001039/0.286, allocations: 121.7 kB / 403.1 MB, free: 4.527 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002908/0.2863, allocations: 316 kB / 403.4 MB, free: 4.34 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000823/0.2871, allocations: 0.694 MB / 404.1 MB, free: 4.062 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.83e-06/0.2872, allocations: 0 / 404.1 MB, free: 4.062 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.2872, allocations: 0 / 404.1 MB, free: 4.062 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.162e-05/0.2872, allocations: 0 / 404.1 MB, free: 4.062 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.001496/0.2887, allocations: 0.838 MB / 404.9 MB, free: 3.461 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/0.2887, allocations: 14.17 kB / 405 MB, free: 3.457 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001095/0.2888, allocations: 77.02 kB / 405 MB, free: 3.395 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001204/0.2889, allocations: 68.03 kB / 405.1 MB, free: 3.363 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007231/0.2897, allocations: 387 kB / 405.5 MB, free: 3.086 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001414/0.2898, allocations: 115.2 kB / 405.6 MB, free: 2.973 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.976e-05/0.2899, allocations: 30.03 kB / 405.6 MB, free: 2.965 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000828/0.2907, allocations: 497.3 kB / 406.1 MB, free: 2.664 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.98e-05/0.2907, allocations: 0 / 406.1 MB, free: 2.664 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.891e-05/0.2907, allocations: 17.31 kB / 406.1 MB, free: 2.652 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.077e-05/0.2908, allocations: 11.25 kB / 406.1 MB, free: 2.648 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008212/0.2916, allocations: 341 kB / 406.5 MB, free: 2.547 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.002053/0.2936, allocations: 1.258 MB / 407.7 MB, free: 1.734 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006181/0.2942, allocations: 285.5 kB / 408 MB, free: 1.621 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000379/0.2946, allocations: 170.5 kB / 408.2 MB, free: 1.555 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.822e-05/0.2947, allocations: 5.578 kB / 408.2 MB, free: 1.555 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.456e-05/0.2947, allocations: 38.69 kB / 408.2 MB, free: 1.512 MB / 318.1 MB Notification: Performance of pre-optimization done (n=35): time 2.334e-06/0.2947, allocations: 3.984 kB / 408.2 MB, free: 1.508 MB / 318.1 MB Notification: Performance of matching and sorting (n=35): time 0.001491/0.2962, allocations: 0.5759 MB / 408.8 MB, free: 1.273 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.765e-05/0.2963, allocations: 444.5 kB / 409.2 MB, free: 0.7422 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005411/0.2968, allocations: 465.6 kB / 409.7 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.519e-05/0.2969, allocations: 33.83 kB / 409.7 MB, free: 500 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001374/0.297, allocations: 245.4 kB / 410 MB, free: 292 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.439e-05/0.2971, allocations: 132.3 kB / 410.1 MB, free: 184 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001205/0.2972, allocations: 75.2 kB / 410.2 MB, free: 140 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001722/0.2974, allocations: 357.8 kB / 410.5 MB, free: 15.8 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003582/0.2977, allocations: 132.8 kB / 410.6 MB, free: 15.76 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005517/0.2983, allocations: 287.2 kB / 410.9 MB, free: 15.55 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007614/0.299, allocations: 339.6 kB / 411.2 MB, free: 15.39 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.299, allocations: 0 / 411.2 MB, free: 15.39 MB / 334.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001114/0.3002, allocations: 486.7 kB / 411.7 MB, free: 15.16 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.469e-05/0.3002, allocations: 31.98 kB / 411.8 MB, free: 15.13 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.3002, allocations: 0 / 411.8 MB, free: 15.13 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001796/0.3004, allocations: 51.44 kB / 411.8 MB, free: 15.1 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004099/0.3008, allocations: 84.48 kB / 411.9 MB, free: 15.09 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002772/0.3036, allocations: 2.766 MB / 414.7 MB, free: 12.34 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005623/0.3042, allocations: 56.56 kB / 414.7 MB, free: 12.3 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.322e-05/0.3042, allocations: 7.469 kB / 414.7 MB, free: 12.3 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.0003698/0.3046, allocations: 172.7 kB / 414.9 MB, free: 12.15 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000131/0.3047, allocations: 55.83 kB / 414.9 MB, free: 12.12 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001226/0.3048, allocations: 59.78 kB / 415 MB, free: 12.07 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.437e-06/0.3048, allocations: 4.344 kB / 415 MB, free: 12.07 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.346e-06/0.3048, allocations: 3.938 kB / 415 MB, free: 12.07 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001085/0.3059, allocations: 0.7204 MB / 415.7 MB, free: 11.4 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001938/0.3079, allocations: 0.9828 MB / 416.7 MB, free: 10.65 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/0.3079, allocations: 3.938 kB / 416.7 MB, free: 10.65 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004504/0.3083, allocations: 88.84 kB / 416.8 MB, free: 10.62 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.909e-06/0.3083, allocations: 5.234 kB / 416.8 MB, free: 10.62 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.654e-05/0.3084, allocations: 6.406 kB / 416.8 MB, free: 10.62 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.947e-06/0.3084, allocations: 5.469 kB / 416.8 MB, free: 10.61 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/0.3084, allocations: 0 / 416.8 MB, free: 10.61 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001317/0.3097, allocations: 0.6476 MB / 417.5 MB, free: 10.22 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002614/0.3099, allocations: 95.55 kB / 417.6 MB, free: 10.15 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001003/0.31, allocations: 10.75 kB / 417.6 MB, free: 10.14 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003721/0.3104, allocations: 29.78 kB / 417.6 MB, free: 10.12 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.284e-05/0.3105, allocations: 33.19 kB / 417.6 MB, free: 10.1 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.233e-05/0.3105, allocations: 9.844 kB / 417.6 MB, free: 10.1 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004524/0.311, allocations: 322.9 kB / 418 MB, free: 9.91 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.311, allocations: 4.062 kB / 418 MB, free: 9.906 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005769/0.3116, allocations: 136.1 kB / 418.1 MB, free: 9.887 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.001801/0.3134, allocations: 1.203 MB / 419.3 MB, free: 8.953 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001441/0.3148, allocations: 0.6222 MB / 419.9 MB, free: 8.496 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.3148, allocations: 1.406 kB / 419.9 MB, free: 8.496 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004254/0.3152, allocations: 164.1 kB / 420.1 MB, free: 8.426 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007801/0.316, allocations: 140.3 kB / 420.2 MB, free: 8.352 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007312/0.3233, allocations: 4.545 MB / 424.8 MB, free: 5.406 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005473/0.3239, allocations: 0.8298 MB / 425.6 MB, free: 4.645 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.000343/0.3242, allocations: 70.83 kB / 425.7 MB, free: 4.609 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002959/0.3245, allocations: 175.7 kB / 425.8 MB, free: 4.469 MB / 334.1 MB Notification: Performance of SimCode: time 1.192e-06/0.3245, allocations: 0 / 425.8 MB, free: 4.469 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05527/0.3798, allocations: 13.97 MB / 439.8 MB, free: 6.711 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.06/13.44, allocations: 3.953 kB / 439.8 MB, free: 6.707 MB / 350.1 MB " [Timeout remaining time 646] (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.792030470212922]