Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001378/0.001378, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001496/0.001496, allocations: 212.5 kB / 24.52 MB, free: 3.91 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.507/1.507, allocations: 230.6 MB / 258.3 MB, free: 7.73 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2235/0.2235, allocations: 44.93 MB / 359.6 MB, free: 6.066 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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_0_0_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Orifice",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Orifice",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 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.001966/0.001966, allocations: 67.89 kB / 0.4938 GB, free: 10.54 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3328/0.3348, allocations: 65.46 MB / 0.5577 GB, free: 7.359 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice): time 0.2215/0.5563, allocations: 159.8 MB / 0.7138 GB, free: 7.105 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.007457/0.5637, allocations: 4.263 MB / 0.718 GB, free: 2.832 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006738/0.5644, allocations: 23.75 kB / 0.718 GB, free: 2.809 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001123/0.5655, allocations: 333.8 kB / 0.7183 GB, free: 2.48 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.005386/0.5709, allocations: 1.827 MB / 0.7201 GB, free: 0.6484 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002702/0.5736, allocations: 0.9773 MB / 0.7211 GB, free: 15.67 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002687/0.5763, allocations: 1.734 MB / 0.7228 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009186/0.5772, allocations: 378.5 kB / 0.7231 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002085/0.5793, allocations: 0.8839 MB / 0.724 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001108/0.5804, allocations: 0.5175 MB / 0.7245 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002107/0.5806, allocations: 56 kB / 0.7245 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003098/0.5837, allocations: 1.022 MB / 0.7255 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003768/0.5841, allocations: 183.3 kB / 0.7257 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0008909/0.585, allocations: 322.7 kB / 0.726 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.004662/0.5897, allocations: 1.569 MB / 0.7276 GB, free: 9 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.574e-06/0.5897, allocations: 0 / 0.7276 GB, free: 9 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.673e-06/0.5897, allocations: 0 / 0.7276 GB, free: 9 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.875e-05/0.5897, allocations: 0 / 0.7276 GB, free: 9 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.003215/0.5929, allocations: 1.062 MB / 0.7286 GB, free: 7.906 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.723e-05/0.593, allocations: 8.031 kB / 0.7286 GB, free: 7.898 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.262e-05/0.593, allocations: 13 kB / 0.7286 GB, free: 7.883 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001994/0.5932, allocations: 90.53 kB / 0.7287 GB, free: 7.785 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001467/0.5947, allocations: 167.5 kB / 0.7289 GB, free: 7.617 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009799/0.5957, allocations: 449.5 kB / 0.7293 GB, free: 7.156 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.315e-05/0.5957, allocations: 40.94 kB / 0.7293 GB, free: 7.113 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.205e-05/0.5958, allocations: 47.92 kB / 0.7294 GB, free: 7.066 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00154/0.5973, allocations: 1.046 MB / 0.7304 GB, free: 5.875 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.89e-05/0.5974, allocations: 3.938 kB / 0.7304 GB, free: 5.871 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.064e-05/0.5974, allocations: 20 kB / 0.7304 GB, free: 5.852 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.278e-05/0.5975, allocations: 12 kB / 0.7304 GB, free: 5.84 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001032/0.5985, allocations: 0.4957 MB / 0.7309 GB, free: 5.344 MB / 0.5606 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.003249/0.6017, allocations: 2.09 MB / 0.733 GB, free: 3.172 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007635/0.6025, allocations: 301.2 kB / 0.7332 GB, free: 2.871 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002999/0.6028, allocations: 144.9 kB / 0.7334 GB, free: 2.727 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002587/0.6031, allocations: 51.95 kB / 0.7334 GB, free: 2.676 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.029e-05/0.6031, allocations: 46.44 kB / 0.7335 GB, free: 2.621 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=35): time 2.615e-06/0.6031, allocations: 4 kB / 0.7335 GB, free: 2.617 MB / 0.5606 GB Notification: Performance of matching and sorting (n=35): time 0.001798/0.6049, allocations: 0.6351 MB / 0.7341 GB, free: 1.973 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001168/0.605, allocations: 162.2 kB / 0.7343 GB, free: 1.777 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007606/0.6058, allocations: 0.5107 MB / 0.7348 GB, free: 1.258 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.798e-05/0.6058, allocations: 37.7 kB / 0.7348 GB, free: 1.215 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002785/0.6061, allocations: 308.1 kB / 0.7351 GB, free: 0.9102 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001427/0.6063, allocations: 138.8 kB / 0.7352 GB, free: 0.7734 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002212/0.6065, allocations: 118.1 kB / 0.7353 GB, free: 0.6523 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001889/0.6067, allocations: 366.8 kB / 0.7357 GB, free: 292 kB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003111/0.607, allocations: 140.9 kB / 0.7358 GB, free: 152 kB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2976/0.9046, allocations: 421 kB / 0.7362 GB, free: 178.4 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009133/0.9055, allocations: 470.7 kB / 0.7367 GB, free: 178.3 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.886e-05/0.9055, allocations: 1.75 kB / 0.7367 GB, free: 178.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001394/0.9069, allocations: 0.5744 MB / 0.7372 GB, free: 178.1 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.831e-05/0.907, allocations: 7.953 kB / 0.7372 GB, free: 178.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.464e-05/0.907, allocations: 4.438 kB / 0.7372 GB, free: 178.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001728/0.9087, allocations: 254.6 kB / 0.7375 GB, free: 178.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000504/0.9092, allocations: 114.5 kB / 0.7376 GB, free: 178.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004305/0.9096, allocations: 0.5895 MB / 0.7382 GB, free: 177.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004154/0.9101, allocations: 60.05 kB / 0.7382 GB, free: 177.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001101/0.9102, allocations: 52.81 kB / 0.7383 GB, free: 177.5 MB / 0.5606 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.0003008/0.9105, allocations: 193.4 kB / 0.7385 GB, free: 177.4 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001436/0.9106, allocations: 62.83 kB / 0.7385 GB, free: 177.4 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001868/0.9125, allocations: 1.104 MB / 0.7396 GB, free: 177 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.9125, allocations: 6.125 kB / 0.7396 GB, free: 177 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.9125, allocations: 0 / 0.7396 GB, free: 177 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.9125, allocations: 1.781 kB / 0.7396 GB, free: 177 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001136/0.9136, allocations: 0.9238 MB / 0.7405 GB, free: 176.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.9136, allocations: 7.672 kB / 0.7405 GB, free: 176.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001882/0.9138, allocations: 57.03 kB / 0.7406 GB, free: 176.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003027/0.9168, allocations: 437.9 kB / 0.741 GB, free: 176.4 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.899e-05/0.9169, allocations: 13.45 kB / 0.741 GB, free: 176.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002835/0.9172, allocations: 0.5965 MB / 0.7416 GB, free: 175.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.9172, allocations: 7.75 kB / 0.7416 GB, free: 175.9 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000594/0.9178, allocations: 0.5005 MB / 0.7421 GB, free: 175.5 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.943e-05/0.9179, allocations: 66.45 kB / 0.7421 GB, free: 175.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001059/0.918, allocations: 24.11 kB / 0.7422 GB, free: 175.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003317/0.9183, allocations: 18.19 kB / 0.7422 GB, free: 175.5 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.604e-05/0.9183, allocations: 23.61 kB / 0.7422 GB, free: 175.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.564e-05/0.9184, allocations: 20.83 kB / 0.7422 GB, free: 175.5 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000414/0.9188, allocations: 453.2 kB / 0.7427 GB, free: 175.1 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9188, allocations: 1.203 kB / 0.7427 GB, free: 175.1 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0007966/0.9196, allocations: 299.3 kB / 0.7429 GB, free: 174.9 MB / 0.5606 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.001268/0.9209, allocations: 1.317 MB / 0.7442 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0007115/0.9216, allocations: 367.6 kB / 0.7446 GB, free: 173.3 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.9216, allocations: 0 / 0.7446 GB, free: 173.3 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002483/0.9218, allocations: 146.7 kB / 0.7447 GB, free: 173.2 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00157/0.9234, allocations: 387.6 kB / 0.7451 GB, free: 172.9 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005059/0.9285, allocations: 5.076 MB / 0.75 GB, free: 167.6 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001755/0.9286, allocations: 264 kB / 0.7503 GB, free: 167.3 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0009628/0.9296, allocations: 0.5651 MB / 0.7508 GB, free: 166.7 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000331/0.9299, allocations: 251.3 kB / 0.7511 GB, free: 166.5 MB / 0.5606 GB Notification: Performance of SimCode: time 8.02e-07/0.9299, allocations: 0 / 0.7511 GB, free: 166.5 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04988/0.9798, allocations: 24.73 MB / 0.7752 GB, free: 142.2 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.09/15.07, allocations: 15.16 kB / 0.7753 GB, free: 142.2 MB / 0.5606 GB " [Timeout remaining time 645] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Orifice_fmu --startTime=0 --stopTime=1.01 --stepSize=0.0002 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Orifice.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/TestCases/PressureLoss/Orifice/Orifice.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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: 18.4833757620072]