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.001384/0.001384, allocations: 118.8 kB / 17.79 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001274/0.001274, allocations: 202 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.326/1.326, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2187/0.2187, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002742/0.002743, allocations: 71.89 kB / 480.8 MB, free: 4.57 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3613/0.3641, allocations: 62.44 MB / 0.5305 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice): time 0.2029/0.567, allocations: 184.1 MB / 0.7103 GB, free: 9.051 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.007432/0.5745, allocations: 4.611 MB / 0.7148 GB, free: 4.43 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008835/0.5754, allocations: 15.88 kB / 0.7148 GB, free: 4.414 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001242/0.5767, allocations: 341.7 kB / 0.7151 GB, free: 4.078 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.005595/0.5823, allocations: 1.783 MB / 0.7169 GB, free: 2.289 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002748/0.5851, allocations: 0.9442 MB / 0.7178 GB, free: 1.352 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.3585/0.9436, allocations: 1.701 MB / 0.7194 GB, free: 4.051 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001036/0.9447, allocations: 445.5 kB / 0.7199 GB, free: 4.027 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002069/0.9468, allocations: 0.8513 MB / 0.7207 GB, free: 4.027 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009112/0.9477, allocations: 0.4956 MB / 0.7212 GB, free: 4.027 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001276/0.9478, allocations: 55.92 kB / 0.7212 GB, free: 4.027 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00283/0.9507, allocations: 1.301 MB / 0.7225 GB, free: 4.027 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001919/0.9509, allocations: 170.8 kB / 0.7227 GB, free: 4.027 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004696/0.9513, allocations: 376.1 kB / 0.723 GB, free: 4.027 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002882/0.9542, allocations: 1.636 MB / 0.7246 GB, free: 3.996 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.344e-06/0.9543, allocations: 1.594 kB / 0.7246 GB, free: 3.996 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.934e-06/0.9543, allocations: 0 / 0.7246 GB, free: 3.996 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.504e-05/0.9543, allocations: 0.7188 kB / 0.7246 GB, free: 3.996 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.002902/0.9572, allocations: 1.105 MB / 0.7257 GB, free: 19.4 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.105e-05/0.9573, allocations: 10.22 kB / 0.7257 GB, free: 19.4 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001443/0.9574, allocations: 89.52 kB / 0.7258 GB, free: 19.36 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001355/0.9588, allocations: 162.6 kB / 0.726 GB, free: 19.33 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001023/0.9598, allocations: 0.5098 MB / 0.7265 GB, free: 19.07 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.829e-05/0.9599, allocations: 35.25 kB / 0.7265 GB, free: 19.07 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.296e-05/0.9599, allocations: 40.31 kB / 0.7265 GB, free: 19.07 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001149/0.9611, allocations: 0.6474 MB / 0.7272 GB, free: 18.93 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.719e-05/0.9611, allocations: 5.266 kB / 0.7272 GB, free: 18.92 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.52e-05/0.9612, allocations: 24.88 kB / 0.7272 GB, free: 18.92 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.721e-05/0.9612, allocations: 14.84 kB / 0.7272 GB, free: 18.92 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008508/0.9621, allocations: 0.4919 MB / 0.7277 GB, free: 18.92 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.003117/0.9652, allocations: 2.64 MB / 0.7303 GB, free: 17.24 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006072/0.9658, allocations: 327.4 kB / 0.7306 GB, free: 17.21 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000226/0.9661, allocations: 161.9 kB / 0.7307 GB, free: 17.2 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004153/0.9665, allocations: 441.7 kB / 0.7311 GB, free: 16.73 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.847e-05/0.9665, allocations: 37.09 kB / 0.7312 GB, free: 16.7 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=35): time 2.174e-06/0.9666, allocations: 0 / 0.7312 GB, free: 16.7 MB / 0.5762 GB Notification: Performance of matching and sorting (n=35): time 0.001549/0.9681, allocations: 0.7135 MB / 0.7319 GB, free: 16.52 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001243/0.9682, allocations: 159 kB / 0.732 GB, free: 16.33 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005526/0.9688, allocations: 0.5213 MB / 0.7325 GB, free: 16.21 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.994e-05/0.9689, allocations: 32.3 kB / 0.7326 GB, free: 16.18 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002057/0.9691, allocations: 301.1 kB / 0.7329 GB, free: 16.04 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 9.884e-05/0.9692, allocations: 121.3 kB / 0.733 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001809/0.9694, allocations: 124.3 kB / 0.7331 GB, free: 15.94 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001813/0.9696, allocations: 366.7 kB / 0.7334 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002597/0.9698, allocations: 140.2 kB / 0.7336 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003802/0.9702, allocations: 326 kB / 0.7339 GB, free: 15.42 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006373/0.9709, allocations: 476.7 kB / 0.7343 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/0.9709, allocations: 3.031 kB / 0.7343 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0009524/0.9718, allocations: 0.5688 MB / 0.7349 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.145e-05/0.9719, allocations: 10.56 kB / 0.7349 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/0.9719, allocations: 3.406 kB / 0.7349 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001541/0.9734, allocations: 241.1 kB / 0.7351 GB, free: 15.17 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003661/0.9738, allocations: 119.6 kB / 0.7353 GB, free: 15.17 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004768/0.9743, allocations: 0.5906 MB / 0.7358 GB, free: 14.65 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004157/0.9747, allocations: 55 kB / 0.7359 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.781e-05/0.9748, allocations: 55.33 kB / 0.7359 GB, free: 14.62 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.0002663/0.9751, allocations: 202.3 kB / 0.7361 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001159/0.9752, allocations: 58.53 kB / 0.7362 GB, free: 14.47 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001745/0.977, allocations: 1.098 MB / 0.7373 GB, free: 14.31 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.672e-06/0.977, allocations: 3.469 kB / 0.7373 GB, free: 14.31 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.977, allocations: 3.094 kB / 0.7373 GB, free: 14.31 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.977, allocations: 0 / 0.7373 GB, free: 14.31 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001433/0.9784, allocations: 1.023 MB / 0.7383 GB, free: 13.92 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.9785, allocations: 4.844 kB / 0.7383 GB, free: 13.92 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001897/0.9787, allocations: 55.11 kB / 0.7383 GB, free: 13.92 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002993/0.9817, allocations: 437 kB / 0.7387 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.7e-05/0.9817, allocations: 12.22 kB / 0.7387 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004094/0.9821, allocations: 0.5968 MB / 0.7393 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.9821, allocations: 3.594 kB / 0.7393 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006471/0.9828, allocations: 0.4977 MB / 0.7398 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001674/0.983, allocations: 144.8 kB / 0.74 GB, free: 13.03 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.174e-05/0.9831, allocations: 17.3 kB / 0.74 GB, free: 13.03 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003262/0.9834, allocations: 13.56 kB / 0.74 GB, free: 13.03 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.186e-05/0.9835, allocations: 32.16 kB / 0.74 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.51e-05/0.9835, allocations: 26.53 kB / 0.74 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005021/0.984, allocations: 447.9 kB / 0.7405 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.5e-07/0.984, allocations: 0 / 0.7405 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009954/0.985, allocations: 293.8 kB / 0.7408 GB, free: 12.89 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.001761/0.9868, allocations: 1.324 MB / 0.742 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.000737/0.9875, allocations: 372.3 kB / 0.7424 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/0.9876, allocations: 6.812 kB / 0.7424 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002709/0.9878, allocations: 151.4 kB / 0.7426 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001823/0.9897, allocations: 400.6 kB / 0.7429 GB, free: 12.04 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00656/0.9962, allocations: 5.033 MB / 0.7478 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004438/0.9967, allocations: 0.8672 MB / 0.7487 GB, free: 9.316 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001056/0.9978, allocations: 0.5747 MB / 0.7493 GB, free: 9.258 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003639/0.9981, allocations: 246.1 kB / 0.7495 GB, free: 9.246 MB / 0.5762 GB Notification: Performance of SimCode: time 1.233e-06/0.9982, allocations: 0 / 0.7495 GB, free: 9.246 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05473/1.053, allocations: 23.39 MB / 0.7723 GB, free: 3.762 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.38/13.43, allocations: 6.469 kB / 0.7723 GB, free: 3.758 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