Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.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.001285/0.001285, allocations: 107.6 kB / 21.18 MB, free: 0.5859 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.001461/0.001461, allocations: 215.9 kB / 24.48 MB, free: 3.875 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.361/1.361, allocations: 207.7 MB / 235.3 MB, free: 9.777 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.TwoMass,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_TwoMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_TwoMass",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.001785/0.001785, allocations: 52.3 kB / 347.2 MB, free: 9.887 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2633/0.2651, allocations: 49.16 MB / 396.3 MB, free: 9.078 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass): time 0.005148/0.2703, allocations: 4.496 MB / 400.8 MB, free: 6.059 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002304/0.2726, allocations: 1.301 MB / 402.1 MB, free: 5.125 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003432/0.2729, allocations: 16.41 kB / 402.2 MB, free: 5.117 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004412/0.2734, allocations: 156.2 kB / 402.3 MB, free: 5.031 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006756/0.274, allocations: 336.8 kB / 402.6 MB, free: 4.789 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004661/0.2745, allocations: 232.1 kB / 402.9 MB, free: 4.66 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001068/0.2756, allocations: 1.184 MB / 404.1 MB, free: 4.051 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003259/0.2759, allocations: 208.8 kB / 404.3 MB, free: 3.93 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004203/0.2763, allocations: 467.7 kB / 404.7 MB, free: 3.719 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005185/0.2768, allocations: 438.5 kB / 405.1 MB, free: 3.535 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001411/0.277, allocations: 103.7 kB / 405.2 MB, free: 3.535 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001852/0.2772, allocations: 105.9 kB / 405.3 MB, free: 3.535 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001535/0.2773, allocations: 224.8 kB / 405.6 MB, free: 3.383 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000398/0.2777, allocations: 452.5 kB / 406 MB, free: 3.152 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001079/0.2788, allocations: 1.223 MB / 407.2 MB, free: 2.66 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.2788, allocations: 1.375 kB / 407.2 MB, free: 2.66 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.2788, allocations: 0 / 407.2 MB, free: 2.66 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.188e-05/0.2788, allocations: 0 / 407.2 MB, free: 2.66 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: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.002202/0.281, allocations: 1.292 MB / 408.5 MB, free: 1.801 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/0.281, allocations: 17.92 kB / 408.5 MB, free: 1.793 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001628/0.2812, allocations: 115 kB / 408.7 MB, free: 1.707 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001874/0.2814, allocations: 120.7 kB / 408.8 MB, free: 1.648 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009264/0.2823, allocations: 0.528 MB / 409.3 MB, free: 1.289 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001972/0.2825, allocations: 302.8 kB / 409.6 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.975e-05/0.2826, allocations: 68.62 kB / 409.7 MB, free: 0.957 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001616/0.2842, allocations: 1.621 MB / 411.3 MB, free: 15.38 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.091e-05/0.2842, allocations: 1.25 kB / 411.3 MB, free: 15.38 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.06e-05/0.2843, allocations: 28.59 kB / 411.3 MB, free: 15.36 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.382e-05/0.2843, allocations: 13.62 kB / 411.3 MB, free: 15.36 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001452/0.2858, allocations: 0.6063 MB / 411.9 MB, free: 15.07 MB / 334.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.003345/0.2891, allocations: 1.632 MB / 413.6 MB, free: 13.93 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001399/0.2905, allocations: 0.5804 MB / 414.1 MB, free: 13.64 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008156/0.2913, allocations: 365.1 kB / 414.5 MB, free: 13.45 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.156e-05/0.2914, allocations: 10.41 kB / 414.5 MB, free: 13.45 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.037e-05/0.2914, allocations: 54.53 kB / 414.6 MB, free: 13.39 MB / 334.1 MB Notification: Performance of pre-optimization done (n=73): time 2.765e-06/0.2914, allocations: 0 / 414.6 MB, free: 13.39 MB / 334.1 MB Notification: Performance of matching and sorting (n=73): time 0.004909/0.2964, allocations: 1.484 MB / 416 MB, free: 12.66 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004919/0.2968, allocations: 0.8311 MB / 416.9 MB, free: 11.64 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009449/0.2978, allocations: 0.6374 MB / 417.5 MB, free: 11.27 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 9.673e-05/0.2979, allocations: 48.75 kB / 417.6 MB, free: 11.22 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003103/0.2982, allocations: 346 kB / 417.9 MB, free: 10.92 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002412/0.2984, allocations: 262.6 kB / 418.2 MB, free: 10.69 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002388/0.2987, allocations: 150.5 kB / 418.3 MB, free: 10.6 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002151/0.2989, allocations: 383.7 kB / 418.7 MB, free: 10.23 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007237/0.2996, allocations: 357.5 kB / 419 MB, free: 10.01 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001657/0.3013, allocations: 1.391 MB / 420.4 MB, free: 8.508 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001513/0.3028, allocations: 0.6771 MB / 421.1 MB, free: 8.109 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.541e-06/0.3028, allocations: 1.375 kB / 421.1 MB, free: 8.109 MB / 334.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.003025/0.3058, allocations: 1.171 MB / 422.3 MB, free: 7.391 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001114/0.3059, allocations: 84.77 kB / 422.4 MB, free: 7.297 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.256e-05/0.3059, allocations: 0 / 422.4 MB, free: 7.297 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008033/0.3067, allocations: 240.4 kB / 422.6 MB, free: 7.164 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006125/0.3074, allocations: 136.8 kB / 422.7 MB, free: 7.133 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008558/0.3159, allocations: 6.476 MB / 429.2 MB, free: 0.75 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001021/0.3169, allocations: 99.55 kB / 429.3 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.148e-05/0.317, allocations: 20.19 kB / 429.3 MB, free: 0.6328 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (69): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 4 systems {(3,3), (1,3), (1,7), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0004377/0.3175, allocations: 225.7 kB / 429.5 MB, free: 412 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001554/0.3176, allocations: 99.38 kB / 429.6 MB, free: 312 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001826/0.3178, allocations: 95.33 kB / 429.7 MB, free: 208 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.374e-06/0.3178, allocations: 8 kB / 429.7 MB, free: 200 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.328e-06/0.3178, allocations: 0 / 429.7 MB, free: 200 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002528/0.3203, allocations: 1.233 MB / 431 MB, free: 14.85 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003948/0.3243, allocations: 1.736 MB / 432.7 MB, free: 13.05 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.105e-06/0.3243, allocations: 3.984 kB / 432.7 MB, free: 13.05 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000684/0.325, allocations: 135.8 kB / 432.8 MB, free: 12.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005443/0.3255, allocations: 198.5 kB / 433 MB, free: 12.71 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.55e-05/0.3256, allocations: 15.94 kB / 433 MB, free: 12.7 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006699/0.3323, allocations: 5.005 MB / 438.1 MB, free: 7.344 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.3323, allocations: 0 / 438.1 MB, free: 7.344 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003422/0.3357, allocations: 1.388 MB / 439.4 MB, free: 5.934 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005568/0.3363, allocations: 171.2 kB / 439.6 MB, free: 5.766 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001134/0.3364, allocations: 20 kB / 439.6 MB, free: 5.746 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006394/0.337, allocations: 55.89 kB / 439.7 MB, free: 5.691 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001633/0.3372, allocations: 64.53 kB / 439.7 MB, free: 5.629 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.273e-05/0.3372, allocations: 16 kB / 439.8 MB, free: 5.613 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000621/0.3378, allocations: 463 kB / 440.2 MB, free: 5.164 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3378, allocations: 0 / 440.2 MB, free: 5.164 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008425/0.3387, allocations: 279.8 kB / 440.5 MB, free: 4.891 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (pipe1.T,pipe2.T,pipe3.T,heatCapacitor1.T,heatCapacitor2.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 (61): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,3), (1,3), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003533/0.3422, allocations: 1.97 MB / 442.5 MB, free: 2.879 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00238/0.3446, allocations: 1.396 MB / 443.9 MB, free: 1.379 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.993e-06/0.3446, allocations: 4 kB / 443.9 MB, free: 1.375 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001404/0.346, allocations: 0.7379 MB / 444.6 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001059/0.3471, allocations: 239.1 kB / 444.8 MB, free: 372 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01318/0.3602, allocations: 7.846 MB / 452.7 MB, free: 8.258 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000394/0.3606, allocations: 354.2 kB / 453 MB, free: 7.883 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004726/0.3611, allocations: 102.4 kB / 453.1 MB, free: 7.777 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004238/0.3615, allocations: 303.3 kB / 453.4 MB, free: 7.48 MB / 366.1 MB Notification: Performance of SimCode: time 1.433e-06/0.3615, allocations: 0 / 453.4 MB, free: 7.48 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07998/0.4415, allocations: 28.24 MB / 481.7 MB, free: 11.12 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.06/13.51, allocations: 11.94 kB / 481.7 MB, free: 11.11 MB / 398.1 MB " [Timeout remaining time 646] (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_TwoMass_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_TwoMass.fmu > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/TwoMass/TwoMass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.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.813343472313136]