Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.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.001396/0.001396, allocations: 103.6 kB / 21.18 MB, free: 332 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.00139/0.00139, allocations: 212 kB / 24.47 MB, free: 3.547 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.334/1.334, allocations: 207.7 MB / 235.3 MB, free: 9.801 MB / 190.1 MB " [Timeout remaining time 179] 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.PumpDropOut,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut",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.001728/0.001728, allocations: 57.62 kB / 347.2 MB, free: 9.902 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2326/0.2343, allocations: 49.16 MB / 396.3 MB, free: 8.887 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.004225/0.2385, allocations: 3.415 MB / 399.8 MB, free: 6.598 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001438/0.2399, allocations: 0.9971 MB / 400.8 MB, free: 5.887 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002104/0.2402, allocations: 9.688 kB / 400.8 MB, free: 5.883 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003166/0.2405, allocations: 110.8 kB / 400.9 MB, free: 5.82 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003649/0.2408, allocations: 206.8 kB / 401.1 MB, free: 5.672 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002738/0.2411, allocations: 140.1 kB / 401.2 MB, free: 5.594 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006108/0.2417, allocations: 0.7003 MB / 401.9 MB, free: 5.234 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002287/0.242, allocations: 133 kB / 402 MB, free: 5.16 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002737/0.2422, allocations: 280.6 kB / 402.3 MB, free: 5.027 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003134/0.2425, allocations: 258.3 kB / 402.6 MB, free: 4.918 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.298e-05/0.2426, allocations: 59.97 kB / 402.6 MB, free: 4.918 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001129/0.2427, allocations: 64.41 kB / 402.7 MB, free: 4.914 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.696e-05/0.2428, allocations: 139.8 kB / 402.8 MB, free: 4.816 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002493/0.2431, allocations: 263.8 kB / 403.1 MB, free: 4.684 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006923/0.2438, allocations: 0.7265 MB / 403.8 MB, free: 4.391 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.2438, allocations: 0 / 403.8 MB, free: 4.391 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.2438, allocations: 0 / 403.8 MB, free: 4.391 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.628e-06/0.2438, allocations: 0 / 403.8 MB, free: 4.391 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001408/0.2452, allocations: 0.8555 MB / 404.7 MB, free: 3.785 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.2452, allocations: 13.08 kB / 404.7 MB, free: 3.781 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001135/0.2454, allocations: 83.73 kB / 404.8 MB, free: 3.715 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001067/0.2455, allocations: 72.06 kB / 404.8 MB, free: 3.68 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006717/0.2461, allocations: 386.6 kB / 405.2 MB, free: 3.406 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.568e-05/0.2462, allocations: 112 kB / 405.3 MB, free: 3.301 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.506e-05/0.2463, allocations: 40.33 kB / 405.4 MB, free: 3.285 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008482/0.2471, allocations: 0.8884 MB / 406.2 MB, free: 2.5 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.582e-05/0.2471, allocations: 0 / 406.2 MB, free: 2.5 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.919e-05/0.2472, allocations: 21.3 kB / 406.3 MB, free: 2.484 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.328e-06/0.2472, allocations: 16.5 kB / 406.3 MB, free: 2.477 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007864/0.248, allocations: 348.9 kB / 406.6 MB, free: 2.379 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.001771/0.2498, allocations: 1.071 MB / 407.7 MB, free: 1.73 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007805/0.2505, allocations: 355.4 kB / 408 MB, free: 1.598 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003817/0.2509, allocations: 174.2 kB / 408.2 MB, free: 1.531 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.288e-05/0.2509, allocations: 11.09 kB / 408.2 MB, free: 1.527 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.261e-05/0.251, allocations: 39.44 kB / 408.3 MB, free: 1.484 MB / 318.1 MB Notification: Performance of pre-optimization done (n=37): time 1.593e-06/0.251, allocations: 0 / 408.3 MB, free: 1.484 MB / 318.1 MB Notification: Performance of matching and sorting (n=37): time 0.001423/0.2524, allocations: 0.5986 MB / 408.9 MB, free: 1.238 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.026e-05/0.2525, allocations: 449.7 kB / 409.3 MB, free: 0.7031 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004685/0.2529, allocations: 477.1 kB / 409.8 MB, free: 484 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.095e-05/0.253, allocations: 37.8 kB / 409.8 MB, free: 444 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001292/0.2531, allocations: 251.5 kB / 410 MB, free: 236 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.424e-05/0.2532, allocations: 129.1 kB / 410.2 MB, free: 132 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001182/0.2533, allocations: 80.92 kB / 410.3 MB, free: 84 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001757/0.2535, allocations: 357.5 kB / 410.6 MB, free: 15.75 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003969/0.2539, allocations: 175.8 kB / 410.8 MB, free: 15.66 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007352/0.2546, allocations: 0.6826 MB / 411.5 MB, free: 14.96 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007804/0.2554, allocations: 351.2 kB / 411.8 MB, free: 14.8 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.2554, allocations: 0 / 411.8 MB, free: 14.8 MB / 334.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001064/0.2564, allocations: 0.5207 MB / 412.3 MB, free: 14.52 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.603e-05/0.2565, allocations: 31.39 kB / 412.3 MB, free: 14.48 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.2565, allocations: 1.062 kB / 412.3 MB, free: 14.48 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001555/0.2566, allocations: 55.69 kB / 412.4 MB, free: 14.45 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004036/0.257, allocations: 87.94 kB / 412.5 MB, free: 14.42 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002563/0.2596, allocations: 2.759 MB / 415.2 MB, free: 11.67 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004224/0.26, allocations: 50.05 kB / 415.3 MB, free: 11.64 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.147e-05/0.2601, allocations: 11.97 kB / 415.3 MB, free: 11.64 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 (39): * Single equations (assignments): 36 * 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.0002234/0.2603, allocations: 169.8 kB / 415.5 MB, free: 11.49 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.796e-05/0.2604, allocations: 60 kB / 415.5 MB, free: 11.46 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001079/0.2605, allocations: 61.91 kB / 415.6 MB, free: 11.41 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.2605, allocations: 7.922 kB / 415.6 MB, free: 11.41 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.2605, allocations: 0 / 415.6 MB, free: 11.41 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001023/0.2615, allocations: 0.7389 MB / 416.3 MB, free: 10.73 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001666/0.2632, allocations: 0.9413 MB / 417.3 MB, free: 10.04 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.2632, allocations: 0 / 417.3 MB, free: 10.04 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004222/0.2636, allocations: 92.27 kB / 417.4 MB, free: 10.02 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.2636, allocations: 1.781 kB / 417.4 MB, free: 10.02 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.349e-05/0.2636, allocations: 9.75 kB / 417.4 MB, free: 10.01 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/0.2636, allocations: 1.906 kB / 417.4 MB, free: 10.01 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.2636, allocations: 0 / 417.4 MB, free: 10.01 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001325/0.265, allocations: 0.6715 MB / 418.1 MB, free: 9.598 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002136/0.2652, allocations: 98.53 kB / 418.2 MB, free: 9.52 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.921e-05/0.2652, allocations: 8.5 kB / 418.2 MB, free: 9.516 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003782/0.2656, allocations: 34.31 kB / 418.2 MB, free: 9.496 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.937e-05/0.2657, allocations: 28.33 kB / 418.2 MB, free: 9.477 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.989e-05/0.2657, allocations: 6.656 kB / 418.2 MB, free: 9.477 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003909/0.2661, allocations: 341 kB / 418.6 MB, free: 9.273 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2661, allocations: 0 / 418.6 MB, free: 9.273 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004417/0.2665, allocations: 145.6 kB / 418.7 MB, free: 9.25 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 (37): * Single equations (assignments): 37 * 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.001709/0.2683, allocations: 1.227 MB / 419.9 MB, free: 8.305 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001251/0.2695, allocations: 0.6664 MB / 420.6 MB, free: 7.805 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.2695, allocations: 1.25 kB / 420.6 MB, free: 7.805 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004012/0.2699, allocations: 172.6 kB / 420.8 MB, free: 7.73 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006945/0.2706, allocations: 149 kB / 420.9 MB, free: 7.645 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006981/0.2776, allocations: 4.784 MB / 425.7 MB, free: 4.473 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002506/0.2778, allocations: 238.2 kB / 425.9 MB, free: 4.215 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003045/0.2781, allocations: 64.52 kB / 426 MB, free: 4.148 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002904/0.2784, allocations: 183.4 kB / 426.2 MB, free: 3.969 MB / 334.1 MB Notification: Performance of SimCode: time 9.12e-07/0.2784, allocations: 0 / 426.2 MB, free: 3.969 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05393/0.3324, allocations: 15.75 MB / 441.9 MB, free: 4.137 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.5/12.84, allocations: 0 / 441.9 MB, free: 4.137 MB / 350.1 MB " [Timeout remaining time 647] (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut_fmu --startTime=0 --stopTime=2 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut.fmu > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/PumpDropOut/PumpDropOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.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.08862362941727]