Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.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.001279/0.001279, allocations: 121.9 kB / 18.45 MB, free: 4.59 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.001447/0.001447, allocations: 206.5 kB / 21.4 MB, free: 1.645 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.487/1.487, allocations: 227.4 MB / 251.6 MB, free: 60 kB / 190.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.2493/0.2493, allocations: 46.17 MB / 351.1 MB, free: 14.26 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: translateModel(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|ramp.y|boundary.ports.1..m_flow|boundary.ports.1..p|boundary.ports.1..h_outflow|sensor.port_b.m_flow|sensor.port_b.p|sensor.port_b.h_outflow|fitting1.port_b.m_flow|fitting1.port_b.p|fitting1.port_b.h_outflow|fitting2.port_b.m_flow|fitting2.port_b.p|fitting2.port_b.h_outflow",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice") translateModel(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|ramp.y|boundary.ports.1..m_flow|boundary.ports.1..p|boundary.ports.1..h_outflow|sensor.port_b.m_flow|sensor.port_b.p|sensor.port_b.h_outflow|fitting1.port_b.m_flow|fitting1.port_b.p|fitting1.port_b.h_outflow|fitting2.port_b.m_flow|fitting2.port_b.p|fitting2.port_b.h_outflow",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002268/0.002268, allocations: 88.98 kB / 490.2 MB, free: 28.11 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1346/0.1369, allocations: 62.45 MB / 0.5397 GB, free: 4.219 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice): time 0.6455/0.7824, allocations: 186 MB / 0.7213 GB, free: 5.699 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.005975/0.7884, allocations: 3.259 MB / 0.7245 GB, free: 2.434 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001012/0.7895, allocations: 15.88 kB / 0.7245 GB, free: 2.418 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001136/0.7906, allocations: 325.8 kB / 0.7248 GB, free: 2.098 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.004352/0.7951, allocations: 1.398 MB / 0.7262 GB, free: 0.6953 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002163/0.7972, allocations: 0.7219 MB / 0.7269 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002508/0.7998, allocations: 1.562 MB / 0.7284 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007022/0.8005, allocations: 439.2 kB / 0.7289 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001095/0.8016, allocations: 0.5877 MB / 0.7294 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006526/0.8022, allocations: 454.2 kB / 0.7299 GB, free: 12.94 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001065/0.8024, allocations: 55.94 kB / 0.7299 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002893/0.8053, allocations: 1.201 MB / 0.7311 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002114/0.8055, allocations: 151.5 kB / 0.7312 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0004451/0.8059, allocations: 354.4 kB / 0.7316 GB, free: 11.19 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.002823/0.8088, allocations: 1.511 MB / 0.733 GB, free: 9.672 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.8088, allocations: 4 kB / 0.733 GB, free: 9.668 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.633e-06/0.8088, allocations: 0 / 0.733 GB, free: 9.668 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.118e-05/0.8088, allocations: 0 / 0.733 GB, free: 9.668 MB / 0.5294 GB 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.002125/0.811, allocations: 1.074 MB / 0.7341 GB, free: 8.543 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.711e-05/0.811, allocations: 8.031 kB / 0.7341 GB, free: 8.535 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001011/0.812, allocations: 145.6 kB / 0.7342 GB, free: 8.395 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009255/0.813, allocations: 0.5007 MB / 0.7347 GB, free: 7.852 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.189e-05/0.813, allocations: 29 kB / 0.7348 GB, free: 7.824 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.328e-05/0.8131, allocations: 43.94 kB / 0.7348 GB, free: 7.781 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001163/0.8143, allocations: 0.5945 MB / 0.7354 GB, free: 7.148 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.61e-05/0.8143, allocations: 0 / 0.7354 GB, free: 7.148 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.985e-05/0.8144, allocations: 23.98 kB / 0.7354 GB, free: 7.125 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.271e-05/0.8144, allocations: 8 kB / 0.7354 GB, free: 7.117 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009779/0.8154, allocations: 487.5 kB / 0.7359 GB, free: 6.641 MB / 0.5294 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.003294/0.8187, allocations: 2.671 MB / 0.7385 GB, free: 3.75 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007871/0.8195, allocations: 353.9 kB / 0.7388 GB, free: 3.398 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003371/0.8198, allocations: 173.3 kB / 0.739 GB, free: 3.227 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004747/0.8203, allocations: 433.8 kB / 0.7394 GB, free: 2.711 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.701e-05/0.8203, allocations: 42.84 kB / 0.7394 GB, free: 2.66 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=33): time 4.318e-06/0.8204, allocations: 3.984 kB / 0.7394 GB, free: 2.656 MB / 0.5294 GB Notification: Performance of matching and sorting (n=33): time 0.001932/0.8223, allocations: 0.7384 MB / 0.7402 GB, free: 1.891 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001324/0.8224, allocations: 136.5 kB / 0.7403 GB, free: 1.727 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006937/0.8231, allocations: 494.1 kB / 0.7408 GB, free: 1.234 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.942e-05/0.8232, allocations: 33.64 kB / 0.7408 GB, free: 1.195 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002783/0.8235, allocations: 292.2 kB / 0.7411 GB, free: 0.9062 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001248/0.8236, allocations: 119 kB / 0.7412 GB, free: 0.7891 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000198/0.8238, allocations: 102.1 kB / 0.7413 GB, free: 0.6836 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002288/0.8241, allocations: 358.8 kB / 0.7416 GB, free: 332 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003509/0.8244, allocations: 156.8 kB / 0.7418 GB, free: 176 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004574/0.8249, allocations: 279.7 kB / 0.742 GB, free: 15.84 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007946/0.8257, allocations: 445.6 kB / 0.7425 GB, free: 15.36 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.8257, allocations: 0 / 0.7425 GB, free: 15.36 MB / 0.545 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001112/0.8269, allocations: 0.5447 MB / 0.743 GB, free: 14.81 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.088e-05/0.8269, allocations: 14.12 kB / 0.743 GB, free: 14.8 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.847e-06/0.8269, allocations: 0 / 0.743 GB, free: 14.8 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001598/0.8285, allocations: 244.8 kB / 0.7433 GB, free: 14.55 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003917/0.8289, allocations: 103.9 kB / 0.7434 GB, free: 14.45 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006039/0.8295, allocations: 0.6022 MB / 0.7439 GB, free: 13.83 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004034/0.83, allocations: 51.61 kB / 0.744 GB, free: 13.78 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001063/0.8301, allocations: 40 kB / 0.744 GB, free: 13.74 MB / 0.545 GB 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.0003355/0.8304, allocations: 189.6 kB / 0.7442 GB, free: 13.54 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001388/0.8306, allocations: 55.67 kB / 0.7443 GB, free: 13.49 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002119/0.8327, allocations: 1.092 MB / 0.7453 GB, free: 12.38 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.472e-06/0.8327, allocations: 4 kB / 0.7453 GB, free: 12.37 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.8327, allocations: 0 / 0.7453 GB, free: 12.37 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.603e-06/0.8327, allocations: 3.984 kB / 0.7453 GB, free: 12.37 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001628/0.8344, allocations: 1.026 MB / 0.7463 GB, free: 11.27 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/0.8344, allocations: 7.938 kB / 0.7463 GB, free: 11.26 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002127/0.8346, allocations: 51.91 kB / 0.7464 GB, free: 11.21 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003181/0.8378, allocations: 448.3 kB / 0.7468 GB, free: 10.77 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.632e-05/0.8378, allocations: 8 kB / 0.7468 GB, free: 10.76 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005221/0.8384, allocations: 0.6187 MB / 0.7474 GB, free: 10.11 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.8384, allocations: 3.938 kB / 0.7474 GB, free: 10.11 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009233/0.8393, allocations: 0.5162 MB / 0.7479 GB, free: 9.559 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001848/0.8395, allocations: 140.6 kB / 0.7481 GB, free: 9.402 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001005/0.8396, allocations: 8 kB / 0.7481 GB, free: 9.395 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003979/0.84, allocations: 19.98 kB / 0.7481 GB, free: 9.375 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000102/0.8401, allocations: 27.91 kB / 0.7481 GB, free: 9.348 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.104e-05/0.8402, allocations: 19.92 kB / 0.7481 GB, free: 9.328 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0005847/0.8408, allocations: 426.8 kB / 0.7486 GB, free: 8.914 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.81e-07/0.8408, allocations: 0 / 0.7486 GB, free: 8.914 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0009303/0.8417, allocations: 295.2 kB / 0.7488 GB, free: 8.625 MB / 0.545 GB 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.0009945/0.8427, allocations: 376.1 kB / 0.7492 GB, free: 8.254 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000935/0.8437, allocations: 390.8 kB / 0.7496 GB, free: 7.875 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.833e-06/0.8437, allocations: 4 kB / 0.7496 GB, free: 7.871 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003762/0.8441, allocations: 163.8 kB / 0.7497 GB, free: 7.711 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001667/0.8457, allocations: 352.3 kB / 0.7501 GB, free: 7.375 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001619/0.8474, allocations: 0.9215 MB / 0.751 GB, free: 6.41 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006351/0.848, allocations: 0.8635 MB / 0.7518 GB, free: 5.516 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001135/0.8492, allocations: 0.5544 MB / 0.7523 GB, free: 4.965 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002452/0.8494, allocations: 87.39 kB / 0.7524 GB, free: 4.879 MB / 0.545 GB Notification: Performance of SimCode: time 3.81e-07/0.8494, allocations: 0 / 0.7524 GB, free: 4.879 MB / 0.545 GB Notification: Performance of Templates: time 0.02859/0.878, allocations: 16.04 MB / 0.7681 GB, free: 4.926 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/NewFittings/Orifices/ThickEdgedOrifice/ThickEdgedOrifice.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.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: 6.3234563851729035]