Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump.medium.h|pump.medium.p",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump.medium.h|pump.medium.p",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001051/0.001051, allocations: 194.4 kB / 16.78 MB, free: 4.918 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.313/1.313, allocations: 226.5 MB / 244.1 MB, free: 8.176 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008463/0.0008463, allocations: 109.8 kB / 296.1 MB, free: 6.875 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.375/0.375, allocations: 44.82 MB / 392.9 MB, free: 35.72 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003029/0.0003029, allocations: 8 kB / 465.9 MB, free: 12.71 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3677/0.3681, allocations: 62.95 MB / 0.5165 GB, free: 36.98 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.15/6.519, allocations: 2.788 GB / 3.305 GB, free: 163.6 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002947/6.519, allocations: 89.2 kB / 3.305 GB, free: 163.6 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 1.546/8.065, allocations: 425.1 MB / 3.72 GB, free: 68.4 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.625e-06/8.065, allocations: 0 / 3.72 GB, free: 68.4 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 5.917e-05/8.065, allocations: 21.62 kB / 3.72 GB, free: 68.4 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.007657/8.073, allocations: 1.831 MB / 3.722 GB, free: 67.75 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/8.073, allocations: 10.16 kB / 3.722 GB, free: 67.75 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002553/8.075, allocations: 331.5 kB / 3.722 GB, free: 67.71 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001144/8.076, allocations: 0.5863 MB / 3.723 GB, free: 67.46 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.486e-05/8.076, allocations: 48.97 kB / 3.723 GB, free: 67.46 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.084e-05/8.076, allocations: 56.78 kB / 3.723 GB, free: 67.46 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002229/8.079, allocations: 0.9915 MB / 3.724 GB, free: 67.27 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.606e-05/8.079, allocations: 8.094 kB / 3.724 GB, free: 67.27 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.043e-05/8.079, allocations: 25.75 kB / 3.724 GB, free: 67.27 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.478e-05/8.079, allocations: 23.34 kB / 3.724 GB, free: 67.27 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002227/8.081, allocations: 0.9081 MB / 3.725 GB, free: 67.26 MB / 0.5417 GB 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.004768/8.086, allocations: 4.452 MB / 3.729 GB, free: 64.17 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002281/8.088, allocations: 0.7914 MB / 3.73 GB, free: 64.15 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000592/8.089, allocations: 293.3 kB / 3.73 GB, free: 64.14 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1111/8.2, allocations: 61.82 MB / 3.791 GB, free: 39.59 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.486e-05/8.2, allocations: 38.38 kB / 3.791 GB, free: 39.55 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=48): time 3.206e-06/8.2, allocations: 1.312 kB / 3.791 GB, free: 39.55 MB / 0.5573 GB Notification: Performance of matching and sorting (n=52): time 0.008064/8.208, allocations: 2.343 MB / 3.793 GB, free: 39.03 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.859e-05/8.208, allocations: 110.6 kB / 3.793 GB, free: 38.9 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000936/8.209, allocations: 0.5303 MB / 3.794 GB, free: 38.78 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 9.65e-05/8.209, allocations: 32.39 kB / 3.794 GB, free: 38.75 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002684/8.21, allocations: 335.9 kB / 3.794 GB, free: 38.6 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001882/8.21, allocations: 171.8 kB / 3.794 GB, free: 38.51 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.426e-05/8.21, allocations: 11.5 kB / 3.794 GB, free: 38.51 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001765/8.21, allocations: 368.5 kB / 3.794 GB, free: 38.2 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006669/8.211, allocations: 262.6 kB / 3.795 GB, free: 38.2 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000753/8.211, allocations: 441.7 kB / 3.795 GB, free: 38 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001348/8.213, allocations: 0.6749 MB / 3.796 GB, free: 37.81 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.113e-06/8.213, allocations: 3.344 kB / 3.796 GB, free: 37.81 MB / 0.5573 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002767/8.216, allocations: 0.9913 MB / 3.797 GB, free: 37.71 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001999/8.216, allocations: 233.9 kB / 3.797 GB, free: 37.45 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.666e-05/8.216, allocations: 7.219 kB / 3.797 GB, free: 37.45 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002535/8.218, allocations: 491.1 kB / 3.797 GB, free: 37.42 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005519/8.219, allocations: 131.1 kB / 3.798 GB, free: 37.42 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001419/8.22, allocations: 0.9232 MB / 3.799 GB, free: 36.89 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009953/8.221, allocations: 93.41 kB / 3.799 GB, free: 36.88 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001015/8.222, allocations: 33.44 kB / 3.799 GB, free: 36.88 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.835e-05/8.222, allocations: 3.25 kB / 3.799 GB, free: 36.88 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002186/8.224, allocations: 0.8599 MB / 3.799 GB, free: 36.84 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.58e-05/8.224, allocations: 7.531 kB / 3.799 GB, free: 36.84 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001299/8.225, allocations: 320.7 kB / 3.8 GB, free: 36.82 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005324/8.226, allocations: 135.6 kB / 3.8 GB, free: 36.82 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001187/8.227, allocations: 0.8784 MB / 3.801 GB, free: 36.29 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008792/8.228, allocations: 89.59 kB / 3.801 GB, free: 36.27 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.806e-05/8.228, allocations: 31.58 kB / 3.801 GB, free: 36.27 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 6 (Source.medium.phase,Sink.medium.phase,pump.heatTransfer.states[1].phase,valve.state_b.phase,valve.state_a.phase,pump.monitoring.state_in.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {4 19} Notification: Performance of prepare postOptimizeDAE: time 0.0006109/8.228, allocations: 284 kB / 3.801 GB, free: 36.09 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002229/8.229, allocations: 66.97 kB / 3.801 GB, free: 36.05 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004137/8.233, allocations: 2.757 MB / 3.804 GB, free: 35.7 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.089e-05/8.233, allocations: 39.92 kB / 3.804 GB, free: 35.7 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.251e-05/8.233, allocations: 0 / 3.804 GB, free: 35.7 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.665e-05/8.233, allocations: 4.312 kB / 3.804 GB, free: 35.7 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007104/8.24, allocations: 3.829 MB / 3.808 GB, free: 35.23 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.055e-05/8.24, allocations: 0 / 3.808 GB, free: 35.23 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006166/8.241, allocations: 157.7 kB / 3.808 GB, free: 35.23 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005432/8.241, allocations: 104.6 kB / 3.808 GB, free: 35.21 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.593e-05/8.241, allocations: 14.97 kB / 3.808 GB, free: 35.21 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001015/8.242, allocations: 1.135 MB / 3.809 GB, free: 34.17 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.863e-06/8.242, allocations: 5.188 kB / 3.809 GB, free: 34.17 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00367/8.246, allocations: 2.3 MB / 3.811 GB, free: 33.87 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007837/8.247, allocations: 363.3 kB / 3.812 GB, free: 33.68 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002687/8.247, allocations: 11.38 kB / 3.812 GB, free: 33.68 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008098/8.248, allocations: 76.84 kB / 3.812 GB, free: 33.66 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000153/8.248, allocations: 57.27 kB / 3.812 GB, free: 33.66 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.685e-05/8.248, allocations: 21.84 kB / 3.812 GB, free: 33.66 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001028/8.249, allocations: 0.5697 MB / 3.812 GB, free: 33.56 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.7e-07/8.249, allocations: 0 / 3.812 GB, free: 33.56 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.009333/8.259, allocations: 1.431 MB / 3.814 GB, free: 33.37 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pump.medium.p,pump.medium.h) * Number of discrete variables: 21 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.region3boundary,$cse10.region3boundary,$cse12.phase,$cse12.region,$cse16.phase,$cse16.region,Source.medium.phase,Sink.medium.phase,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0113/8.27, allocations: 1.739 MB / 3.815 GB, free: 32.97 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.003768/8.274, allocations: 1.406 MB / 3.817 GB, free: 32.92 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 8.967e-06/8.274, allocations: 3.688 kB / 3.817 GB, free: 32.92 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.001387/8.275, allocations: 0.7515 MB / 3.818 GB, free: 32.91 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002703/8.278, allocations: 338.3 kB / 3.818 GB, free: 32.89 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00479/8.283, allocations: 3.015 MB / 3.821 GB, free: 31.49 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008421/8.284, allocations: 1.13 MB / 3.822 GB, free: 30.76 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003111/8.284, allocations: 70.08 kB / 3.822 GB, free: 30.75 MB / 0.5573 GB Notification: Performance of SimCode: time 1.403e-06/8.284, allocations: 0 / 3.822 GB, free: 30.75 MB / 0.5573 GB Notification: Performance of Templates: time 0.06422/8.348, allocations: 38.59 MB / 3.86 GB, free: 27.85 MB / 0.5573 GB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Machines/TestWaterPumpCheckValve/TestWaterPumpCheckValve.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches