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.001794/0.001794, 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 trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002393/0.002393, allocations: 213.5 kB / 24.52 MB, free: 3.918 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.39/1.39, allocations: 230.5 MB / 258.2 MB, free: 7.746 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.2174/0.2174, allocations: 46.95 MB / 361.6 MB, free: 3.91 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.00227/0.00227, allocations: 79.83 kB / 0.4969 GB, free: 7.527 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3037/0.3059, allocations: 66.09 MB / 0.5614 GB, free: 4.016 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice): time 0.193/0.4989, allocations: 159.8 MB / 0.7175 GB, free: 3.574 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.007816/0.5067, allocations: 4.259 MB / 0.7217 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007229/0.5075, allocations: 23.81 kB / 0.7217 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001216/0.5087, allocations: 329.8 kB / 0.722 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.005458/0.5141, allocations: 1.831 MB / 0.7238 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003008/0.5171, allocations: 0.9714 MB / 0.7248 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002748/0.5199, allocations: 1.745 MB / 0.7265 GB, free: 10.4 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007894/0.5207, allocations: 378.4 kB / 0.7268 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002048/0.5227, allocations: 0.8799 MB / 0.7277 GB, free: 9.141 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001165/0.5239, allocations: 0.5214 MB / 0.7282 GB, free: 8.617 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002579/0.5241, allocations: 52 kB / 0.7283 GB, free: 8.566 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003206/0.5274, allocations: 1.026 MB / 0.7293 GB, free: 7.539 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003822/0.5277, allocations: 175.3 kB / 0.7294 GB, free: 7.363 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0007697/0.5285, allocations: 322.7 kB / 0.7297 GB, free: 7.047 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003065/0.5316, allocations: 1.573 MB / 0.7313 GB, free: 5.469 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.5316, allocations: 0 / 0.7313 GB, free: 5.469 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.363e-06/0.5316, allocations: 3.938 kB / 0.7313 GB, free: 5.465 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.128e-05/0.5316, allocations: 0 / 0.7313 GB, free: 5.465 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.002637/0.5343, allocations: 1.057 MB / 0.7323 GB, free: 4.375 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/0.5343, allocations: 12.03 kB / 0.7323 GB, free: 4.363 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.107e-05/0.5343, allocations: 17 kB / 0.7323 GB, free: 4.344 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001325/0.5345, allocations: 82.53 kB / 0.7324 GB, free: 4.254 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001385/0.5358, allocations: 167.5 kB / 0.7326 GB, free: 4.09 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009587/0.5368, allocations: 449.5 kB / 0.733 GB, free: 3.629 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.39e-05/0.5368, allocations: 33 kB / 0.733 GB, free: 3.594 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.434e-05/0.5369, allocations: 43.94 kB / 0.7331 GB, free: 3.551 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001443/0.5384, allocations: 1.049 MB / 0.7341 GB, free: 2.355 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.427e-05/0.5384, allocations: 4 kB / 0.7341 GB, free: 2.352 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.057e-05/0.5385, allocations: 20 kB / 0.7341 GB, free: 2.332 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.432e-05/0.5385, allocations: 12 kB / 0.7341 GB, free: 2.32 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009705/0.5394, allocations: 0.4995 MB / 0.7346 GB, free: 1.82 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.2385/0.778, allocations: 2.094 MB / 0.7367 GB, free: 175 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000855/0.7788, allocations: 293.2 kB / 0.7369 GB, free: 175 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003025/0.7791, allocations: 142.9 kB / 0.7371 GB, free: 174.9 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002881/0.7794, allocations: 53.91 kB / 0.7371 GB, free: 174.9 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.393e-05/0.7795, allocations: 46.59 kB / 0.7372 GB, free: 174.9 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=35): time 2.504e-06/0.7795, allocations: 0 / 0.7372 GB, free: 174.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=35): time 0.001919/0.7814, allocations: 0.6316 MB / 0.7378 GB, free: 174.7 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.661e-05/0.7814, allocations: 159.2 kB / 0.7379 GB, free: 174.5 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007514/0.7822, allocations: 0.5259 MB / 0.7385 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.77e-05/0.7822, allocations: 36.95 kB / 0.7385 GB, free: 174.2 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001701/0.7824, allocations: 302.1 kB / 0.7388 GB, free: 174 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 9.526e-05/0.7825, allocations: 134.9 kB / 0.7389 GB, free: 173.9 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001786/0.7827, allocations: 113.4 kB / 0.739 GB, free: 173.9 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 8.663e-05/0.7828, allocations: 365.8 kB / 0.7394 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000266/0.783, allocations: 145.3 kB / 0.7395 GB, free: 173.5 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003553/0.7834, allocations: 421.3 kB / 0.7399 GB, free: 173.1 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000599/0.784, allocations: 474.8 kB / 0.7404 GB, free: 172.8 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.784, allocations: 0 / 0.7404 GB, free: 172.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0008798/0.7849, allocations: 0.5846 MB / 0.7409 GB, free: 172.6 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.7849, allocations: 11.16 kB / 0.7409 GB, free: 172.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.7849, allocations: 4.312 kB / 0.7409 GB, free: 172.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001521/0.7864, allocations: 244.3 kB / 0.7412 GB, free: 172.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003674/0.7868, allocations: 118.8 kB / 0.7413 GB, free: 172.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003138/0.7871, allocations: 0.5947 MB / 0.7419 GB, free: 172 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000355/0.7874, allocations: 58.77 kB / 0.7419 GB, free: 172 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.487e-05/0.7875, allocations: 51.58 kB / 0.742 GB, free: 172 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.0002122/0.7877, allocations: 202.2 kB / 0.7422 GB, free: 171.8 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001096/0.7878, allocations: 64 kB / 0.7422 GB, free: 171.8 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001552/0.7894, allocations: 1.101 MB / 0.7433 GB, free: 171.2 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.7894, allocations: 4 kB / 0.7433 GB, free: 171.2 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.7894, allocations: 0 / 0.7433 GB, free: 171.2 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/0.7894, allocations: 7.688 kB / 0.7433 GB, free: 171.2 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001106/0.7905, allocations: 0.9225 MB / 0.7442 GB, free: 170.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.7905, allocations: 3.938 kB / 0.7442 GB, free: 170.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001863/0.7907, allocations: 49.98 kB / 0.7443 GB, free: 170.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002979/0.7937, allocations: 444.3 kB / 0.7447 GB, free: 169.9 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.325e-05/0.7937, allocations: 12 kB / 0.7447 GB, free: 169.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002687/0.794, allocations: 0.6011 MB / 0.7453 GB, free: 169.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/0.794, allocations: 7.969 kB / 0.7453 GB, free: 169.2 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005399/0.7945, allocations: 0.4946 MB / 0.7458 GB, free: 168.7 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 8.125e-05/0.7946, allocations: 65.8 kB / 0.7458 GB, free: 168.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001058/0.7947, allocations: 15.95 kB / 0.7459 GB, free: 168.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003338/0.795, allocations: 19.92 kB / 0.7459 GB, free: 168.6 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.501e-05/0.7951, allocations: 31.89 kB / 0.7459 GB, free: 168.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.112e-05/0.7951, allocations: 23.73 kB / 0.7459 GB, free: 168.5 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004194/0.7955, allocations: 447 kB / 0.7464 GB, free: 168.1 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7955, allocations: 0 / 0.7464 GB, free: 168.1 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0008171/0.7964, allocations: 293.9 kB / 0.7466 GB, free: 167.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.001324/0.7977, allocations: 1.319 MB / 0.7479 GB, free: 166.6 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0006449/0.7983, allocations: 360.2 kB / 0.7483 GB, free: 166.2 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.7983, allocations: 5.109 kB / 0.7483 GB, free: 166.2 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002403/0.7986, allocations: 139.8 kB / 0.7484 GB, free: 166.1 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001625/0.8002, allocations: 412.8 kB / 0.7488 GB, free: 165.7 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004798/0.805, allocations: 5.045 MB / 0.7537 GB, free: 160.4 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000164/0.8052, allocations: 276.5 kB / 0.754 GB, free: 160.1 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0008288/0.806, allocations: 0.5667 MB / 0.7545 GB, free: 159.5 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003235/0.8063, allocations: 243.3 kB / 0.7548 GB, free: 159.3 MB / 0.5606 GB Notification: Performance of SimCode: time 7.61e-07/0.8063, allocations: 0 / 0.7548 GB, free: 159.3 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0455/0.8518, allocations: 24.72 MB / 0.7789 GB, free: 134.9 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.68/14.53, allocations: 15.17 kB / 0.7789 GB, free: 134.9 MB / 0.5606 GB " [Timeout remaining time 645] (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.781088814954273]