Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.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.004894/0.004894, allocations: 114.2 kB / 21.97 MB, free: 5.223 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.001472/0.001472, allocations: 216.2 kB / 25.28 MB, free: 3.246 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.287/1.287, allocations: 207.6 MB / 236.1 MB, free: 9.977 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.PumpAndValve,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_PumpAndValve",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_PumpAndValve",fmuType="cs",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.001615/0.001615, allocations: 50.58 kB / 348 MB, free: 10.05 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2334/0.235, allocations: 49.18 MB / 397.1 MB, free: 8.957 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.004468/0.2395, allocations: 4.397 MB / 401.5 MB, free: 5.863 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002395/0.2418, allocations: 1.269 MB / 402.8 MB, free: 4.941 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003403/0.2422, allocations: 10.5 kB / 402.8 MB, free: 4.938 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003576/0.2425, allocations: 135.8 kB / 402.9 MB, free: 4.859 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004822/0.243, allocations: 268.4 kB / 403.2 MB, free: 4.668 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003966/0.2434, allocations: 198.4 kB / 403.4 MB, free: 4.559 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008745/0.2443, allocations: 0.9311 MB / 404.3 MB, free: 4.082 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002749/0.2446, allocations: 175.5 kB / 404.5 MB, free: 3.98 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004821/0.2451, allocations: 376.3 kB / 404.9 MB, free: 3.809 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004636/0.2455, allocations: 393.4 kB / 405.3 MB, free: 3.617 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001209/0.2456, allocations: 80.73 kB / 405.3 MB, free: 3.613 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001402/0.2458, allocations: 77.47 kB / 405.4 MB, free: 3.613 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001276/0.2459, allocations: 177.2 kB / 405.6 MB, free: 3.492 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003084/0.2462, allocations: 419.9 kB / 406 MB, free: 3.25 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008697/0.2471, allocations: 0.9231 MB / 406.9 MB, free: 2.879 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.2471, allocations: 0 / 406.9 MB, free: 2.879 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.2471, allocations: 0 / 406.9 MB, free: 2.879 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.482e-05/0.2471, allocations: 1.922 kB / 406.9 MB, free: 2.879 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: 111 * Number of variables: 111 Notification: Performance of Generate backend data structure: time 0.001715/0.2488, allocations: 1.056 MB / 408 MB, free: 2.152 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.531e-05/0.2489, allocations: 12.55 kB / 408 MB, free: 2.148 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.65e-05/0.2489, allocations: 26.52 kB / 408 MB, free: 2.137 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001102/0.249, allocations: 94.38 kB / 408.1 MB, free: 2.066 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001306/0.2491, allocations: 92.56 kB / 408.2 MB, free: 2.023 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006176/0.2498, allocations: 431.1 kB / 408.6 MB, free: 1.711 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001304/0.2499, allocations: 149.5 kB / 408.8 MB, free: 1.57 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.691e-05/0.25, allocations: 57.33 kB / 408.8 MB, free: 1.547 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000983/0.2509, allocations: 0.6661 MB / 409.5 MB, free: 1.145 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.968e-05/0.251, allocations: 5.328 kB / 409.5 MB, free: 1.141 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.145e-05/0.251, allocations: 22.88 kB / 409.5 MB, free: 1.125 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.127e-05/0.251, allocations: 15 kB / 409.5 MB, free: 1.121 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009856/0.252, allocations: 459.6 kB / 410 MB, free: 0.9883 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.002764/0.2548, allocations: 1.927 MB / 411.9 MB, free: 15.64 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001796/0.2566, allocations: 0.5802 MB / 412.5 MB, free: 15.36 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005679/0.2571, allocations: 258.4 kB / 412.7 MB, free: 15.23 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.982e-05/0.2572, allocations: 11.97 kB / 412.7 MB, free: 15.23 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.715e-05/0.2572, allocations: 47.38 kB / 412.8 MB, free: 15.18 MB / 334.1 MB Notification: Performance of pre-optimization done (n=60): time 1.593e-06/0.2572, allocations: 1.156 kB / 412.8 MB, free: 15.18 MB / 334.1 MB Notification: Performance of matching and sorting (n=95): time 0.0174/0.2746, allocations: 4.677 MB / 417.5 MB, free: 12.67 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003253/0.2779, allocations: 2.923 MB / 420.4 MB, free: 9.914 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007447/0.2786, allocations: 0.5364 MB / 420.9 MB, free: 9.598 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001463/0.2788, allocations: 43.3 kB / 421 MB, free: 9.555 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002429/0.279, allocations: 291.9 kB / 421.3 MB, free: 9.293 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003332/0.2793, allocations: 343.3 kB / 421.6 MB, free: 8.992 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003207/0.2797, allocations: 164.8 kB / 421.8 MB, free: 8.895 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001939/0.2799, allocations: 383 kB / 422.1 MB, free: 8.527 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001063/0.2809, allocations: 438.9 kB / 422.6 MB, free: 8.309 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001298/0.2822, allocations: 0.6696 MB / 423.2 MB, free: 7.82 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002174/0.2844, allocations: 0.9638 MB / 424.2 MB, free: 7.285 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.2844, allocations: 0 / 424.2 MB, free: 7.285 MB / 334.1 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.005292/0.2897, allocations: 1.683 MB / 425.9 MB, free: 5.777 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.108e-05/0.2897, allocations: 33.7 kB / 425.9 MB, free: 5.738 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.174e-06/0.2897, allocations: 0 / 425.9 MB, free: 5.738 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002985/0.2927, allocations: 0.6606 MB / 426.6 MB, free: 5.059 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001082/0.2938, allocations: 187.7 kB / 426.8 MB, free: 4.875 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01592/0.3097, allocations: 10.9 MB / 437.7 MB, free: 9.289 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001293/0.311, allocations: 83.95 kB / 437.7 MB, free: 9.207 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.722e-05/0.3111, allocations: 31.92 kB / 437.8 MB, free: 9.176 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (73): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,2,60.0%), (1,1,100.0%), (1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(5,2), (1,1), (1,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0004825/0.3116, allocations: 225.7 kB / 438 MB, free: 8.945 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001735/0.3118, allocations: 95.41 kB / 438.1 MB, free: 8.852 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005183/0.3169, allocations: 1.669 MB / 439.7 MB, free: 7.16 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.03e-05/0.317, allocations: 12 kB / 439.8 MB, free: 7.148 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.317, allocations: 4 kB / 439.8 MB, free: 7.145 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00512/0.3221, allocations: 1.89 MB / 441.7 MB, free: 5.133 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007399/0.3295, allocations: 2.941 MB / 444.6 MB, free: 2.117 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.691e-06/0.3295, allocations: 0 / 444.6 MB, free: 2.117 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009693/0.3305, allocations: 183.7 kB / 444.8 MB, free: 1.938 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003072/0.3335, allocations: 0.7027 MB / 445.5 MB, free: 1.219 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9e-05/0.3336, allocations: 19.98 kB / 445.5 MB, free: 1.199 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01463/0.3482, allocations: 9.808 MB / 455.3 MB, free: 6.816 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002348/0.3506, allocations: 2.16 MB / 457.5 MB, free: 4.535 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006699/0.3573, allocations: 2.342 MB / 459.8 MB, free: 2.164 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005702/0.3579, allocations: 183.5 kB / 460 MB, free: 1.984 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001335/0.358, allocations: 23.94 kB / 460 MB, free: 1.961 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008871/0.3589, allocations: 67.92 kB / 460.1 MB, free: 1.895 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002992/0.3592, allocations: 104.8 kB / 460.2 MB, free: 1.789 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.789e-05/0.3592, allocations: 31.98 kB / 460.2 MB, free: 1.758 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005115/0.3598, allocations: 390.8 kB / 460.6 MB, free: 1.379 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3598, allocations: 0 / 460.6 MB, free: 1.379 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001206/0.361, allocations: 344 kB / 460.9 MB, free: 1.043 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 ($STATESET1.x,heatCapacitor.T,speed.phi) * 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 (63): * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,2,60.0%), (1,1,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,10), (1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007088/0.3681, allocations: 2.928 MB / 463.9 MB, free: 14.07 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004528/0.3726, allocations: 1.952 MB / 465.8 MB, free: 12.02 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.469e-06/0.3726, allocations: 0 / 465.8 MB, free: 12.02 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002815/0.3754, allocations: 1.28 MB / 467.1 MB, free: 10.68 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001166/0.3766, allocations: 198.5 kB / 467.3 MB, free: 10.49 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01915/0.3957, allocations: 8.874 MB / 476.2 MB, free: 1.438 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006468/0.3964, allocations: 0.9564 MB / 477.1 MB, free: 464 kB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004902/0.3968, allocations: 102.7 kB / 477.2 MB, free: 356 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004334/0.3973, allocations: 283.3 kB / 477.5 MB, free: 72 kB / 382.1 MB Notification: Performance of SimCode: time 9.11e-07/0.3973, allocations: 0 / 477.5 MB, free: 72 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07619/0.4735, allocations: 30.01 MB / 0.4956 GB, free: 1.953 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.05/14.53, allocations: 7.969 kB / 0.4956 GB, free: 1.945 MB / 414.1 MB " [Timeout remaining time 645] (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_PumpAndValve_fmu --startTime=0 --stopTime=2 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_PumpAndValve.fmu > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/PumpAndValve/PumpAndValve.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.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: 16.908544785983395]