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.001604/0.001604, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.002055/0.002055, allocations: 212.6 kB / 24.51 MB, free: 3.941 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.541/1.541, allocations: 230.6 MB / 258.3 MB, free: 7.797 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.2202/0.2202, allocations: 46.97 MB / 361.7 MB, free: 4.117 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Orifice",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001926/0.001926, allocations: 67.84 kB / 0.4969 GB, free: 7.715 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3342/0.3361, allocations: 66.03 MB / 0.5614 GB, free: 4.211 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice): time 0.2002/0.5363, allocations: 159.9 MB / 0.7175 GB, free: 3.75 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.006983/0.5433, allocations: 4.249 MB / 0.7216 GB, free: 15.49 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007608/0.5441, allocations: 27.75 kB / 0.7216 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001022/0.5451, allocations: 321.8 kB / 0.7219 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.005152/0.5502, allocations: 1.835 MB / 0.7237 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002749/0.553, allocations: 0.9694 MB / 0.7247 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002718/0.5557, allocations: 1.741 MB / 0.7264 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007302/0.5564, allocations: 374.5 kB / 0.7267 GB, free: 10.22 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001938/0.5584, allocations: 0.8799 MB / 0.7276 GB, free: 9.336 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008789/0.5592, allocations: 0.5331 MB / 0.7281 GB, free: 8.801 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001882/0.5594, allocations: 56 kB / 0.7282 GB, free: 8.746 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002648/0.5621, allocations: 1.022 MB / 0.7292 GB, free: 7.723 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002677/0.5624, allocations: 175.3 kB / 0.7293 GB, free: 7.551 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000534/0.5629, allocations: 314.8 kB / 0.7296 GB, free: 7.238 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.004094/0.567, allocations: 1.585 MB / 0.7312 GB, free: 5.648 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.244e-06/0.567, allocations: 0 / 0.7312 GB, free: 5.648 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.385e-06/0.567, allocations: 0 / 0.7312 GB, free: 5.648 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.317e-05/0.567, allocations: 7.938 kB / 0.7312 GB, free: 5.641 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.002477/0.5695, allocations: 1.053 MB / 0.7322 GB, free: 4.555 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 6.066e-05/0.5695, allocations: 8.031 kB / 0.7322 GB, free: 4.547 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.525e-05/0.5696, allocations: 13 kB / 0.7322 GB, free: 4.531 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000141/0.5697, allocations: 90.52 kB / 0.7323 GB, free: 4.434 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001344/0.5711, allocations: 167.5 kB / 0.7325 GB, free: 4.27 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001065/0.5721, allocations: 453.5 kB / 0.7329 GB, free: 3.805 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.8e-05/0.5722, allocations: 29 kB / 0.733 GB, free: 3.773 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.745e-05/0.5723, allocations: 51.94 kB / 0.733 GB, free: 3.723 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001479/0.5737, allocations: 1.041 MB / 0.734 GB, free: 2.539 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.772e-05/0.5738, allocations: 7.938 kB / 0.734 GB, free: 2.531 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.101e-05/0.5738, allocations: 20 kB / 0.734 GB, free: 2.512 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.153e-05/0.5739, allocations: 12 kB / 0.7341 GB, free: 2.5 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009549/0.5748, allocations: 0.4957 MB / 0.7345 GB, free: 2.004 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.2585/0.8333, allocations: 2.084 MB / 0.7366 GB, free: 175.9 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001047/0.8344, allocations: 304.1 kB / 0.7369 GB, free: 175.9 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003474/0.8347, allocations: 142.1 kB / 0.737 GB, free: 175.9 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002881/0.835, allocations: 51.22 kB / 0.7371 GB, free: 175.9 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.586e-05/0.835, allocations: 45.75 kB / 0.7371 GB, free: 175.8 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=35): time 3.286e-06/0.835, allocations: 0 / 0.7371 GB, free: 175.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=35): time 0.00191/0.8369, allocations: 0.6317 MB / 0.7377 GB, free: 175.7 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.473e-05/0.837, allocations: 159.9 kB / 0.7379 GB, free: 175.5 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007512/0.8377, allocations: 0.526 MB / 0.7384 GB, free: 175.2 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.413e-05/0.8378, allocations: 33.58 kB / 0.7384 GB, free: 175.2 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001525/0.8379, allocations: 309.4 kB / 0.7387 GB, free: 175 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 9.345e-05/0.838, allocations: 127.2 kB / 0.7388 GB, free: 174.9 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001806/0.8382, allocations: 115.7 kB / 0.7389 GB, free: 174.9 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 8.117e-05/0.8383, allocations: 363.5 kB / 0.7393 GB, free: 174.5 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002847/0.8386, allocations: 144.5 kB / 0.7394 GB, free: 174.5 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003563/0.8389, allocations: 425 kB / 0.7398 GB, free: 174.1 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005566/0.8395, allocations: 478 kB / 0.7403 GB, free: 173.8 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.347e-06/0.8395, allocations: 0 / 0.7403 GB, free: 173.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0008658/0.8404, allocations: 0.5819 MB / 0.7408 GB, free: 173.5 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.8404, allocations: 8.469 kB / 0.7409 GB, free: 173.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.375e-06/0.8404, allocations: 12.41 kB / 0.7409 GB, free: 173.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001579/0.842, allocations: 240.1 kB / 0.7411 GB, free: 173.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003774/0.8423, allocations: 124.5 kB / 0.7412 GB, free: 173.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003688/0.8427, allocations: 0.5872 MB / 0.7418 GB, free: 173 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003906/0.8431, allocations: 58.77 kB / 0.7418 GB, free: 172.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.015e-05/0.8432, allocations: 53.39 kB / 0.7419 GB, free: 172.9 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.0002612/0.8434, allocations: 195.5 kB / 0.7421 GB, free: 172.8 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001153/0.8436, allocations: 68.16 kB / 0.7421 GB, free: 172.7 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001676/0.8452, allocations: 1.101 MB / 0.7432 GB, free: 172.2 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.8452, allocations: 11.22 kB / 0.7432 GB, free: 172.2 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.8452, allocations: 4 kB / 0.7432 GB, free: 172.2 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.8453, allocations: 3.094 kB / 0.7432 GB, free: 172.2 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001129/0.8464, allocations: 0.921 MB / 0.7441 GB, free: 171.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.8464, allocations: 0 / 0.7441 GB, free: 171.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001893/0.8466, allocations: 55.16 kB / 0.7442 GB, free: 171.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003076/0.8496, allocations: 439.9 kB / 0.7446 GB, free: 170.9 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.812e-05/0.8497, allocations: 12 kB / 0.7446 GB, free: 170.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003076/0.85, allocations: 0.6025 MB / 0.7452 GB, free: 170.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.85, allocations: 8.016 kB / 0.7452 GB, free: 170.3 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006314/0.8506, allocations: 0.4952 MB / 0.7457 GB, free: 169.8 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001064/0.8507, allocations: 65.94 kB / 0.7458 GB, free: 169.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001106/0.8508, allocations: 14.06 kB / 0.7458 GB, free: 169.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003357/0.8512, allocations: 15.98 kB / 0.7458 GB, free: 169.7 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.673e-05/0.8512, allocations: 27.95 kB / 0.7458 GB, free: 169.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.441e-05/0.8513, allocations: 23.73 kB / 0.7458 GB, free: 169.6 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004174/0.8517, allocations: 447 kB / 0.7463 GB, free: 169.2 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.8517, allocations: 0 / 0.7463 GB, free: 169.2 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0008349/0.8525, allocations: 296.1 kB / 0.7466 GB, free: 168.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.001294/0.8538, allocations: 1.322 MB / 0.7478 GB, free: 167.6 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0007072/0.8545, allocations: 359.3 kB / 0.7482 GB, free: 167.3 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.8545, allocations: 1.828 kB / 0.7482 GB, free: 167.3 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002433/0.8548, allocations: 144.5 kB / 0.7483 GB, free: 167.1 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001629/0.8564, allocations: 415.9 kB / 0.7487 GB, free: 166.8 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005049/0.8615, allocations: 5.053 MB / 0.7537 GB, free: 161.5 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001676/0.8616, allocations: 272 kB / 0.7539 GB, free: 161.2 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0009567/0.8626, allocations: 0.5707 MB / 0.7545 GB, free: 160.6 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003374/0.8629, allocations: 239.3 kB / 0.7547 GB, free: 160.4 MB / 0.5606 GB Notification: Performance of SimCode: time 8.52e-07/0.8629, allocations: 0 / 0.7547 GB, free: 160.4 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04521/0.9081, allocations: 24.73 MB / 0.7789 GB, free: 136.1 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.06/14.97, allocations: 7.797 kB / 0.7789 GB, free: 136.1 MB / 0.5606 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: 18.540915619931184]