Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001739/0.001739, allocations: 111.1 kB / 20.44 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002416/0.002416, allocations: 204.2 kB / 23.73 MB, free: 4.379 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.437/1.437, allocations: 230.6 MB / 257.5 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2232/0.2232, allocations: 46.96 MB / 360.9 MB, free: 4.043 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Orifice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Orifice",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001891/0.001891, allocations: 67.89 kB / 0.4961 GB, free: 7.723 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3061/0.308, allocations: 66.04 MB / 0.5606 GB, free: 4.242 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice): time 0.1978/0.5058, allocations: 160 MB / 0.7168 GB, free: 3.668 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.007189/0.513, allocations: 4.263 MB / 0.721 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006272/0.5136, allocations: 23.81 kB / 0.721 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0009812/0.5146, allocations: 329.8 kB / 0.7213 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.00474/0.5193, allocations: 1.835 MB / 0.7231 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002569/0.5219, allocations: 0.9772 MB / 0.7241 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002739/0.5246, allocations: 1.734 MB / 0.7258 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006687/0.5253, allocations: 374.5 kB / 0.7261 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001893/0.5272, allocations: 0.8839 MB / 0.727 GB, free: 9.23 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008636/0.5281, allocations: 0.5253 MB / 0.7275 GB, free: 8.703 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.737e-05/0.5282, allocations: 56 kB / 0.7275 GB, free: 8.648 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002378/0.5305, allocations: 1.022 MB / 0.7285 GB, free: 7.625 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002788/0.5308, allocations: 179.3 kB / 0.7287 GB, free: 7.445 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000435/0.5313, allocations: 314.7 kB / 0.729 GB, free: 7.137 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002768/0.534, allocations: 1.581 MB / 0.7306 GB, free: 5.551 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.534, allocations: 0 / 0.7306 GB, free: 5.551 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.523e-06/0.534, allocations: 0 / 0.7306 GB, free: 5.551 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.014e-05/0.534, allocations: 0 / 0.7306 GB, free: 5.551 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.002036/0.5361, allocations: 1.06 MB / 0.7316 GB, free: 4.457 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/0.5361, allocations: 8.031 kB / 0.7316 GB, free: 4.449 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00012/0.5362, allocations: 90.52 kB / 0.7317 GB, free: 4.352 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001238/0.5375, allocations: 163.5 kB / 0.7318 GB, free: 4.191 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009374/0.5384, allocations: 453.5 kB / 0.7323 GB, free: 3.723 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.299e-05/0.5384, allocations: 32.94 kB / 0.7323 GB, free: 3.691 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.176e-05/0.5385, allocations: 44 kB / 0.7323 GB, free: 3.648 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001455/0.54, allocations: 1.053 MB / 0.7334 GB, free: 2.445 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.576e-05/0.54, allocations: 0 / 0.7334 GB, free: 2.445 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.479e-05/0.5401, allocations: 31.98 kB / 0.7334 GB, free: 2.414 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.339e-05/0.5401, allocations: 12 kB / 0.7334 GB, free: 2.402 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000957/0.541, allocations: 495.6 kB / 0.7339 GB, free: 1.922 MB / 0.5606 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.2262/0.7673, allocations: 2.083 MB / 0.7359 GB, free: 175.9 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009705/0.7682, allocations: 295.4 kB / 0.7362 GB, free: 175.9 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003451/0.7686, allocations: 149.3 kB / 0.7363 GB, free: 175.9 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003148/0.7689, allocations: 51.52 kB / 0.7364 GB, free: 175.9 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.832e-05/0.7689, allocations: 47.22 kB / 0.7364 GB, free: 175.8 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=35): time 2.675e-06/0.7689, allocations: 0 / 0.7364 GB, free: 175.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=35): time 0.002123/0.7711, allocations: 0.6292 MB / 0.7371 GB, free: 175.7 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.743e-05/0.7711, allocations: 159.2 kB / 0.7372 GB, free: 175.5 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007668/0.7719, allocations: 0.5298 MB / 0.7377 GB, free: 175.2 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.99e-05/0.7719, allocations: 40.98 kB / 0.7378 GB, free: 175.2 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001771/0.7721, allocations: 311.1 kB / 0.7381 GB, free: 175 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 9.587e-05/0.7722, allocations: 122.6 kB / 0.7382 GB, free: 174.9 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001809/0.7724, allocations: 118 kB / 0.7383 GB, free: 174.8 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 8.905e-05/0.7725, allocations: 365.6 kB / 0.7386 GB, free: 174.5 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002671/0.7727, allocations: 146.1 kB / 0.7388 GB, free: 174.5 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003566/0.7731, allocations: 423.9 kB / 0.7392 GB, free: 174.1 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005575/0.7737, allocations: 473 kB / 0.7396 GB, free: 173.8 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.7737, allocations: 3.969 kB / 0.7396 GB, free: 173.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.000865/0.7745, allocations: 0.5778 MB / 0.7402 GB, free: 173.5 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.7745, allocations: 7.344 kB / 0.7402 GB, free: 173.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/0.7746, allocations: 6 kB / 0.7402 GB, free: 173.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001599/0.7762, allocations: 249.8 kB / 0.7405 GB, free: 173.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003863/0.7765, allocations: 116.1 kB / 0.7406 GB, free: 173.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003207/0.7769, allocations: 0.5981 MB / 0.7411 GB, free: 172.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003707/0.7772, allocations: 52.34 kB / 0.7412 GB, free: 172.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.361e-05/0.7773, allocations: 57.11 kB / 0.7413 GB, free: 172.9 MB / 0.5606 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.0002344/0.7775, allocations: 199.1 kB / 0.7414 GB, free: 172.8 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001082/0.7777, allocations: 66.47 kB / 0.7415 GB, free: 172.7 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001579/0.7792, allocations: 1.096 MB / 0.7426 GB, free: 172.2 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.7792, allocations: 4 kB / 0.7426 GB, free: 172.2 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.7792, allocations: 0 / 0.7426 GB, free: 172.2 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.7792, allocations: 0 / 0.7426 GB, free: 172.2 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001097/0.7803, allocations: 0.9288 MB / 0.7435 GB, free: 171.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.7803, allocations: 0 / 0.7435 GB, free: 171.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001898/0.7805, allocations: 60.47 kB / 0.7435 GB, free: 171.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003196/0.7837, allocations: 439.5 kB / 0.744 GB, free: 170.9 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.829e-05/0.7838, allocations: 11.94 kB / 0.744 GB, free: 170.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003134/0.7841, allocations: 0.6013 MB / 0.7446 GB, free: 170.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.7841, allocations: 7.938 kB / 0.7446 GB, free: 170.3 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006366/0.7847, allocations: 499.4 kB / 0.745 GB, free: 169.7 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001467/0.7849, allocations: 69.38 kB / 0.7451 GB, free: 169.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001105/0.785, allocations: 15.61 kB / 0.7451 GB, free: 169.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000354/0.7853, allocations: 15.98 kB / 0.7451 GB, free: 169.7 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.282e-05/0.7854, allocations: 31.89 kB / 0.7452 GB, free: 169.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.248e-05/0.7854, allocations: 28.86 kB / 0.7452 GB, free: 169.6 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004231/0.7859, allocations: 447 kB / 0.7456 GB, free: 169.2 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.7859, allocations: 0 / 0.7456 GB, free: 169.2 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0007906/0.7866, allocations: 295.8 kB / 0.7459 GB, free: 168.9 MB / 0.5606 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.001318/0.788, allocations: 1.312 MB / 0.7472 GB, free: 167.6 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000678/0.7886, allocations: 365 kB / 0.7475 GB, free: 167.3 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.7886, allocations: 2.484 kB / 0.7475 GB, free: 167.3 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002436/0.7889, allocations: 141 kB / 0.7477 GB, free: 167.1 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001609/0.7905, allocations: 410.3 kB / 0.7481 GB, free: 166.7 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005029/0.7955, allocations: 5.049 MB / 0.753 GB, free: 161.5 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001942/0.7957, allocations: 272 kB / 0.7533 GB, free: 161.2 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0009477/0.7967, allocations: 0.5816 MB / 0.7538 GB, free: 160.6 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003493/0.797, allocations: 239.3 kB / 0.7541 GB, free: 160.4 MB / 0.5606 GB Notification: Performance of SimCode: time 7.21e-07/0.797, allocations: 0 / 0.7541 GB, free: 160.4 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0558/0.8528, allocations: 25.27 MB / 0.7787 GB, free: 135.5 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.84/13.7, allocations: 19.06 kB / 0.7788 GB, free: 135.5 MB / 0.5606 GB " [Timeout remaining time 646] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Orifice_fmu --startTime=0 --stopTime=1.01 --stepSize=0.0002 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Orifice.fmu > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/TestCases/PressureLoss/Orifice/Orifice.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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: 16.830376675003208]