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.0008391/0.0008391, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0008278/0.0008278, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.9039/0.9039, allocations: 177 MB / 204.1 MB, free: 5.762 MB / 186.7 MB " [Timeout remaining time 179] 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.2469/0.2469, allocations: 34.24 MB / 294.8 MB, free: 0.6758 MB / 266.7 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 2.424e-06/2.424e-06, allocations: 0 / 442.2 MB, free: 1.559 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.732e-05/2.975e-05, allocations: 2.281 kB / 442.2 MB, free: 1.555 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice): time 0.2944/0.2945, allocations: 159.9 MB / 0.5879 GB, free: 0.5273 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.004695/0.2992, allocations: 4.276 MB / 0.5921 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004694/0.2996, allocations: 23.75 kB / 0.5921 GB, free: 12.22 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0006321/0.3003, allocations: 333.6 kB / 0.5925 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.003286/0.3036, allocations: 1.872 MB / 0.5943 GB, free: 10.02 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001623/0.3052, allocations: 0.9903 MB / 0.5952 GB, free: 9.039 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.001625/0.3068, allocations: 1.733 MB / 0.5969 GB, free: 7.301 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000458/0.3073, allocations: 370.5 kB / 0.5973 GB, free: 6.938 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001209/0.3085, allocations: 1.091 MB / 0.5984 GB, free: 5.844 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005352/0.309, allocations: 466.7 kB / 0.5988 GB, free: 5.387 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 9.174e-05/0.3091, allocations: 56 kB / 0.5989 GB, free: 5.332 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002163/0.3113, allocations: 0.998 MB / 0.5998 GB, free: 4.332 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001628/0.3114, allocations: 179.4 kB / 0.6 GB, free: 4.156 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002477/0.3117, allocations: 275.4 kB / 0.6003 GB, free: 3.887 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.002039/0.3137, allocations: 1.687 MB / 0.6019 GB, free: 2.195 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.3137, allocations: 0 / 0.6019 GB, free: 2.195 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.014e-06/0.3137, allocations: 0 / 0.6019 GB, free: 2.195 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.149e-05/0.3137, allocations: 0 / 0.6019 GB, free: 2.195 MB / 0.4948 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.001453/0.3152, allocations: 1.045 MB / 0.6029 GB, free: 1.113 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.688e-05/0.3152, allocations: 8.031 kB / 0.6029 GB, free: 1.105 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.948e-05/0.3153, allocations: 94.52 kB / 0.603 GB, free: 1.004 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006667/0.316, allocations: 171.4 kB / 0.6032 GB, free: 0.8359 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006629/0.3166, allocations: 445.5 kB / 0.6036 GB, free: 384 kB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.226e-05/0.3167, allocations: 37 kB / 0.6037 GB, free: 344 kB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.589e-05/0.3167, allocations: 43.94 kB / 0.6037 GB, free: 300 kB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008617/0.3176, allocations: 1.046 MB / 0.6047 GB, free: 15.11 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.3176, allocations: 0 / 0.6047 GB, free: 15.11 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.696e-05/0.3176, allocations: 27.94 kB / 0.6047 GB, free: 15.08 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.084e-05/0.3176, allocations: 12 kB / 0.6048 GB, free: 15.07 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005989/0.3182, allocations: 0.4956 MB / 0.6052 GB, free: 14.57 MB / 0.5105 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.002068/0.3203, allocations: 2.086 MB / 0.6073 GB, free: 12.41 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004291/0.3207, allocations: 299.3 kB / 0.6076 GB, free: 12.11 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001655/0.3209, allocations: 140.8 kB / 0.6077 GB, free: 11.97 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001897/0.3211, allocations: 59.89 kB / 0.6078 GB, free: 11.91 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.054e-05/0.3211, allocations: 34.56 kB / 0.6078 GB, free: 11.87 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=35): time 1.883e-06/0.3211, allocations: 4 kB / 0.6078 GB, free: 11.86 MB / 0.5105 GB Notification: Performance of matching and sorting (n=35): time 0.001091/0.3222, allocations: 0.639 MB / 0.6084 GB, free: 11.21 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.996e-05/0.3223, allocations: 158.2 kB / 0.6086 GB, free: 11.02 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004512/0.3228, allocations: 0.5347 MB / 0.6091 GB, free: 10.48 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.523e-05/0.3228, allocations: 29.7 kB / 0.6091 GB, free: 10.44 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001675/0.323, allocations: 308.1 kB / 0.6094 GB, free: 10.14 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 7.541e-05/0.323, allocations: 126.9 kB / 0.6095 GB, free: 10.01 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001166/0.3231, allocations: 122.1 kB / 0.6096 GB, free: 9.887 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001091/0.3233, allocations: 370.8 kB / 0.61 GB, free: 9.516 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001747/0.3234, allocations: 136.9 kB / 0.6101 GB, free: 9.383 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002821/0.3237, allocations: 429.1 kB / 0.6105 GB, free: 8.863 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004431/0.3242, allocations: 475.7 kB / 0.611 GB, free: 8.336 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/0.3242, allocations: 4 kB / 0.611 GB, free: 8.332 MB / 0.5105 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0006332/0.3248, allocations: 0.5824 MB / 0.6116 GB, free: 7.742 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.3248, allocations: 4 kB / 0.6116 GB, free: 7.738 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/0.3248, allocations: 11.94 kB / 0.6116 GB, free: 7.727 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000777/0.3256, allocations: 244.6 kB / 0.6118 GB, free: 7.484 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002159/0.3258, allocations: 119.8 kB / 0.6119 GB, free: 7.367 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003543/0.3262, allocations: 0.5875 MB / 0.6125 GB, free: 6.754 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002233/0.3264, allocations: 59.55 kB / 0.6126 GB, free: 6.695 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.728e-05/0.3264, allocations: 58.52 kB / 0.6126 GB, free: 6.641 MB / 0.5105 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.0001832/0.3266, allocations: 199 kB / 0.6128 GB, free: 6.438 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002177/0.3268, allocations: 59.62 kB / 0.6129 GB, free: 6.379 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001117/0.328, allocations: 1.111 MB / 0.614 GB, free: 5.258 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.328, allocations: 4 kB / 0.614 GB, free: 5.254 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.328, allocations: 0 / 0.614 GB, free: 5.254 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.328, allocations: 0 / 0.614 GB, free: 5.254 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008915/0.3289, allocations: 0.9192 MB / 0.6149 GB, free: 4.266 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.3289, allocations: 4 kB / 0.6149 GB, free: 4.262 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001024/0.329, allocations: 43.92 kB / 0.6149 GB, free: 4.219 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00137/0.3303, allocations: 440.2 kB / 0.6153 GB, free: 3.785 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.898e-05/0.3304, allocations: 15.94 kB / 0.6153 GB, free: 3.77 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002779/0.3306, allocations: 0.6031 MB / 0.6159 GB, free: 3.141 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.3306, allocations: 0 / 0.6159 GB, free: 3.141 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004721/0.3311, allocations: 0.5059 MB / 0.6164 GB, free: 2.598 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 8.247e-05/0.3312, allocations: 63.48 kB / 0.6165 GB, free: 2.535 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.788e-05/0.3313, allocations: 19.92 kB / 0.6165 GB, free: 2.516 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001679/0.3314, allocations: 12 kB / 0.6165 GB, free: 2.504 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.963e-05/0.3315, allocations: 23.95 kB / 0.6165 GB, free: 2.48 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.484e-05/0.3315, allocations: 19.98 kB / 0.6165 GB, free: 2.461 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0003639/0.3319, allocations: 459 kB / 0.617 GB, free: 2.008 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8e-08/0.3319, allocations: 0 / 0.617 GB, free: 2.008 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0006406/0.3325, allocations: 295.4 kB / 0.6173 GB, free: 1.719 MB / 0.5105 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.001126/0.3336, allocations: 1.338 MB / 0.6186 GB, free: 344 kB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0005246/0.3342, allocations: 356.6 kB / 0.6189 GB, free: 15.98 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.3342, allocations: 4 kB / 0.6189 GB, free: 15.98 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001783/0.3343, allocations: 145 kB / 0.6191 GB, free: 15.84 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001003/0.3353, allocations: 403.1 kB / 0.6194 GB, free: 15.47 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004451/0.3398, allocations: 5.034 MB / 0.6244 GB, free: 10.2 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001616/0.3399, allocations: 275.9 kB / 0.6246 GB, free: 9.898 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0007232/0.3407, allocations: 0.5686 MB / 0.6252 GB, free: 9.332 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002709/0.3409, allocations: 244.4 kB / 0.6254 GB, free: 9.094 MB / 0.5261 GB Notification: Performance of SimCode: time 1.322e-06/0.3409, allocations: 3.938 kB / 0.6254 GB, free: 9.09 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1802/0.5211, allocations: 25.18 MB / 0.65 GB, free: 163.6 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.162/8.683, allocations: 18.02 kB / 0.65 GB, free: 163.5 MB / 0.5261 GB " [Timeout remaining time 651] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/TestCases/PressureLoss/Orifice/Orifice.csv","/var/lib/jenkins/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: 10.785205851309001]