Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.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.001282/0.001282, allocations: 115.8 kB / 20.43 MB, free: 1.457 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.00141/0.00141, allocations: 213.3 kB / 23.75 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.415/1.415, allocations: 230.6 MB / 257.5 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2267/0.2267, allocations: 46.93 MB / 360.9 MB, free: 4.266 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Orifice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Orifice",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002249/0.002249, allocations: 67.91 kB / 0.4962 GB, free: 7.887 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3435/0.3458, allocations: 66.04 MB / 0.5607 GB, free: 4.457 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice): time 0.5628/0.9086, allocations: 184.9 MB / 0.7412 GB, free: 1.781 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005975/0.9145, allocations: 4.646 MB / 0.7458 GB, free: 1.754 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008779/0.9154, allocations: 30.84 kB / 0.7458 GB, free: 1.75 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0009747/0.9164, allocations: 343.3 kB / 0.7461 GB, free: 1.746 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004619/0.921, allocations: 1.831 MB / 0.7479 GB, free: 1.691 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002302/0.9233, allocations: 0.9668 MB / 0.7489 GB, free: 1.672 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002005/0.9253, allocations: 1.737 MB / 0.7506 GB, free: 1.664 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000516/0.9258, allocations: 380.3 kB / 0.7509 GB, free: 1.645 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001553/0.9274, allocations: 0.8718 MB / 0.7518 GB, free: 1.637 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007283/0.9281, allocations: 0.5256 MB / 0.7523 GB, free: 1.637 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.817e-05/0.9282, allocations: 55.62 kB / 0.7523 GB, free: 1.637 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002515/0.9307, allocations: 1.34 MB / 0.7537 GB, free: 1.617 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002007/0.9309, allocations: 176.8 kB / 0.7538 GB, free: 1.617 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004164/0.9313, allocations: 376.8 kB / 0.7542 GB, free: 1.617 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002342/0.9337, allocations: 1.636 MB / 0.7558 GB, free: 1.527 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.9337, allocations: 1.094 kB / 0.7558 GB, free: 1.527 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.283e-06/0.9337, allocations: 4.094 kB / 0.7558 GB, free: 1.527 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.037e-05/0.9337, allocations: 0 / 0.7558 GB, free: 1.527 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.001866/0.9356, allocations: 1.067 MB / 0.7568 GB, free: 16.95 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.9356, allocations: 10.56 kB / 0.7568 GB, free: 16.95 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.109e-05/0.9357, allocations: 86 kB / 0.7569 GB, free: 16.91 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001152/0.9368, allocations: 169.3 kB / 0.7571 GB, free: 16.88 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008083/0.9377, allocations: 446.9 kB / 0.7575 GB, free: 16.69 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.674e-05/0.9377, allocations: 40.03 kB / 0.7575 GB, free: 16.68 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.764e-05/0.9377, allocations: 47.22 kB / 0.7576 GB, free: 16.68 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009231/0.9387, allocations: 0.639 MB / 0.7582 GB, free: 16.53 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.53e-05/0.9387, allocations: 3.188 kB / 0.7582 GB, free: 16.53 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.97e-05/0.9388, allocations: 26.84 kB / 0.7582 GB, free: 16.53 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.889e-06/0.9388, allocations: 10.75 kB / 0.7583 GB, free: 16.53 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007443/0.9395, allocations: 0.4927 MB / 0.7587 GB, free: 16.53 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.002856/0.9424, allocations: 2.619 MB / 0.7613 GB, free: 14.87 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006096/0.943, allocations: 298.1 kB / 0.7616 GB, free: 14.85 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002161/0.9432, allocations: 148.9 kB / 0.7617 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000214/0.9434, allocations: 51.2 kB / 0.7618 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.262e-05/0.9435, allocations: 41.03 kB / 0.7618 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=35): time 2.335e-06/0.9435, allocations: 0.9375 kB / 0.7618 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of matching and sorting (n=35): time 0.001492/0.9449, allocations: 0.635 MB / 0.7624 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001036/0.945, allocations: 158.4 kB / 0.7626 GB, free: 14.53 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005342/0.9456, allocations: 0.5195 MB / 0.7631 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.154e-05/0.9456, allocations: 32.23 kB / 0.7631 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001898/0.9458, allocations: 316.2 kB / 0.7634 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 8.925e-05/0.9459, allocations: 130 kB / 0.7635 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001517/0.9461, allocations: 122.2 kB / 0.7637 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001717/0.9462, allocations: 365.4 kB / 0.764 GB, free: 13.81 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002392/0.9465, allocations: 142.2 kB / 0.7641 GB, free: 13.81 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003628/0.9468, allocations: 322.3 kB / 0.7644 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005893/0.9474, allocations: 471.8 kB / 0.7649 GB, free: 13.44 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.021e-06/0.9474, allocations: 7.312 kB / 0.7649 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0008804/0.9483, allocations: 0.5725 MB / 0.7655 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.9483, allocations: 9.562 kB / 0.7655 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/0.9483, allocations: 5.094 kB / 0.7655 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001398/0.9497, allocations: 241.5 kB / 0.7657 GB, free: 13.35 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003469/0.9501, allocations: 118.1 kB / 0.7658 GB, free: 13.35 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005014/0.9506, allocations: 0.5898 MB / 0.7664 GB, free: 12.83 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003672/0.951, allocations: 57.83 kB / 0.7665 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.43e-05/0.951, allocations: 53.12 kB / 0.7665 GB, free: 12.8 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.0002796/0.9513, allocations: 197.3 kB / 0.7667 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001198/0.9514, allocations: 58.52 kB / 0.7667 GB, free: 12.65 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001656/0.9531, allocations: 1.11 MB / 0.7678 GB, free: 12.47 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.9531, allocations: 5.531 kB / 0.7678 GB, free: 12.47 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/0.9531, allocations: 3.938 kB / 0.7678 GB, free: 12.47 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.9531, allocations: 4 kB / 0.7678 GB, free: 12.47 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001356/0.9545, allocations: 0.9786 MB / 0.7688 GB, free: 12.13 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.519e-06/0.9545, allocations: 2.875 kB / 0.7688 GB, free: 12.13 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001908/0.9547, allocations: 56.19 kB / 0.7689 GB, free: 12.13 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002937/0.9576, allocations: 437.8 kB / 0.7693 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.611e-05/0.9576, allocations: 11 kB / 0.7693 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004619/0.9581, allocations: 0.6003 MB / 0.7699 GB, free: 11.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/0.9581, allocations: 8.109 kB / 0.7699 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007523/0.9588, allocations: 0.5098 MB / 0.7704 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001498/0.959, allocations: 68.66 kB / 0.7704 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001001/0.9591, allocations: 12.31 kB / 0.7705 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003239/0.9594, allocations: 16.44 kB / 0.7705 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.59e-05/0.9595, allocations: 30.39 kB / 0.7705 GB, free: 11.31 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.39e-05/0.9595, allocations: 19.33 kB / 0.7705 GB, free: 11.31 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005285/0.96, allocations: 450.3 kB / 0.7709 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.96, allocations: 0 / 0.7709 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009959/0.961, allocations: 297.3 kB / 0.7712 GB, free: 11.18 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.00179/0.9628, allocations: 1.316 MB / 0.7725 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0007442/0.9636, allocations: 355.5 kB / 0.7729 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/0.9636, allocations: 3.312 kB / 0.7729 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002722/0.9638, allocations: 154.2 kB / 0.773 GB, free: 10.37 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001718/0.9656, allocations: 402.2 kB / 0.7734 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006407/0.972, allocations: 5.045 MB / 0.7783 GB, free: 8.27 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005125/0.9725, allocations: 0.8687 MB / 0.7792 GB, free: 7.566 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001164/0.9736, allocations: 0.5708 MB / 0.7797 GB, free: 7.512 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003643/0.974, allocations: 250.2 kB / 0.78 GB, free: 7.5 MB / 0.5762 GB Notification: Performance of SimCode: time 1.002e-06/0.974, allocations: 0 / 0.78 GB, free: 7.5 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06455/1.039, allocations: 23.49 MB / 0.8029 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.55/14.59, allocations: 3.859 kB / 0.8029 GB, free: 13.71 MB / 0.5919 GB " [Timeout remaining time 645] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Orifice_fmu --startTime=0 --stopTime=1.01 --stepSize=0.0002 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Orifice.fmu > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.0_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.676738100126386]