Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.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.0009195/0.0009195, allocations: 81.97 kB / 22.21 MB, free: 2.289 MB / 18.57 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.0008909/0.0008909, allocations: 168.7 kB / 25.61 MB, free: 8.582 MB / 18.57 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 0.8496/0.8496, allocations: 177.1 MB / 206 MB, free: 4.477 MB / 186.7 MB " [Timeout remaining time 179] 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.1314/0.1314, allocations: 34.26 MB / 296.9 MB, free: 13.93 MB / 282.7 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: translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|SourceP1.ports.[0-9,]+..m_flow|SourceP1.ports.[0-9,]+..p|SourceP1.ports.[0-9,]+..h_outflow|V1.port_b.m_flow|V1.port_b.p|V1.port_b.h_outflow|SinkP1.ports.[0-9,]+..m_flow|SinkP1.ports.[0-9,]+..p|SinkP1.ports.[0-9,]+..h_outflow|Opening.y|downstreamPressure.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear") translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|SourceP1.ports.[0-9,]+..m_flow|SourceP1.ports.[0-9,]+..p|SourceP1.ports.[0-9,]+..h_outflow|V1.port_b.m_flow|V1.port_b.p|V1.port_b.h_outflow|SinkP1.ports.[0-9,]+..m_flow|SinkP1.ports.[0-9,]+..p|SinkP1.ports.[0-9,]+..h_outflow|Opening.y|downstreamPressure.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.132e-06/1.132e-06, allocations: 0 / 379.3 MB, free: 23.41 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.336e-05/1.449e-05, allocations: 5.969 kB / 379.3 MB, free: 23.41 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear): time 0.009449/0.009463, allocations: 14.68 MB / 394 MB, free: 8.66 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.007673/0.01714, allocations: 11.67 MB / 405.6 MB, free: 12.95 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001711/0.01731, allocations: 15.88 kB / 405.7 MB, free: 12.93 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003696/0.01768, allocations: 146.9 kB / 405.8 MB, free: 12.79 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004893/0.02257, allocations: 3.701 MB / 409.5 MB, free: 9.066 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003139/0.02571, allocations: 2.082 MB / 411.6 MB, free: 6.977 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005926/0.0263, allocations: 0.9352 MB / 412.5 MB, free: 6.039 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000241/0.02654, allocations: 221.1 kB / 412.7 MB, free: 5.82 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005367/0.02708, allocations: 0.5571 MB / 413.3 MB, free: 5.262 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002035/0.02728, allocations: 239.3 kB / 413.5 MB, free: 5.027 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.789e-05/0.02732, allocations: 32 kB / 413.6 MB, free: 4.996 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007426/0.03475, allocations: 6.766 MB / 420.3 MB, free: 14.22 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 9.38e-05/0.03484, allocations: 103.6 kB / 420.4 MB, free: 14.12 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000119/0.03496, allocations: 159.7 kB / 420.6 MB, free: 13.96 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005333/0.04029, allocations: 5.242 MB / 425.8 MB, free: 8.711 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.0403, allocations: 0 / 425.8 MB, free: 8.711 MB / 346.7 MB Notification: Performance of FrontEnd: time 7.92e-07/0.0403, allocations: 0 / 425.8 MB, free: 8.711 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.019e-06/0.0403, allocations: 0 / 425.8 MB, free: 8.711 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.001896/0.0422, allocations: 1.245 MB / 427.1 MB, free: 7.426 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.206e-05/0.04223, allocations: 8.031 kB / 427.1 MB, free: 7.418 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001351/0.04358, allocations: 307.6 kB / 427.4 MB, free: 7.117 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000391/0.04397, allocations: 323.3 kB / 427.7 MB, free: 6.77 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.015e-05/0.044, allocations: 25.03 kB / 427.7 MB, free: 6.746 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.234e-05/0.04404, allocations: 28.38 kB / 427.7 MB, free: 6.719 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001012/0.04506, allocations: 0.6903 MB / 428.4 MB, free: 5.934 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.04507, allocations: 4.125 kB / 428.4 MB, free: 5.93 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.645e-05/0.04511, allocations: 23.94 kB / 428.5 MB, free: 5.906 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.407e-06/0.04511, allocations: 8 kB / 428.5 MB, free: 5.898 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007369/0.04585, allocations: 328 kB / 428.8 MB, free: 5.578 MB / 346.7 MB 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.001777/0.04763, allocations: 2.191 MB / 431 MB, free: 3.309 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009039/0.04853, allocations: 354.5 kB / 431.3 MB, free: 2.949 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001042/0.04864, allocations: 67.64 kB / 431.4 MB, free: 2.879 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02643/0.07507, allocations: 11.43 MB / 442.8 MB, free: 7.438 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.613e-05/0.0751, allocations: 33.39 kB / 442.9 MB, free: 7.395 MB / 362.7 MB Notification: Performance of pre-optimization done (n=25): time 1.843e-06/0.0751, allocations: 4 kB / 442.9 MB, free: 7.391 MB / 362.7 MB Notification: Performance of matching and sorting (n=25): time 0.001463/0.07656, allocations: 0.5674 MB / 443.4 MB, free: 6.816 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.568e-05/0.07661, allocations: 106.8 kB / 443.5 MB, free: 6.688 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002085/0.07682, allocations: 314.1 kB / 443.8 MB, free: 6.363 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.641e-05/0.07684, allocations: 33.7 kB / 443.9 MB, free: 6.324 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001264/0.07697, allocations: 255.2 kB / 444.1 MB, free: 6.07 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.096e-05/0.07703, allocations: 91.2 kB / 444.2 MB, free: 5.98 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.822e-05/0.07713, allocations: 75.31 kB / 444.3 MB, free: 5.898 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000138/0.07727, allocations: 0.5195 MB / 444.8 MB, free: 5.367 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.146e-05/0.07736, allocations: 55.88 kB / 444.9 MB, free: 5.312 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001819/0.07754, allocations: 243.3 kB / 445.1 MB, free: 5.012 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002602/0.0778, allocations: 246.5 kB / 445.3 MB, free: 4.727 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.0778, allocations: 4.031 kB / 445.3 MB, free: 4.723 MB / 362.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0006201/0.07842, allocations: 283.8 kB / 445.6 MB, free: 4.441 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.07844, allocations: 4 kB / 445.6 MB, free: 4.438 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.07844, allocations: 4 kB / 445.6 MB, free: 4.434 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.07846, allocations: 4 kB / 445.6 MB, free: 4.43 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002145/0.07867, allocations: 80.2 kB / 445.7 MB, free: 4.352 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.07868, allocations: 8 kB / 445.7 MB, free: 4.344 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001501/0.07883, allocations: 39.77 kB / 445.8 MB, free: 4.305 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.198e-05/0.07885, allocations: 12 kB / 445.8 MB, free: 4.293 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 4 (SinkP1.medium.phase,SourceP1.medium.phase,V1.state_a.phase,V1.state_b.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001174/0.07897, allocations: 180.4 kB / 445.9 MB, free: 4.105 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.224e-05/0.07904, allocations: 39.81 kB / 446 MB, free: 4.066 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001117/0.08016, allocations: 1.131 MB / 447.1 MB, free: 2.922 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.123e-05/0.08018, allocations: 27.95 kB / 447.1 MB, free: 2.895 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.442e-06/0.08018, allocations: 0 / 447.1 MB, free: 2.895 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.083e-06/0.08019, allocations: 7.922 kB / 447.1 MB, free: 2.891 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005475/0.08073, allocations: 0.6024 MB / 447.7 MB, free: 2.262 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.08074, allocations: 0 / 447.7 MB, free: 2.262 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001701/0.08091, allocations: 63.89 kB / 447.8 MB, free: 2.199 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.08091, allocations: 4 kB / 447.8 MB, free: 2.195 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.757e-05/0.08093, allocations: 11.98 kB / 447.8 MB, free: 2.184 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.08093, allocations: 4 kB / 447.8 MB, free: 2.18 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.08093, allocations: 0 / 447.8 MB, free: 2.18 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006973/0.08163, allocations: 0.7646 MB / 448.6 MB, free: 1.398 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.448e-05/0.08169, allocations: 87.16 kB / 448.7 MB, free: 1.312 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.061e-05/0.08174, allocations: 23.78 kB / 448.7 MB, free: 1.289 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001537/0.0819, allocations: 15.98 kB / 448.7 MB, free: 1.273 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.885e-05/0.08197, allocations: 43.73 kB / 448.8 MB, free: 1.23 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.968e-05/0.08199, allocations: 19.94 kB / 448.8 MB, free: 1.211 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001805/0.08217, allocations: 283 kB / 449.1 MB, free: 0.9336 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.08217, allocations: 0 / 449.1 MB, free: 0.9336 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001724/0.08389, allocations: 1.006 MB / 450.1 MB, free: 15.92 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 18 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.region3boundary,$cse7.region3boundary,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse11.phase,$cse11.region,SourceP1.medium.phase,SinkP1.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003044/0.08693, allocations: 1.314 MB / 451.4 MB, free: 14.6 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003726/0.08731, allocations: 276.6 kB / 451.6 MB, free: 14.32 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.08731, allocations: 0 / 451.6 MB, free: 14.32 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002419/0.08755, allocations: 227.4 kB / 451.9 MB, free: 14.1 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007678/0.08832, allocations: 229.5 kB / 452.1 MB, free: 13.88 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001738/0.09006, allocations: 1.32 MB / 453.4 MB, free: 12.53 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.682e-05/0.09015, allocations: 185.5 kB / 453.6 MB, free: 12.32 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002493/0.0904, allocations: 262 kB / 453.8 MB, free: 12.07 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003029/0.09071, allocations: 246 kB / 454.1 MB, free: 11.83 MB / 378.7 MB Notification: Performance of SimCode: time 4.3e-07/0.09071, allocations: 0 / 454.1 MB, free: 11.83 MB / 378.7 MB Notification: Performance of Templates: time 0.1599/0.2507, allocations: 45.55 MB / 499.6 MB, free: 99.34 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Valves/TestValveLinear/TestValveLinear.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.3781644157134]