Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.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.001522/0.001522, 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.001673/0.001673, allocations: 216.5 kB / 23.73 MB, free: 4.16 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.502/1.502, allocations: 230.5 MB / 257.4 MB, free: 7.785 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.2275/0.2275, allocations: 46.94 MB / 360.8 MB, free: 3.898 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.Bends.EdgedBend,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,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.Bends.EdgedBend") translateModel(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,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.Bends.EdgedBend") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002563/0.002563, allocations: 83.81 kB / 0.4967 GB, free: 7.004 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3467/0.3493, allocations: 66.09 MB / 0.5612 GB, free: 3.953 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend): time 0.2596/0.6089, allocations: 161.7 MB / 0.7191 GB, free: 1.645 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.006474/0.6154, allocations: 3.401 MB / 0.7224 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007382/0.6161, allocations: 19.81 kB / 0.7224 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001102/0.6172, allocations: 317.9 kB / 0.7227 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004972/0.6222, allocations: 1.748 MB / 0.7245 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002095/0.6243, allocations: 0.7331 MB / 0.7252 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002294/0.6266, allocations: 1.532 MB / 0.7267 GB, free: 9.891 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000836/0.6274, allocations: 355.8 kB / 0.727 GB, free: 9.535 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001558/0.629, allocations: 0.6112 MB / 0.7276 GB, free: 8.922 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007387/0.6297, allocations: 450 kB / 0.728 GB, free: 8.48 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001049/0.6298, allocations: 52 kB / 0.7281 GB, free: 8.43 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00306/0.6329, allocations: 1.135 MB / 0.7292 GB, free: 7.289 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002118/0.6331, allocations: 155.4 kB / 0.7293 GB, free: 7.137 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004131/0.6335, allocations: 298.8 kB / 0.7296 GB, free: 6.844 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003126/0.6366, allocations: 1.628 MB / 0.7312 GB, free: 5.211 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.6366, allocations: 4 kB / 0.7312 GB, free: 5.207 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.944e-06/0.6367, allocations: 0 / 0.7312 GB, free: 5.207 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.242e-05/0.6367, allocations: 0 / 0.7312 GB, free: 5.207 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: 105 * Number of variables: 105 Notification: Performance of Generate backend data structure: time 0.002306/0.639, allocations: 1.025 MB / 0.7322 GB, free: 4.148 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 6.422e-05/0.639, allocations: 12.03 kB / 0.7322 GB, free: 4.137 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009756/0.64, allocations: 147.5 kB / 0.7324 GB, free: 3.992 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009659/0.641, allocations: 421.6 kB / 0.7328 GB, free: 3.551 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.114e-05/0.641, allocations: 32.94 kB / 0.7328 GB, free: 3.52 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.245e-05/0.6411, allocations: 40 kB / 0.7328 GB, free: 3.48 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001371/0.6425, allocations: 0.8879 MB / 0.7337 GB, free: 2.48 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.341e-05/0.6425, allocations: 3.938 kB / 0.7337 GB, free: 2.477 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.806e-05/0.6426, allocations: 27.98 kB / 0.7337 GB, free: 2.449 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.44e-05/0.6426, allocations: 8 kB / 0.7337 GB, free: 2.441 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009222/0.6435, allocations: 471.6 kB / 0.7342 GB, free: 1.98 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.002935/0.6464, allocations: 1.873 MB / 0.736 GB, free: 44 kB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2989/0.9453, allocations: 311.9 kB / 0.7363 GB, free: 176.3 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003465/0.9457, allocations: 157.4 kB / 0.7365 GB, free: 176.3 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000242/0.9459, allocations: 53.77 kB / 0.7365 GB, free: 176.3 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.16e-05/0.946, allocations: 38.28 kB / 0.7366 GB, free: 176.2 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=33): time 2.043e-06/0.946, allocations: 0.5625 kB / 0.7366 GB, free: 176.2 MB / 0.5606 GB Notification: Performance of matching and sorting (n=33): time 0.001795/0.9477, allocations: 0.6345 MB / 0.7372 GB, free: 176 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.885e-05/0.9478, allocations: 133.1 kB / 0.7373 GB, free: 175.9 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005017/0.9483, allocations: 399.3 kB / 0.7377 GB, free: 175.7 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.635e-05/0.9483, allocations: 31.98 kB / 0.7377 GB, free: 175.6 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001769/0.9485, allocations: 292.8 kB / 0.738 GB, free: 175.4 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 9.184e-05/0.9486, allocations: 125 kB / 0.7381 GB, free: 175.4 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001804/0.9488, allocations: 100.6 kB / 0.7382 GB, free: 175.3 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 6.004e-05/0.9488, allocations: 357.5 kB / 0.7386 GB, free: 175 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002824/0.9491, allocations: 142.5 kB / 0.7387 GB, free: 175 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003455/0.9495, allocations: 360.6 kB / 0.739 GB, free: 174.7 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006034/0.9501, allocations: 443.8 kB / 0.7395 GB, free: 174.4 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.9501, allocations: 0 / 0.7395 GB, free: 174.4 MB / 0.5606 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008661/0.9509, allocations: 0.5296 MB / 0.74 GB, free: 174.2 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.951, allocations: 9.781 kB / 0.74 GB, free: 174.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.951, allocations: 3.969 kB / 0.74 GB, free: 174.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001373/0.9523, allocations: 240 kB / 0.7402 GB, free: 174.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000333/0.9527, allocations: 109.2 kB / 0.7403 GB, free: 174.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003268/0.953, allocations: 0.5969 MB / 0.7409 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000289/0.9533, allocations: 42.89 kB / 0.7409 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.708e-05/0.9533, allocations: 42.92 kB / 0.741 GB, free: 173.6 MB / 0.5606 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.0002076/0.9536, allocations: 181.1 kB / 0.7412 GB, free: 173.4 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.081e-05/0.9536, allocations: 50.34 kB / 0.7412 GB, free: 173.4 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001523/0.9552, allocations: 1.082 MB / 0.7423 GB, free: 172.9 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.9552, allocations: 4 kB / 0.7423 GB, free: 172.9 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.9552, allocations: 0 / 0.7423 GB, free: 172.9 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.9552, allocations: 6.328 kB / 0.7423 GB, free: 172.9 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001077/0.9563, allocations: 0.855 MB / 0.7431 GB, free: 172.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.9563, allocations: 4.281 kB / 0.7431 GB, free: 172.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001927/0.9565, allocations: 53.7 kB / 0.7432 GB, free: 172.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00273/0.9592, allocations: 436 kB / 0.7436 GB, free: 171.8 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.699e-05/0.9592, allocations: 8 kB / 0.7436 GB, free: 171.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002879/0.9595, allocations: 0.6085 MB / 0.7442 GB, free: 171.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.9595, allocations: 0 / 0.7442 GB, free: 171.2 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006164/0.9601, allocations: 0.4956 MB / 0.7447 GB, free: 170.6 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.247e-05/0.9602, allocations: 45.23 kB / 0.7447 GB, free: 170.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.179e-05/0.9603, allocations: 8 kB / 0.7447 GB, free: 170.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002789/0.9606, allocations: 19.92 kB / 0.7447 GB, free: 170.6 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.181e-05/0.9606, allocations: 27.95 kB / 0.7448 GB, free: 170.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.687e-05/0.9606, allocations: 19.98 kB / 0.7448 GB, free: 170.5 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002834/0.9609, allocations: 311.1 kB / 0.7451 GB, free: 170.2 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8.1e-08/0.9609, allocations: 15.47 kB / 0.7451 GB, free: 170.2 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0009233/0.9619, allocations: 360.4 kB / 0.7454 GB, free: 169.9 MB / 0.5606 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.0007969/0.9627, allocations: 429.8 kB / 0.7458 GB, free: 169.5 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0006931/0.9633, allocations: 363.5 kB / 0.7462 GB, free: 169.2 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.9633, allocations: 0 / 0.7462 GB, free: 169.2 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002743/0.9636, allocations: 149 kB / 0.7463 GB, free: 169 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001204/0.9648, allocations: 292.2 kB / 0.7466 GB, free: 168.7 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001194/0.966, allocations: 0.8896 MB / 0.7475 GB, free: 167.8 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001654/0.9662, allocations: 258.9 kB / 0.7477 GB, free: 167.5 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0007494/0.9669, allocations: 0.538 MB / 0.7482 GB, free: 167 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000181/0.9671, allocations: 87.38 kB / 0.7483 GB, free: 166.9 MB / 0.5606 GB Notification: Performance of SimCode: time 5.82e-07/0.9671, allocations: 0 / 0.7483 GB, free: 166.9 MB / 0.5606 GB Notification: Performance of Templates: time 0.01941/0.9865, allocations: 17.08 MB / 0.765 GB, free: 150.1 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/NewFittings/Bends/EdgedBend/EdgedBend.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.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.402653062716126]