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.001197/0.001197, allocations: 88.28 kB / 21.44 MB, free: 3.125 MB / 18.57 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.00629/0.00629, allocations: 152.9 kB / 24.69 MB, free: 8.918 MB / 18.57 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 0.884/0.884, allocations: 177 MB / 204.9 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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.239/0.239, allocations: 34.23 MB / 295.6 MB, free: 0.6758 MB / 266.7 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.Dissipation.TestCases.PressureLoss.Orifice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5050,variableFilter="time|input_mflow.y|input_p.y|IN_p.ports.1..m_flow|IN_p.ports.1..p|IN_p.ports.1..h_outflow|OUT_dp.ports.1..m_flow|OUT_dp.ports.1..p|OUT_dp.ports.1..h_outflow|OUT_mflow.ports.1..m_flow|OUT_mflow.ports.1..p|OUT_mflow.ports.1..h_outflow|IN_mflow.ports.1..m_flow|IN_mflow.ports.1..p|IN_mflow.ports.1..h_outflow|from_dp.port_b.m_flow|from_dp.port_b.p|from_dp.port_b.h_outflow|from_mflow.port_b.m_flow|from_mflow.port_b.p|from_mflow.port_b.h_outflow",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice") translateModel(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5050,variableFilter="time|input_mflow.y|input_p.y|IN_p.ports.1..m_flow|IN_p.ports.1..p|IN_p.ports.1..h_outflow|OUT_dp.ports.1..m_flow|OUT_dp.ports.1..p|OUT_dp.ports.1..h_outflow|OUT_mflow.ports.1..m_flow|OUT_mflow.ports.1..p|OUT_mflow.ports.1..h_outflow|IN_mflow.ports.1..m_flow|IN_mflow.ports.1..p|IN_mflow.ports.1..h_outflow|from_dp.port_b.m_flow|from_dp.port_b.p|from_dp.port_b.h_outflow|from_mflow.port_b.m_flow|from_mflow.port_b.p|from_mflow.port_b.h_outflow",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 443.4 MB, free: 1.043 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.555e-05/2.72e-05, allocations: 10.22 kB / 443.4 MB, free: 1.031 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice): time 0.288/0.288, allocations: 159.9 MB / 0.5892 GB, free: 212 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.004328/0.2923, allocations: 4.272 MB / 0.5933 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002429/0.2926, allocations: 23.75 kB / 0.5934 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0005427/0.2931, allocations: 333.5 kB / 0.5937 GB, free: 11.58 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.002987/0.2961, allocations: 1.88 MB / 0.5955 GB, free: 9.691 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001291/0.2974, allocations: 0.9845 MB / 0.5965 GB, free: 8.715 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.001127/0.2985, allocations: 1.73 MB / 0.5982 GB, free: 6.98 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003326/0.2988, allocations: 370.5 kB / 0.5985 GB, free: 6.617 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009633/0.2998, allocations: 1.097 MB / 0.5996 GB, free: 5.52 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000382/0.3002, allocations: 466.7 kB / 0.6 GB, free: 5.062 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 6.473e-05/0.3002, allocations: 56 kB / 0.6001 GB, free: 5.008 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001081/0.3013, allocations: 0.9864 MB / 0.6011 GB, free: 4.02 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001174/0.3014, allocations: 187.3 kB / 0.6012 GB, free: 3.836 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001717/0.3016, allocations: 267.4 kB / 0.6015 GB, free: 3.574 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0016/0.3032, allocations: 1.695 MB / 0.6031 GB, free: 1.875 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.425e-06/0.3032, allocations: 0 / 0.6031 GB, free: 1.875 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.152e-06/0.3032, allocations: 4 kB / 0.6031 GB, free: 1.871 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.372e-06/0.3032, allocations: 0 / 0.6031 GB, free: 1.871 MB / 0.4948 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.00113/0.3044, allocations: 1.041 MB / 0.6042 GB, free: 0.793 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.358e-05/0.3044, allocations: 8.031 kB / 0.6042 GB, free: 0.7852 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006164/0.305, allocations: 171.4 kB / 0.6043 GB, free: 0.6172 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005779/0.3056, allocations: 457.5 kB / 0.6048 GB, free: 148 kB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.3e-05/0.3056, allocations: 37 kB / 0.6048 GB, free: 108 kB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.562e-05/0.3056, allocations: 44 kB / 0.6048 GB, free: 64 kB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008496/0.3065, allocations: 1.046 MB / 0.6059 GB, free: 14.88 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.3065, allocations: 0 / 0.6059 GB, free: 14.88 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.493e-05/0.3066, allocations: 27.94 kB / 0.6059 GB, free: 14.85 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.3066, allocations: 8 kB / 0.6059 GB, free: 14.84 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005619/0.3071, allocations: 0.4956 MB / 0.6064 GB, free: 14.34 MB / 0.5105 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.001571/0.3087, allocations: 1.999 MB / 0.6083 GB, free: 12.28 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004085/0.3091, allocations: 307.2 kB / 0.6086 GB, free: 11.97 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001627/0.3093, allocations: 144.9 kB / 0.6088 GB, free: 11.83 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001203/0.3094, allocations: 51.89 kB / 0.6088 GB, free: 11.78 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.407e-05/0.3094, allocations: 42.56 kB / 0.6089 GB, free: 11.73 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=35): time 1.273e-06/0.3094, allocations: 0 / 0.6089 GB, free: 11.73 MB / 0.5105 GB Notification: Performance of matching and sorting (n=35): time 0.001175/0.3106, allocations: 0.6274 MB / 0.6095 GB, free: 11.09 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.34e-05/0.3106, allocations: 170.1 kB / 0.6096 GB, free: 10.89 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003274/0.311, allocations: 453.7 kB / 0.6101 GB, free: 10.43 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.35e-05/0.311, allocations: 33.7 kB / 0.6101 GB, free: 10.39 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001349/0.3111, allocations: 315.1 kB / 0.6104 GB, free: 10.09 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 6.741e-05/0.3112, allocations: 130.8 kB / 0.6105 GB, free: 9.957 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001105/0.3113, allocations: 118.1 kB / 0.6106 GB, free: 9.836 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.022e-05/0.3114, allocations: 358.8 kB / 0.611 GB, free: 9.477 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001698/0.3116, allocations: 136.9 kB / 0.6111 GB, free: 9.344 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002816/0.3119, allocations: 426.4 kB / 0.6115 GB, free: 8.824 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004323/0.3123, allocations: 474.8 kB / 0.612 GB, free: 8.297 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.746e-06/0.3123, allocations: 0 / 0.612 GB, free: 8.297 MB / 0.5105 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0005997/0.3129, allocations: 0.5715 MB / 0.6125 GB, free: 7.715 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/0.3129, allocations: 8 kB / 0.6125 GB, free: 7.707 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.3129, allocations: 4.625 kB / 0.6125 GB, free: 7.703 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007002/0.3136, allocations: 248.5 kB / 0.6128 GB, free: 7.457 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002075/0.3138, allocations: 123.8 kB / 0.6129 GB, free: 7.336 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002793/0.3141, allocations: 0.5875 MB / 0.6135 GB, free: 6.723 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001561/0.3143, allocations: 47.66 kB / 0.6135 GB, free: 6.676 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.969e-05/0.3143, allocations: 55.98 kB / 0.6136 GB, free: 6.621 MB / 0.5105 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.0001565/0.3145, allocations: 185.7 kB / 0.6137 GB, free: 6.43 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.54e-05/0.3145, allocations: 59.55 kB / 0.6138 GB, free: 6.371 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001086/0.3156, allocations: 1.102 MB / 0.6149 GB, free: 5.254 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.3156, allocations: 7.938 kB / 0.6149 GB, free: 5.246 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.3156, allocations: 4 kB / 0.6149 GB, free: 5.242 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.3156, allocations: 0 / 0.6149 GB, free: 5.242 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007719/0.3164, allocations: 0.8476 MB / 0.6157 GB, free: 4.336 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.3164, allocations: 4 kB / 0.6157 GB, free: 4.332 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001043/0.3165, allocations: 56.47 kB / 0.6158 GB, free: 4.277 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00174/0.3182, allocations: 440.4 kB / 0.6162 GB, free: 3.844 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.302e-05/0.3183, allocations: 10.38 kB / 0.6162 GB, free: 3.836 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002976/0.3186, allocations: 0.6036 MB / 0.6168 GB, free: 3.207 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.3186, allocations: 0 / 0.6168 GB, free: 3.207 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000474/0.319, allocations: 0.4895 MB / 0.6173 GB, free: 2.68 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.852e-05/0.3191, allocations: 55.48 kB / 0.6173 GB, free: 2.625 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.789e-05/0.3191, allocations: 8 kB / 0.6173 GB, free: 2.617 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001529/0.3193, allocations: 20.05 kB / 0.6174 GB, free: 2.598 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.233e-05/0.3193, allocations: 31.95 kB / 0.6174 GB, free: 2.566 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.173e-05/0.3194, allocations: 15.98 kB / 0.6174 GB, free: 2.551 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0002851/0.3196, allocations: 354.9 kB / 0.6177 GB, free: 2.203 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.71e-07/0.3196, allocations: 0 / 0.6177 GB, free: 2.203 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0006899/0.3203, allocations: 319.1 kB / 0.618 GB, free: 1.891 MB / 0.5105 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.0006065/0.3209, allocations: 406.3 kB / 0.6184 GB, free: 1.484 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0004833/0.3214, allocations: 355.5 kB / 0.6188 GB, free: 1.137 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.3214, allocations: 1.25 kB / 0.6188 GB, free: 1.137 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001787/0.3216, allocations: 140.2 kB / 0.6189 GB, free: 1 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008093/0.3224, allocations: 312.2 kB / 0.6192 GB, free: 0.7148 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001005/0.3234, allocations: 0.9372 MB / 0.6201 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000164/0.3236, allocations: 263.6 kB / 0.6204 GB, free: 15.44 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002354/0.3238, allocations: 136.4 kB / 0.6205 GB, free: 15.31 MB / 0.5261 GB Notification: Performance of SimCode: time 5.21e-07/0.3238, allocations: 0 / 0.6205 GB, free: 15.31 MB / 0.5261 GB Notification: Performance of Templates: time 0.01189/0.3357, allocations: 14.93 MB / 0.6351 GB, free: 448 kB / 0.5261 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.makefile [Timeout 660] (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 & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/TestCases/PressureLoss/Orifice/Orifice.csv","/var/lib/jenkins/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: 7.1101815570145845]