Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_NewFittings_Orifices_ThickEdgedOrifice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_NewFittings_Orifices_ThickEdgedOrifice",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007482/0.0007481, allocations: 97.8 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007585/0.0007586, allocations: 177 kB / 16.92 MB, free: 6.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.226/1.226, allocations: 205.4 MB / 223.1 MB, free: 5.203 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2877/0.2877, allocations: 43.58 MB / 315 MB, free: 9.188 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004797/0.0004798, allocations: 12 kB / 384.7 MB, free: 7.754 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09104/0.09153, allocations: 58.87 MB / 443.6 MB, free: 12.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice): time 0.3338/0.4254, allocations: 185.9 MB / 0.6147 GB, free: 1.289 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.007393/0.4328, allocations: 5.798 MB / 0.6203 GB, free: 11.49 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005858/0.4334, allocations: 19.88 kB / 0.6203 GB, free: 11.47 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008014/0.4343, allocations: 278.4 kB / 0.6206 GB, free: 11.2 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003406/0.4377, allocations: 1.428 MB / 0.622 GB, free: 9.77 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001502/0.4392, allocations: 0.6692 MB / 0.6227 GB, free: 9.109 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001868/0.4411, allocations: 2.032 MB / 0.6246 GB, free: 7.07 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004309/0.4415, allocations: 365.9 kB / 0.625 GB, free: 6.715 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006353/0.4422, allocations: 0.5174 MB / 0.6255 GB, free: 6.195 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000478/0.4426, allocations: 474 kB / 0.6259 GB, free: 5.73 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.051e-05/0.4427, allocations: 28 kB / 0.626 GB, free: 5.703 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001978/0.4447, allocations: 1.275 MB / 0.6272 GB, free: 4.426 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001368/0.4448, allocations: 139.4 kB / 0.6274 GB, free: 4.289 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003017/0.4452, allocations: 352.2 kB / 0.6277 GB, free: 3.938 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001682/0.4468, allocations: 1.578 MB / 0.6292 GB, free: 2.355 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.4469, allocations: 0 / 0.6292 GB, free: 2.355 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.4469, allocations: 0 / 0.6292 GB, free: 2.355 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.253e-06/0.4469, allocations: 4 kB / 0.6292 GB, free: 2.352 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 105 * Number of variables: 105 Notification: Performance of Generate backend data structure: time 0.001535/0.4484, allocations: 0.9482 MB / 0.6302 GB, free: 1.352 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.4485, allocations: 15.97 kB / 0.6302 GB, free: 1.336 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000103/0.4486, allocations: 85.66 kB / 0.6303 GB, free: 1.246 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009311/0.4495, allocations: 143.2 kB / 0.6304 GB, free: 1.105 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000566/0.4501, allocations: 484.4 kB / 0.6309 GB, free: 0.5938 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.909e-05/0.4501, allocations: 33 kB / 0.6309 GB, free: 0.5586 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.827e-05/0.4502, allocations: 39.94 kB / 0.6309 GB, free: 0.5195 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1588/0.609, allocations: 0.6007 MB / 0.6315 GB, free: 156.3 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.191e-05/0.6091, allocations: 3.844 kB / 0.6315 GB, free: 156.3 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.393e-05/0.6091, allocations: 20.12 kB / 0.6315 GB, free: 156.3 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.003e-05/0.6092, allocations: 8.656 kB / 0.6315 GB, free: 156.3 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009001/0.6101, allocations: 494.5 kB / 0.632 GB, free: 156.3 MB / 494.1 MB 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.002235/0.6123, allocations: 2.692 MB / 0.6346 GB, free: 154.6 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005986/0.6129, allocations: 356.2 kB / 0.635 GB, free: 154.5 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002649/0.6132, allocations: 172.5 kB / 0.6351 GB, free: 154.5 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008838/0.6141, allocations: 1.315 MB / 0.6364 GB, free: 153.4 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.247e-05/0.6141, allocations: 41.34 kB / 0.6365 GB, free: 153.4 MB / 494.1 MB Notification: Performance of pre-optimization done (n=33): time 1.884e-06/0.6141, allocations: 1.688 kB / 0.6365 GB, free: 153.4 MB / 494.1 MB Notification: Performance of matching and sorting (n=33): time 0.001456/0.6156, allocations: 0.7445 MB / 0.6372 GB, free: 153.2 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.322e-05/0.6156, allocations: 131.5 kB / 0.6373 GB, free: 153 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004395/0.6161, allocations: 498.9 kB / 0.6378 GB, free: 152.9 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.772e-05/0.6161, allocations: 33.45 kB / 0.6378 GB, free: 152.9 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001496/0.6163, allocations: 287.4 kB / 0.6381 GB, free: 152.7 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.658e-05/0.6164, allocations: 114.6 kB / 0.6382 GB, free: 152.7 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.381e-05/0.6164, allocations: 38.05 kB / 0.6382 GB, free: 152.7 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 7.424e-05/0.6165, allocations: 361.5 kB / 0.6386 GB, free: 152.3 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002772/0.6168, allocations: 153.4 kB / 0.6387 GB, free: 152.3 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003324/0.6171, allocations: 288.3 kB / 0.639 GB, free: 152.2 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005892/0.6177, allocations: 452.3 kB / 0.6394 GB, free: 152.1 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/0.6177, allocations: 0 / 0.6394 GB, free: 152.1 MB / 494.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008398/0.6186, allocations: 0.5508 MB / 0.64 GB, free: 152 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.6186, allocations: 5.781 kB / 0.64 GB, free: 152 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.6186, allocations: 2.906 kB / 0.64 GB, free: 152 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001497/0.6201, allocations: 295 kB / 0.6403 GB, free: 152 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003073/0.6204, allocations: 105.1 kB / 0.6404 GB, free: 152 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003169/0.6208, allocations: 0.6035 MB / 0.641 GB, free: 151.5 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003303/0.6211, allocations: 64.97 kB / 0.641 GB, free: 151.4 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.967e-05/0.6212, allocations: 48.33 kB / 0.6411 GB, free: 151.4 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (44): * Single equations (assignments): 43 * 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.0001948/0.6214, allocations: 184.4 kB / 0.6412 GB, free: 151.3 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.932e-05/0.6215, allocations: 56.44 kB / 0.6413 GB, free: 151.3 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001494/0.623, allocations: 0.737 MB / 0.642 GB, free: 151.1 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.623, allocations: 5.562 kB / 0.642 GB, free: 151.1 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.623, allocations: 7.938 kB / 0.642 GB, free: 151.1 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.623, allocations: 0 / 0.642 GB, free: 151.1 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001111/0.6241, allocations: 1.043 MB / 0.6431 GB, free: 150.8 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.6241, allocations: 3.062 kB / 0.6431 GB, free: 150.8 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001894/0.6243, allocations: 53.22 kB / 0.6431 GB, free: 150.8 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003143/0.6275, allocations: 0.5444 MB / 0.6436 GB, free: 150.7 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.173e-05/0.6275, allocations: 15.97 kB / 0.6437 GB, free: 150.7 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002775/0.6278, allocations: 0.6098 MB / 0.6442 GB, free: 150.2 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.6278, allocations: 3.844 kB / 0.6443 GB, free: 150.2 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006239/0.6284, allocations: 0.5257 MB / 0.6448 GB, free: 150 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001229/0.6286, allocations: 174.8 kB / 0.6449 GB, free: 149.8 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.971e-05/0.6287, allocations: 10.44 kB / 0.6449 GB, free: 149.8 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003507/0.629, allocations: 33.45 kB / 0.645 GB, free: 149.8 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.536e-05/0.6291, allocations: 29.72 kB / 0.645 GB, free: 149.8 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.782e-05/0.6291, allocations: 21.92 kB / 0.645 GB, free: 149.8 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003837/0.6295, allocations: 417.2 kB / 0.6454 GB, free: 149.7 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.6295, allocations: 0 / 0.6454 GB, free: 149.7 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0007552/0.6303, allocations: 318.3 kB / 0.6457 GB, free: 149.7 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (27): * Single equations (assignments): 26 * 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.001562/0.6318, allocations: 1.41 MB / 0.6471 GB, free: 149 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0007364/0.6326, allocations: 382.8 kB / 0.6475 GB, free: 148.9 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.6326, allocations: 0 / 0.6475 GB, free: 148.9 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000306/0.6329, allocations: 170.1 kB / 0.6476 GB, free: 148.9 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001714/0.6346, allocations: 353.6 kB / 0.648 GB, free: 148.9 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005264/0.6399, allocations: 5.294 MB / 0.6531 GB, free: 145.7 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002279/0.6402, allocations: 0.8629 MB / 0.654 GB, free: 145 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0007915/0.641, allocations: 207.5 kB / 0.6542 GB, free: 145 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002982/0.6413, allocations: 214.2 kB / 0.6544 GB, free: 144.8 MB / 494.1 MB Notification: Performance of SimCode: time 4.91e-07/0.6413, allocations: 0 / 0.6544 GB, free: 144.8 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5963/1.238, allocations: 21.48 MB / 0.6754 GB, free: 139.8 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001514/1.238, allocations: 304.5 kB / 0.6757 GB, free: 139.4 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.385/3.623, allocations: 7.938 kB / 0.6757 GB, free: 139.4 MB / 494.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_NewFittings_Orifices_ThickEdgedOrifice_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_NewFittings_Orifices_ThickEdgedOrifice.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/NewFittings/Orifices/ThickEdgedOrifice/ThickEdgedOrifice.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches