Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001262/0.001262, allocations: 109.1 kB / 21.22 MB, free: 0.7344 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001361/0.001361, allocations: 207.4 kB / 24.53 MB, free: 4.07 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.402/1.402, allocations: 230.5 MB / 258.2 MB, free: 8.043 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2255/0.2255, allocations: 46.92 MB / 361.6 MB, free: 4.285 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Orifice",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Orifice",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002244/0.002244, allocations: 76.16 kB / 0.497 GB, free: 7.793 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3019/0.3042, allocations: 66.09 MB / 0.5615 GB, free: 4.328 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice): time 0.4994/0.8036, allocations: 184.9 MB / 0.7421 GB, free: 1.762 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005887/0.8095, allocations: 4.641 MB / 0.7466 GB, free: 1.734 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008038/0.8103, allocations: 23.66 kB / 0.7466 GB, free: 1.734 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0009719/0.8113, allocations: 343.9 kB / 0.747 GB, free: 1.73 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004634/0.8159, allocations: 1.835 MB / 0.7488 GB, free: 1.676 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002379/0.8183, allocations: 0.9728 MB / 0.7497 GB, free: 1.652 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002014/0.8203, allocations: 1.736 MB / 0.7514 GB, free: 1.645 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000515/0.8208, allocations: 381.2 kB / 0.7518 GB, free: 1.625 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001431/0.8222, allocations: 0.8735 MB / 0.7526 GB, free: 1.621 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006128/0.8228, allocations: 0.5219 MB / 0.7531 GB, free: 1.617 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.766e-05/0.8229, allocations: 54.03 kB / 0.7532 GB, free: 1.617 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002333/0.8253, allocations: 1.345 MB / 0.7545 GB, free: 1.598 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001556/0.8254, allocations: 171.9 kB / 0.7547 GB, free: 1.598 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003608/0.8258, allocations: 376.2 kB / 0.755 GB, free: 1.598 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002027/0.8278, allocations: 1.643 MB / 0.7566 GB, free: 1.508 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.8278, allocations: 2.094 kB / 0.7566 GB, free: 1.508 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.272e-06/0.8278, allocations: 0 / 0.7566 GB, free: 1.508 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.017e-05/0.8278, allocations: 0.7188 kB / 0.7566 GB, free: 1.508 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.00178/0.8296, allocations: 1.065 MB / 0.7577 GB, free: 16.93 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/0.8296, allocations: 11.12 kB / 0.7577 GB, free: 16.93 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.004e-05/0.8297, allocations: 12.19 kB / 0.7577 GB, free: 16.93 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.395e-05/0.8297, allocations: 86.53 kB / 0.7578 GB, free: 16.89 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001145/0.8309, allocations: 168 kB / 0.7579 GB, free: 16.86 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007215/0.8316, allocations: 453 kB / 0.7584 GB, free: 16.67 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.6e-05/0.8316, allocations: 38.34 kB / 0.7584 GB, free: 16.66 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.305e-05/0.8317, allocations: 42.06 kB / 0.7584 GB, free: 16.66 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000951/0.8327, allocations: 0.6397 MB / 0.7591 GB, free: 16.52 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/0.8327, allocations: 0.9375 kB / 0.7591 GB, free: 16.52 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.294e-05/0.8327, allocations: 22.5 kB / 0.7591 GB, free: 16.52 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.055e-05/0.8327, allocations: 10.81 kB / 0.7591 GB, free: 16.52 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007684/0.8335, allocations: 0.4984 MB / 0.7596 GB, free: 16.51 MB / 0.5762 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.00277/0.8363, allocations: 2.618 MB / 0.7621 GB, free: 14.85 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006308/0.8369, allocations: 308.9 kB / 0.7624 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002351/0.8371, allocations: 146.7 kB / 0.7626 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002335/0.8374, allocations: 57.92 kB / 0.7626 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.098e-05/0.8374, allocations: 41.17 kB / 0.7627 GB, free: 14.78 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=35): time 1.984e-06/0.8374, allocations: 0 / 0.7627 GB, free: 14.78 MB / 0.5762 GB Notification: Performance of matching and sorting (n=35): time 0.001498/0.8389, allocations: 0.63 MB / 0.7633 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001051/0.839, allocations: 163.1 kB / 0.7634 GB, free: 14.51 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005031/0.8395, allocations: 0.517 MB / 0.7639 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.539e-05/0.8396, allocations: 34.95 kB / 0.764 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001609/0.8397, allocations: 306.7 kB / 0.7643 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 7.984e-05/0.8398, allocations: 132.5 kB / 0.7644 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001512/0.84, allocations: 115.8 kB / 0.7645 GB, free: 14.1 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000208/0.8402, allocations: 368.8 kB / 0.7649 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000256/0.8404, allocations: 146.5 kB / 0.765 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003212/0.8408, allocations: 323.5 kB / 0.7653 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005914/0.8413, allocations: 480.9 kB / 0.7658 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.8414, allocations: 3.625 kB / 0.7658 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0008895/0.8422, allocations: 0.5755 MB / 0.7663 GB, free: 13.33 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.8423, allocations: 4.969 kB / 0.7663 GB, free: 13.33 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.8423, allocations: 5.375 kB / 0.7663 GB, free: 13.33 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001444/0.8437, allocations: 235 kB / 0.7666 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003609/0.8441, allocations: 123.9 kB / 0.7667 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004896/0.8446, allocations: 0.5858 MB / 0.7673 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003865/0.8449, allocations: 62.22 kB / 0.7673 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.414e-05/0.845, allocations: 60.5 kB / 0.7674 GB, free: 12.77 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (52): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0002547/0.8453, allocations: 183.1 kB / 0.7676 GB, free: 12.65 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001219/0.8454, allocations: 62.67 kB / 0.7676 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001596/0.847, allocations: 1.104 MB / 0.7687 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.977e-06/0.847, allocations: 16.75 kB / 0.7687 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.847, allocations: 1.031 kB / 0.7687 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.847, allocations: 0 / 0.7687 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001243/0.8483, allocations: 0.9792 MB / 0.7697 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.8483, allocations: 0 / 0.7697 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001848/0.8484, allocations: 50.27 kB / 0.7697 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002936/0.8514, allocations: 439.3 kB / 0.7701 GB, free: 12.1 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.315e-05/0.8514, allocations: 15.19 kB / 0.7701 GB, free: 12.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004766/0.8519, allocations: 0.5954 MB / 0.7707 GB, free: 11.58 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.8519, allocations: 3.938 kB / 0.7707 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007903/0.8527, allocations: 0.5107 MB / 0.7712 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001311/0.8528, allocations: 64.39 kB / 0.7713 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001045/0.8529, allocations: 13.06 kB / 0.7713 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003821/0.8533, allocations: 15.16 kB / 0.7713 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.506e-05/0.8534, allocations: 35.52 kB / 0.7713 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.332e-05/0.8534, allocations: 19.41 kB / 0.7714 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004792/0.8539, allocations: 450.2 kB / 0.7718 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8.1e-08/0.8539, allocations: 0 / 0.7718 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008622/0.8548, allocations: 301.1 kB / 0.7721 GB, free: 11.16 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 simulation (28): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001683/0.8564, allocations: 1.312 MB / 0.7734 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.000722/0.8572, allocations: 358.4 kB / 0.7737 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/0.8572, allocations: 3.219 kB / 0.7737 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000269/0.8574, allocations: 142.4 kB / 0.7738 GB, free: 10.35 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001782/0.8592, allocations: 416.2 kB / 0.7742 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005997/0.8652, allocations: 5.048 MB / 0.7792 GB, free: 8.238 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004593/0.8657, allocations: 0.8722 MB / 0.78 GB, free: 7.535 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009868/0.8667, allocations: 0.5709 MB / 0.7806 GB, free: 7.48 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003325/0.867, allocations: 245.1 kB / 0.7808 GB, free: 7.469 MB / 0.5762 GB Notification: Performance of SimCode: time 9.71e-07/0.867, allocations: 0.75 kB / 0.7808 GB, free: 7.469 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04704/0.914, allocations: 23.52 MB / 0.8038 GB, free: 13.51 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.32/14.23, allocations: 8 kB / 0.8038 GB, free: 13.5 MB / 0.5919 GB " [Timeout remaining time 646] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Orifice_fmu --startTime=0 --stopTime=1.01 --stepSize=0.0002 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Orifice.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/TestCases/PressureLoss/Orifice/Orifice.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.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: 17.479848090966698]