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.001911/0.001911, allocations: 110 kB / 20.43 MB, free: 1.453 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.0027/0.0027, allocations: 212.2 kB / 23.74 MB, free: 4.66 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.488/1.488, allocations: 230.5 MB / 257.4 MB, free: 8.008 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.2677/0.2677, allocations: 46.93 MB / 360.8 MB, free: 4.207 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Orifice",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002433/0.002433, allocations: 72.2 kB / 0.4962 GB, free: 7.793 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3336/0.3361, allocations: 66.09 MB / 0.5607 GB, free: 4.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice): time 0.5574/0.8935, allocations: 184.9 MB / 0.7413 GB, free: 1.773 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.006031/0.8995, allocations: 4.653 MB / 0.7459 GB, free: 1.738 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000815/0.9004, allocations: 26.78 kB / 0.7459 GB, free: 1.738 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0009987/0.9014, allocations: 343.5 kB / 0.7462 GB, free: 1.734 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004443/0.9058, allocations: 1.831 MB / 0.748 GB, free: 1.68 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002177/0.908, allocations: 0.9736 MB / 0.749 GB, free: 1.656 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002026/0.91, allocations: 1.736 MB / 0.7506 GB, free: 1.648 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005227/0.9105, allocations: 376 kB / 0.751 GB, free: 1.633 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001465/0.912, allocations: 0.878 MB / 0.7519 GB, free: 1.625 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006808/0.9127, allocations: 0.5174 MB / 0.7524 GB, free: 1.625 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.702e-05/0.9128, allocations: 56.55 kB / 0.7524 GB, free: 1.625 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002466/0.9152, allocations: 1.344 MB / 0.7537 GB, free: 1.605 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001709/0.9154, allocations: 181.1 kB / 0.7539 GB, free: 1.605 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003653/0.9158, allocations: 372.2 kB / 0.7543 GB, free: 1.605 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00198/0.9177, allocations: 1.636 MB / 0.7559 GB, free: 1.516 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.9177, allocations: 1.188 kB / 0.7559 GB, free: 1.516 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.312e-06/0.9177, allocations: 3.406 kB / 0.7559 GB, free: 1.516 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.78e-05/0.9178, allocations: 0 / 0.7559 GB, free: 1.516 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.001736/0.9195, allocations: 1.065 MB / 0.7569 GB, free: 16.94 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.9195, allocations: 8.594 kB / 0.7569 GB, free: 16.94 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.799e-05/0.9196, allocations: 96.3 kB / 0.757 GB, free: 16.9 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001161/0.9208, allocations: 162.9 kB / 0.7572 GB, free: 16.86 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007998/0.9216, allocations: 451.3 kB / 0.7576 GB, free: 16.67 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.774e-05/0.9216, allocations: 38.69 kB / 0.7576 GB, free: 16.67 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.102e-05/0.9217, allocations: 42.19 kB / 0.7577 GB, free: 16.67 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000938/0.9226, allocations: 0.6473 MB / 0.7583 GB, free: 16.52 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.622e-05/0.9226, allocations: 0 / 0.7583 GB, free: 16.52 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.735e-05/0.9227, allocations: 20.94 kB / 0.7583 GB, free: 16.52 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.005e-05/0.9227, allocations: 12.31 kB / 0.7583 GB, free: 16.52 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007341/0.9234, allocations: 0.4946 MB / 0.7588 GB, free: 16.52 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.002836/0.9263, allocations: 2.613 MB / 0.7614 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005716/0.9268, allocations: 304.6 kB / 0.7617 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002184/0.9271, allocations: 146 kB / 0.7618 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002113/0.9273, allocations: 54.83 kB / 0.7618 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.94e-05/0.9273, allocations: 49.06 kB / 0.7619 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=35): time 2.154e-06/0.9273, allocations: 2.047 kB / 0.7619 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of matching and sorting (n=35): time 0.001433/0.9287, allocations: 0.6269 MB / 0.7625 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001117/0.9289, allocations: 164.9 kB / 0.7627 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005216/0.9294, allocations: 0.5137 MB / 0.7632 GB, free: 14.4 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.174e-05/0.9294, allocations: 32.77 kB / 0.7632 GB, free: 14.37 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001929/0.9296, allocations: 314.3 kB / 0.7635 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 8.096e-05/0.9297, allocations: 129.4 kB / 0.7636 GB, free: 14.13 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001481/0.9299, allocations: 119.3 kB / 0.7637 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001666/0.93, allocations: 366.7 kB / 0.7641 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002434/0.9303, allocations: 143.8 kB / 0.7642 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003409/0.9306, allocations: 321.6 kB / 0.7645 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006251/0.9312, allocations: 476.1 kB / 0.765 GB, free: 13.42 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.101e-06/0.9312, allocations: 7.312 kB / 0.765 GB, free: 13.42 MB / 0.5762 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0009026/0.9321, allocations: 0.5721 MB / 0.7656 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.9322, allocations: 8.25 kB / 0.7656 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/0.9322, allocations: 5.688 kB / 0.7656 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00143/0.9336, allocations: 240.2 kB / 0.7658 GB, free: 13.33 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003534/0.934, allocations: 119.5 kB / 0.7659 GB, free: 13.33 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004629/0.9344, allocations: 0.5854 MB / 0.7665 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003551/0.9348, allocations: 63.81 kB / 0.7665 GB, free: 12.78 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.534e-05/0.9348, allocations: 54.17 kB / 0.7666 GB, free: 12.78 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.0002531/0.9351, allocations: 193.5 kB / 0.7668 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001222/0.9352, allocations: 59.02 kB / 0.7668 GB, free: 12.63 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001635/0.9369, allocations: 1.106 MB / 0.7679 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.9369, allocations: 4.281 kB / 0.7679 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.805e-06/0.9369, allocations: 6.5 kB / 0.7679 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.9369, allocations: 3.953 kB / 0.7679 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001315/0.9382, allocations: 0.9811 MB / 0.7689 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.9382, allocations: 7 kB / 0.7689 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001979/0.9384, allocations: 52.56 kB / 0.7689 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003116/0.9415, allocations: 438.8 kB / 0.7694 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.957e-05/0.9415, allocations: 10.83 kB / 0.7694 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005208/0.9421, allocations: 0.6033 MB / 0.77 GB, free: 11.58 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.9421, allocations: 6.656 kB / 0.77 GB, free: 11.58 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007278/0.9428, allocations: 0.5083 MB / 0.7705 GB, free: 11.35 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001293/0.9429, allocations: 65.75 kB / 0.7705 GB, free: 11.31 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.641e-05/0.943, allocations: 5.625 kB / 0.7705 GB, free: 11.31 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000321/0.9433, allocations: 18.42 kB / 0.7705 GB, free: 11.31 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.537e-05/0.9434, allocations: 30.33 kB / 0.7706 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.083e-05/0.9434, allocations: 19.77 kB / 0.7706 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004899/0.9439, allocations: 448.5 kB / 0.771 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9439, allocations: 0.9375 kB / 0.771 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008946/0.9448, allocations: 301.5 kB / 0.7713 GB, free: 11.17 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.001704/0.9465, allocations: 1.316 MB / 0.7726 GB, free: 10.37 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.000715/0.9472, allocations: 355.8 kB / 0.7729 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.227e-06/0.9472, allocations: 1.125 kB / 0.7729 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002855/0.9475, allocations: 153.8 kB / 0.7731 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001744/0.9493, allocations: 402.8 kB / 0.7735 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006116/0.9554, allocations: 5.048 MB / 0.7784 GB, free: 8.25 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005464/0.9559, allocations: 0.8684 MB / 0.7792 GB, free: 7.551 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001149/0.9571, allocations: 0.568 MB / 0.7798 GB, free: 7.496 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000373/0.9575, allocations: 242.2 kB / 0.78 GB, free: 7.488 MB / 0.5762 GB Notification: Performance of SimCode: time 1.473e-06/0.9575, allocations: 0 / 0.78 GB, free: 7.488 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05791/1.015, allocations: 23.49 MB / 0.803 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.75/14.77, allocations: 9.125 kB / 0.803 GB, free: 13.54 MB / 0.5919 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: 18.01429464900866]