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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001757/0.001757, allocations: 121.8 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001995/0.001995, allocations: 201.2 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.447/1.447, allocations: 227.4 MB / 247 MB, free: 10.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2536/0.2536, allocations: 46.12 MB / 344.4 MB, free: 11.41 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002287/0.002287, allocations: 79.88 kB / 480.9 MB, free: 4.469 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3465/0.3488, allocations: 62.45 MB / 0.5306 GB, free: 13.35 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice): time 0.2251/0.5739, allocations: 184.1 MB / 0.7104 GB, free: 8.922 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.007585/0.5816, allocations: 4.604 MB / 0.7149 GB, free: 4.305 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008627/0.5825, allocations: 19.88 kB / 0.7149 GB, free: 4.285 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001122/0.5837, allocations: 341.7 kB / 0.7152 GB, free: 3.949 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.005183/0.5889, allocations: 1.78 MB / 0.717 GB, free: 2.168 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002561/0.5915, allocations: 0.9521 MB / 0.7179 GB, free: 1.223 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.3326/0.924, allocations: 1.703 MB / 0.7196 GB, free: 4.066 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008699/0.9249, allocations: 438.6 kB / 0.72 GB, free: 4.047 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001989/0.9269, allocations: 0.8442 MB / 0.7208 GB, free: 4.047 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007955/0.9278, allocations: 0.4975 MB / 0.7213 GB, free: 4.043 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001296/0.9279, allocations: 55.53 kB / 0.7213 GB, free: 4.043 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002782/0.9307, allocations: 1.302 MB / 0.7226 GB, free: 4.043 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001977/0.9309, allocations: 168.2 kB / 0.7228 GB, free: 4.043 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004728/0.9314, allocations: 376.9 kB / 0.7231 GB, free: 4.043 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002792/0.9342, allocations: 1.647 MB / 0.7247 GB, free: 3.953 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.9342, allocations: 1.75 kB / 0.7247 GB, free: 3.953 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.174e-06/0.9342, allocations: 3 kB / 0.7247 GB, free: 3.953 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.051e-05/0.9342, allocations: 0.9688 kB / 0.7247 GB, free: 3.953 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.002306/0.9365, allocations: 1.127 MB / 0.7258 GB, free: 19.3 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.199e-05/0.9366, allocations: 12.03 kB / 0.7259 GB, free: 19.3 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001225/0.9367, allocations: 88.09 kB / 0.7259 GB, free: 19.26 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001324/0.9381, allocations: 170.4 kB / 0.7261 GB, free: 19.22 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009445/0.939, allocations: 0.5087 MB / 0.7266 GB, free: 18.96 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.122e-05/0.9391, allocations: 35 kB / 0.7266 GB, free: 18.96 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.136e-05/0.9392, allocations: 43.34 kB / 0.7267 GB, free: 18.96 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001242/0.9404, allocations: 0.6426 MB / 0.7273 GB, free: 18.82 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.686e-05/0.9404, allocations: 0.6562 kB / 0.7273 GB, free: 18.82 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.785e-05/0.9405, allocations: 22.53 kB / 0.7273 GB, free: 18.82 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.711e-05/0.9405, allocations: 13.09 kB / 0.7273 GB, free: 18.82 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008467/0.9414, allocations: 0.4965 MB / 0.7278 GB, free: 18.82 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.003048/0.9445, allocations: 2.648 MB / 0.7304 GB, free: 17.13 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006503/0.9451, allocations: 329 kB / 0.7307 GB, free: 17.11 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002521/0.9454, allocations: 157.4 kB / 0.7309 GB, free: 17.1 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004787/0.9459, allocations: 442 kB / 0.7313 GB, free: 16.63 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.783e-05/0.9459, allocations: 37.81 kB / 0.7313 GB, free: 16.59 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=35): time 2.835e-06/0.9459, allocations: 0 / 0.7313 GB, free: 16.59 MB / 0.5762 GB Notification: Performance of matching and sorting (n=35): time 0.001565/0.9475, allocations: 0.7141 MB / 0.732 GB, free: 16.41 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001055/0.9476, allocations: 161.8 kB / 0.7322 GB, free: 16.23 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005329/0.9482, allocations: 0.5191 MB / 0.7327 GB, free: 16.11 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.873e-05/0.9482, allocations: 31.73 kB / 0.7327 GB, free: 16.08 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001772/0.9484, allocations: 308.2 kB / 0.733 GB, free: 15.92 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 8.737e-05/0.9485, allocations: 131.3 kB / 0.7331 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000167/0.9487, allocations: 118.5 kB / 0.7333 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001888/0.9489, allocations: 364.1 kB / 0.7336 GB, free: 15.51 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002529/0.9491, allocations: 146.6 kB / 0.7337 GB, free: 15.51 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00033/0.9495, allocations: 318.2 kB / 0.734 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006075/0.9501, allocations: 478.9 kB / 0.7345 GB, free: 15.13 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.9501, allocations: 6.438 kB / 0.7345 GB, free: 15.13 MB / 0.5762 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0009111/0.951, allocations: 0.5713 MB / 0.7351 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.114e-05/0.951, allocations: 6.375 kB / 0.7351 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.376e-05/0.9511, allocations: 7.344 kB / 0.7351 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001506/0.9526, allocations: 240.6 kB / 0.7353 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003737/0.953, allocations: 119 kB / 0.7354 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005159/0.9535, allocations: 0.5892 MB / 0.736 GB, free: 14.53 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004292/0.9539, allocations: 51.38 kB / 0.736 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.679e-05/0.954, allocations: 51.39 kB / 0.7361 GB, free: 14.5 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.0003084/0.9543, allocations: 204.9 kB / 0.7363 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001195/0.9545, allocations: 70.31 kB / 0.7364 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001706/0.9562, allocations: 1.098 MB / 0.7374 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/0.9562, allocations: 5.031 kB / 0.7374 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.9562, allocations: 0 / 0.7374 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.9562, allocations: 3.906 kB / 0.7374 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001303/0.9575, allocations: 1.019 MB / 0.7384 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.187e-06/0.9575, allocations: 2.938 kB / 0.7384 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000184/0.9577, allocations: 62.27 kB / 0.7385 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003015/0.9608, allocations: 436.9 kB / 0.7389 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.068e-05/0.9608, allocations: 9.344 kB / 0.7389 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000458/0.9613, allocations: 0.6046 MB / 0.7395 GB, free: 13.26 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.9613, allocations: 5.969 kB / 0.7395 GB, free: 13.26 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006909/0.962, allocations: 0.4996 MB / 0.74 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001796/0.9622, allocations: 149.1 kB / 0.7401 GB, free: 12.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001016/0.9623, allocations: 12.17 kB / 0.7402 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003287/0.9626, allocations: 19.34 kB / 0.7402 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.212e-05/0.9627, allocations: 24.95 kB / 0.7402 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.506e-05/0.9627, allocations: 27.14 kB / 0.7402 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005103/0.9633, allocations: 447.1 kB / 0.7407 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7.41e-07/0.9633, allocations: 0 / 0.7407 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009934/0.9643, allocations: 295.1 kB / 0.7409 GB, free: 12.75 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.001748/0.966, allocations: 1.337 MB / 0.7422 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0007155/0.9668, allocations: 380.6 kB / 0.7426 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.9668, allocations: 0.9375 kB / 0.7426 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002622/0.967, allocations: 156 kB / 0.7428 GB, free: 11.94 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00175/0.9688, allocations: 404.8 kB / 0.7431 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006157/0.975, allocations: 5.044 MB / 0.7481 GB, free: 9.84 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004987/0.9755, allocations: 0.8764 MB / 0.7489 GB, free: 9.141 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001111/0.9766, allocations: 0.5703 MB / 0.7495 GB, free: 9.082 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003841/0.977, allocations: 238.4 kB / 0.7497 GB, free: 9.074 MB / 0.5762 GB Notification: Performance of SimCode: time 6.71e-07/0.977, allocations: 0.6875 kB / 0.7497 GB, free: 9.074 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05607/1.033, allocations: 23.13 MB / 0.7723 GB, free: 3.766 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.09/14.13, allocations: 21.33 kB / 0.7723 GB, free: 3.75 MB / 0.5762 GB (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 --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) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches