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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001774/0.001774, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002246/0.002246, allocations: 213 kB / 23.73 MB, free: 4.164 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.415/1.415, allocations: 230.5 MB / 257.4 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2204/0.2204, allocations: 46.95 MB / 360.8 MB, free: 3.949 MB / 286.1 MB " [Timeout remaining time 180] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002679/0.002679, allocations: 83.81 kB / 0.4962 GB, free: 7.57 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3136/0.3163, allocations: 66.09 MB / 0.5607 GB, free: 4.023 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice): time 0.2013/0.5176, allocations: 160 MB / 0.7169 GB, free: 3.457 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.007075/0.5247, allocations: 4.263 MB / 0.7211 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000591/0.5253, allocations: 27.75 kB / 0.7211 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001003/0.5263, allocations: 325.8 kB / 0.7214 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004609/0.5309, allocations: 1.834 MB / 0.7232 GB, free: 13 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002397/0.5333, allocations: 0.9686 MB / 0.7241 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00229/0.5356, allocations: 1.73 MB / 0.7258 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000696/0.5363, allocations: 378.4 kB / 0.7262 GB, free: 9.918 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001772/0.538, allocations: 0.8799 MB / 0.7271 GB, free: 9.035 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008857/0.5389, allocations: 0.5019 MB / 0.7275 GB, free: 8.531 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001427/0.5391, allocations: 56 kB / 0.7276 GB, free: 8.477 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002205/0.5413, allocations: 0.9828 MB / 0.7286 GB, free: 7.488 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002271/0.5415, allocations: 179.3 kB / 0.7287 GB, free: 7.312 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004591/0.542, allocations: 314.7 kB / 0.729 GB, free: 7.004 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002623/0.5446, allocations: 1.581 MB / 0.7306 GB, free: 5.418 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.5446, allocations: 4 kB / 0.7306 GB, free: 5.414 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.533e-06/0.5446, allocations: 0 / 0.7306 GB, free: 5.414 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.177e-05/0.5446, allocations: 0 / 0.7306 GB, free: 5.414 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.002185/0.5468, allocations: 1.057 MB / 0.7316 GB, free: 4.324 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.5468, allocations: 8.031 kB / 0.7316 GB, free: 4.316 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000132/0.547, allocations: 86.52 kB / 0.7317 GB, free: 4.223 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001291/0.5482, allocations: 171.5 kB / 0.7319 GB, free: 4.055 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009662/0.5492, allocations: 445.6 kB / 0.7323 GB, free: 3.594 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.131e-05/0.5493, allocations: 33 kB / 0.7323 GB, free: 3.562 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.835e-05/0.5493, allocations: 44 kB / 0.7324 GB, free: 3.52 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001456/0.5508, allocations: 1.053 MB / 0.7334 GB, free: 2.316 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.546e-05/0.5508, allocations: 0 / 0.7334 GB, free: 2.316 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.012e-05/0.5509, allocations: 24 kB / 0.7334 GB, free: 2.293 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.369e-05/0.5509, allocations: 12 kB / 0.7334 GB, free: 2.281 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00103/0.5519, allocations: 499.6 kB / 0.7339 GB, free: 1.797 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.2522/0.8041, allocations: 2.095 MB / 0.7359 GB, free: 174.9 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008579/0.805, allocations: 301.5 kB / 0.7362 GB, free: 174.9 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003131/0.8053, allocations: 145.2 kB / 0.7364 GB, free: 174.9 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002665/0.8056, allocations: 52.09 kB / 0.7364 GB, free: 174.9 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.058e-05/0.8056, allocations: 42.55 kB / 0.7365 GB, free: 174.8 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=35): time 2.124e-06/0.8056, allocations: 0 / 0.7365 GB, free: 174.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=35): time 0.001812/0.8074, allocations: 0.6357 MB / 0.7371 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.818e-05/0.8074, allocations: 160 kB / 0.7372 GB, free: 174.5 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000719/0.8082, allocations: 0.5267 MB / 0.7377 GB, free: 174.2 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.304e-05/0.8082, allocations: 32.3 kB / 0.7378 GB, free: 174.2 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001658/0.8084, allocations: 311.5 kB / 0.7381 GB, free: 174 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 9.948e-05/0.8085, allocations: 126.8 kB / 0.7382 GB, free: 173.9 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001581/0.8086, allocations: 117.8 kB / 0.7383 GB, free: 173.8 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 7.981e-05/0.8087, allocations: 366.2 kB / 0.7387 GB, free: 173.5 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002559/0.809, allocations: 146.4 kB / 0.7388 GB, free: 173.4 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003445/0.8093, allocations: 425.3 kB / 0.7392 GB, free: 173.1 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000544/0.8099, allocations: 478.6 kB / 0.7397 GB, free: 172.8 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.8099, allocations: 0 / 0.7397 GB, free: 172.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0008458/0.8107, allocations: 0.5802 MB / 0.7402 GB, free: 172.5 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.8107, allocations: 8.359 kB / 0.7402 GB, free: 172.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.8107, allocations: 3.844 kB / 0.7402 GB, free: 172.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001404/0.8121, allocations: 245.3 kB / 0.7405 GB, free: 172.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003529/0.8125, allocations: 118.1 kB / 0.7406 GB, free: 172.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002985/0.8128, allocations: 0.5937 MB / 0.7412 GB, free: 171.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003352/0.8131, allocations: 61.23 kB / 0.7412 GB, free: 171.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.076e-05/0.8132, allocations: 57.45 kB / 0.7413 GB, free: 171.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.0002077/0.8134, allocations: 191 kB / 0.7415 GB, free: 171.7 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001041/0.8135, allocations: 63.06 kB / 0.7415 GB, free: 171.7 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00146/0.815, allocations: 1.109 MB / 0.7426 GB, free: 171.2 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.499e-06/0.815, allocations: 4 kB / 0.7426 GB, free: 171.2 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.815, allocations: 3.938 kB / 0.7426 GB, free: 171.1 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.815, allocations: 3.234 kB / 0.7426 GB, free: 171.1 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001038/0.816, allocations: 0.9242 MB / 0.7435 GB, free: 170.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.816, allocations: 0 / 0.7435 GB, free: 170.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001762/0.8162, allocations: 54.59 kB / 0.7436 GB, free: 170.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002825/0.819, allocations: 438.7 kB / 0.744 GB, free: 169.9 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.412e-05/0.819, allocations: 8 kB / 0.744 GB, free: 169.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002899/0.8193, allocations: 0.6024 MB / 0.7446 GB, free: 169.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.8193, allocations: 7.969 kB / 0.7446 GB, free: 169.2 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005959/0.8199, allocations: 0.4954 MB / 0.7451 GB, free: 168.7 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001088/0.82, allocations: 66.08 kB / 0.7451 GB, free: 168.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.608e-05/0.8201, allocations: 10.39 kB / 0.7451 GB, free: 168.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003363/0.8205, allocations: 15.98 kB / 0.7452 GB, free: 168.6 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.961e-05/0.8205, allocations: 39.58 kB / 0.7452 GB, free: 168.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.088e-05/0.8206, allocations: 24 kB / 0.7452 GB, free: 168.6 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004208/0.821, allocations: 451 kB / 0.7457 GB, free: 168.1 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8.1e-08/0.821, allocations: 0 / 0.7457 GB, free: 168.1 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00101/0.822, allocations: 295.9 kB / 0.7459 GB, free: 167.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.001325/0.8233, allocations: 1.321 MB / 0.7472 GB, free: 166.6 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0006958/0.824, allocations: 364.8 kB / 0.7476 GB, free: 166.2 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/0.824, allocations: 1.828 kB / 0.7476 GB, free: 166.2 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002638/0.8243, allocations: 141.5 kB / 0.7477 GB, free: 166.1 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001693/0.826, allocations: 400.9 kB / 0.7481 GB, free: 165.7 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005342/0.8313, allocations: 5.053 MB / 0.753 GB, free: 160.4 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001793/0.8315, allocations: 272.8 kB / 0.7533 GB, free: 160.1 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001049/0.8325, allocations: 0.5658 MB / 0.7538 GB, free: 159.6 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003555/0.8329, allocations: 247.3 kB / 0.7541 GB, free: 159.3 MB / 0.5606 GB Notification: Performance of SimCode: time 1.263e-06/0.8329, allocations: 3.938 kB / 0.7541 GB, free: 159.3 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05077/0.8837, allocations: 25.13 MB / 0.7786 GB, free: 134.5 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.07/13.96, allocations: 15.86 kB / 0.7786 GB, free: 134.5 MB / 0.5606 GB " [Timeout remaining time 646] (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 --stepSize=0.0002 --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) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_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_trunk_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: 17.037862496916205]