Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.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.Dissipation.TestCases.PressureLoss.Orifice,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Orifice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice,fileNamePrefix="ModelicaTest_3_2_3_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 4.0.0+maint.om/package.mo): time 0.001148/0.001148, allocations: 104 kB / 16.27 MB, free: 6.051 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001198/0.001198, allocations: 191 kB / 17.19 MB, free: 5.688 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.423/1.423, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2209/0.2209, allocations: 43.52 MB / 313.9 MB, free: 0.5273 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.001569/0.001569, allocations: 63.53 kB / 382.8 MB, free: 56.71 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1187/0.1203, allocations: 57.8 MB / 440.6 MB, free: 6.785 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice): time 0.5145/0.6349, allocations: 187.7 MB / 0.6136 GB, free: 4.152 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01057/0.6455, allocations: 7.027 MB / 0.6205 GB, free: 14.48 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001049/0.6466, allocations: 15.03 kB / 0.6205 GB, free: 14.47 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001178/0.6479, allocations: 340.7 kB / 0.6208 GB, free: 14.19 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007125/0.655, allocations: 2.377 MB / 0.6231 GB, free: 12.52 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002574/0.6576, allocations: 0.9481 MB / 0.6241 GB, free: 11.83 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002439/0.6601, allocations: 1.689 MB / 0.6257 GB, free: 10.87 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007782/0.6609, allocations: 446.2 kB / 0.6261 GB, free: 10.59 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001768/0.6626, allocations: 0.839 MB / 0.6269 GB, free: 9.934 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000652/0.6633, allocations: 0.4941 MB / 0.6274 GB, free: 9.438 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001036/0.6634, allocations: 52 kB / 0.6275 GB, free: 9.387 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003001/0.6664, allocations: 1.412 MB / 0.6289 GB, free: 7.973 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001803/0.6666, allocations: 171.5 kB / 0.629 GB, free: 7.805 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003972/0.667, allocations: 378.3 kB / 0.6294 GB, free: 7.434 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00246/0.6695, allocations: 1.73 MB / 0.6311 GB, free: 5.699 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.6695, allocations: 0 / 0.6311 GB, free: 5.699 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.6695, allocations: 0 / 0.6311 GB, free: 5.699 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.037e-06/0.6695, allocations: 0 / 0.6311 GB, free: 5.699 MB / 446.1 MB 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.001949/0.6715, allocations: 1.145 MB / 0.6322 GB, free: 4.504 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.6715, allocations: 15.89 kB / 0.6322 GB, free: 4.488 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001064/0.6717, allocations: 98.44 kB / 0.6323 GB, free: 4.383 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001116/0.6728, allocations: 155.1 kB / 0.6324 GB, free: 4.23 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006568/0.6734, allocations: 496.4 kB / 0.6329 GB, free: 3.703 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.143e-05/0.6735, allocations: 36.98 kB / 0.633 GB, free: 3.668 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.256e-05/0.6736, allocations: 44 kB / 0.633 GB, free: 3.625 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001028/0.6746, allocations: 0.6361 MB / 0.6336 GB, free: 2.945 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.668e-05/0.6746, allocations: 11.94 kB / 0.6336 GB, free: 2.934 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.166e-05/0.6747, allocations: 23.94 kB / 0.6337 GB, free: 2.91 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.555e-05/0.6747, allocations: 12 kB / 0.6337 GB, free: 2.898 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008593/0.6756, allocations: 499.6 kB / 0.6341 GB, free: 2.41 MB / 446.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.003047/0.6786, allocations: 2.676 MB / 0.6368 GB, free: 15.55 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006506/0.6793, allocations: 326.8 kB / 0.6371 GB, free: 15.22 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002492/0.6796, allocations: 156.8 kB / 0.6372 GB, free: 15.07 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001241/0.6808, allocations: 1.3 MB / 0.6385 GB, free: 13.55 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.398e-05/0.6809, allocations: 42.56 kB / 0.6385 GB, free: 13.5 MB / 462.1 MB Notification: Performance of pre-optimization done (n=35): time 1.854e-06/0.6809, allocations: 0 / 0.6385 GB, free: 13.5 MB / 462.1 MB Notification: Performance of matching and sorting (n=35): time 0.001626/0.6825, allocations: 0.6976 MB / 0.6392 GB, free: 12.77 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.895e-05/0.6826, allocations: 166.2 kB / 0.6394 GB, free: 12.57 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005883/0.6832, allocations: 0.5184 MB / 0.6399 GB, free: 12.04 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.402e-05/0.6833, allocations: 37.7 kB / 0.6399 GB, free: 12 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002153/0.6835, allocations: 295.7 kB / 0.6402 GB, free: 11.7 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001057/0.6836, allocations: 130.1 kB / 0.6403 GB, free: 11.57 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001817/0.6838, allocations: 118.2 kB / 0.6404 GB, free: 11.45 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001493/0.6839, allocations: 362.8 kB / 0.6408 GB, free: 11.09 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000289/0.6842, allocations: 145 kB / 0.6409 GB, free: 10.95 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004098/0.6847, allocations: 318.9 kB / 0.6412 GB, free: 10.56 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006927/0.6854, allocations: 478.5 kB / 0.6417 GB, free: 10.03 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.6854, allocations: 4 kB / 0.6417 GB, free: 10.02 MB / 462.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001016/0.6864, allocations: 0.5679 MB / 0.6422 GB, free: 9.445 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.18e-05/0.6864, allocations: 11.94 kB / 0.6422 GB, free: 9.434 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.043e-05/0.6865, allocations: 4 kB / 0.6422 GB, free: 9.43 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001635/0.6881, allocations: 240.5 kB / 0.6425 GB, free: 9.191 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004132/0.6885, allocations: 116.8 kB / 0.6426 GB, free: 9.078 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005459/0.6891, allocations: 0.5798 MB / 0.6432 GB, free: 8.473 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004232/0.6895, allocations: 63.47 kB / 0.6432 GB, free: 8.41 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.655e-05/0.6896, allocations: 51.98 kB / 0.6433 GB, free: 8.359 MB / 462.1 MB 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.0003079/0.6899, allocations: 201.5 kB / 0.6435 GB, free: 8.152 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001335/0.6901, allocations: 63.25 kB / 0.6435 GB, free: 8.09 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001684/0.6918, allocations: 0.7396 MB / 0.6442 GB, free: 7.32 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/0.6918, allocations: 4 kB / 0.6442 GB, free: 7.316 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.6918, allocations: 0 / 0.6442 GB, free: 7.316 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.99e-06/0.6918, allocations: 0 / 0.6442 GB, free: 7.316 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001448/0.6932, allocations: 1.015 MB / 0.6452 GB, free: 6.223 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.6933, allocations: 0 / 0.6452 GB, free: 6.223 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002035/0.6935, allocations: 51.91 kB / 0.6453 GB, free: 6.172 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003177/0.6967, allocations: 452.3 kB / 0.6457 GB, free: 5.727 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.94e-05/0.6967, allocations: 8 kB / 0.6457 GB, free: 5.719 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004467/0.6972, allocations: 0.5953 MB / 0.6463 GB, free: 5.098 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.6972, allocations: 0 / 0.6463 GB, free: 5.098 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007803/0.698, allocations: 0.4967 MB / 0.6468 GB, free: 4.562 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001568/0.6981, allocations: 144.3 kB / 0.6469 GB, free: 4.402 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000101/0.6982, allocations: 12 kB / 0.6469 GB, free: 4.391 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003408/0.6986, allocations: 15.98 kB / 0.647 GB, free: 4.375 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.594e-05/0.6987, allocations: 35.83 kB / 0.647 GB, free: 4.34 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.745e-05/0.6987, allocations: 19.98 kB / 0.647 GB, free: 4.32 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0005555/0.6993, allocations: 438.8 kB / 0.6474 GB, free: 3.895 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.334e-06/0.6993, allocations: 3.938 kB / 0.6474 GB, free: 3.891 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001125/0.7004, allocations: 335.7 kB / 0.6477 GB, free: 3.562 MB / 462.1 MB 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.002118/0.7025, allocations: 1.394 MB / 0.6491 GB, free: 2.121 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0009051/0.7035, allocations: 384.9 kB / 0.6495 GB, free: 1.746 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/0.7035, allocations: 4 kB / 0.6495 GB, free: 1.742 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003154/0.7038, allocations: 160.3 kB / 0.6496 GB, free: 1.586 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002018/0.7058, allocations: 407 kB / 0.65 GB, free: 1.191 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007606/0.7134, allocations: 5.2 MB / 0.6551 GB, free: 11.75 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005206/0.714, allocations: 0.8715 MB / 0.6559 GB, free: 10.85 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001097/0.7151, allocations: 217.1 kB / 0.6562 GB, free: 10.64 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004375/0.7156, allocations: 231.3 kB / 0.6564 GB, free: 10.41 MB / 478.1 MB Notification: Performance of SimCode: time 1.223e-06/0.7156, allocations: 0 / 0.6564 GB, free: 10.41 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05333/0.7689, allocations: 23.85 MB / 0.6797 GB, free: 2.559 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.02/12.79, allocations: 3.75 kB / 0.6797 GB, free: 2.555 MB / 494.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0002 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Orifice.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/TestCases/PressureLoss/Orifice/Orifice.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches