Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.0009485/0.0009485, allocations: 81.95 kB / 21.44 MB, free: 3.059 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.000988/0.000988, allocations: 165.4 kB / 24.84 MB, free: 8.711 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9456/0.9456, allocations: 158.6 MB / 186.7 MB, free: 2.797 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1617/0.1617, allocations: 32.37 MB / 271.5 MB, free: 14.54 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 348.9 MB, free: 9.184 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.66e-05/2.833e-05, allocations: 2.312 kB / 348.9 MB, free: 9.18 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear): time 0.01325/0.01327, allocations: 14.58 MB / 363.5 MB, free: 10.54 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01072/0.02399, allocations: 11.67 MB / 375.2 MB, free: 14.82 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000339/0.02433, allocations: 15.88 kB / 375.2 MB, free: 14.81 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003883/0.02472, allocations: 138.9 kB / 375.3 MB, free: 14.67 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008354/0.03307, allocations: 3.693 MB / 379 MB, free: 10.96 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004983/0.03805, allocations: 2.074 MB / 381.1 MB, free: 8.883 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001303/0.03936, allocations: 0.9352 MB / 382 MB, free: 7.945 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005285/0.03989, allocations: 229 kB / 382.2 MB, free: 7.719 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009533/0.04084, allocations: 0.5414 MB / 382.8 MB, free: 7.176 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002966/0.04114, allocations: 235.3 kB / 383 MB, free: 6.945 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.693e-05/0.04118, allocations: 32 kB / 383 MB, free: 6.914 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01009/0.05128, allocations: 6.761 MB / 389.8 MB, free: 148 kB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001365/0.05141, allocations: 103.6 kB / 389.9 MB, free: 44 kB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000216/0.05163, allocations: 163.8 kB / 390.1 MB, free: 15.88 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009195/0.06082, allocations: 5.223 MB / 395.3 MB, free: 10.64 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.06083, allocations: 0 / 395.3 MB, free: 10.64 MB / 330.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.06083, allocations: 0 / 395.3 MB, free: 10.64 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.893e-06/0.06084, allocations: 0 / 395.3 MB, free: 10.64 MB / 330.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.002453/0.06329, allocations: 1.237 MB / 396.5 MB, free: 9.367 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.614e-05/0.06332, allocations: 8.031 kB / 396.5 MB, free: 9.359 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001032/0.06436, allocations: 315.6 kB / 396.8 MB, free: 9.051 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003878/0.06474, allocations: 323.3 kB / 397.2 MB, free: 8.703 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.833e-05/0.06477, allocations: 29.03 kB / 397.2 MB, free: 8.676 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.521e-05/0.06481, allocations: 28.38 kB / 397.2 MB, free: 8.648 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008799/0.06569, allocations: 0.6864 MB / 397.9 MB, free: 7.867 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.0657, allocations: 4.188 kB / 397.9 MB, free: 7.863 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.918e-05/0.06573, allocations: 19.94 kB / 397.9 MB, free: 7.844 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/0.06574, allocations: 12 kB / 397.9 MB, free: 7.832 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005777/0.06632, allocations: 324.1 kB / 398.3 MB, free: 7.516 MB / 330.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.001623/0.06794, allocations: 2.184 MB / 400.4 MB, free: 5.254 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006951/0.06863, allocations: 350.5 kB / 400.8 MB, free: 4.898 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.368e-05/0.06872, allocations: 71.64 kB / 400.9 MB, free: 4.824 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02069/0.08941, allocations: 10.94 MB / 411.8 MB, free: 9.871 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.589e-05/0.08946, allocations: 37.39 kB / 411.8 MB, free: 9.824 MB / 346.7 MB Notification: Performance of pre-optimization done (n=25): time 2.756e-06/0.08946, allocations: 0 / 411.8 MB, free: 9.824 MB / 346.7 MB Notification: Performance of matching and sorting (n=25): time 0.00134/0.0908, allocations: 0.5689 MB / 412.4 MB, free: 9.25 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.109e-05/0.09085, allocations: 106.8 kB / 412.5 MB, free: 9.121 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000213/0.09106, allocations: 326.1 kB / 412.8 MB, free: 8.785 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.341e-05/0.09109, allocations: 25.7 kB / 412.8 MB, free: 8.754 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001185/0.09121, allocations: 263.1 kB / 413.1 MB, free: 8.492 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.179e-05/0.09126, allocations: 87.22 kB / 413.2 MB, free: 8.406 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.178e-05/0.09134, allocations: 75.31 kB / 413.3 MB, free: 8.324 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001292/0.09147, allocations: 0.5195 MB / 413.8 MB, free: 7.793 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.666e-05/0.09155, allocations: 55.88 kB / 413.8 MB, free: 7.738 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001517/0.0917, allocations: 243 kB / 414.1 MB, free: 7.434 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002038/0.0919, allocations: 257 kB / 414.3 MB, free: 7.137 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.0919, allocations: 4 kB / 414.3 MB, free: 7.133 MB / 346.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003134/0.09222, allocations: 281 kB / 414.6 MB, free: 6.852 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.09224, allocations: 8 kB / 414.6 MB, free: 6.844 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/0.09224, allocations: 7.984 kB / 414.6 MB, free: 6.836 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.09226, allocations: 4 kB / 414.6 MB, free: 6.832 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000164/0.09242, allocations: 75.89 kB / 414.7 MB, free: 6.758 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.09243, allocations: 4 kB / 414.7 MB, free: 6.754 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000131/0.09256, allocations: 32.12 kB / 414.7 MB, free: 6.723 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.806e-05/0.09258, allocations: 20 kB / 414.8 MB, free: 6.703 MB / 346.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.000115/0.09269, allocations: 172.5 kB / 414.9 MB, free: 6.523 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.862e-05/0.09275, allocations: 47.77 kB / 415 MB, free: 6.477 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008875/0.09364, allocations: 1.127 MB / 416.1 MB, free: 5.34 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.212e-05/0.09366, allocations: 35.89 kB / 416.1 MB, free: 5.305 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.415e-06/0.09366, allocations: 0 / 416.1 MB, free: 5.305 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.09367, allocations: 7.984 kB / 416.1 MB, free: 5.297 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004866/0.09415, allocations: 0.5985 MB / 416.7 MB, free: 4.672 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.09416, allocations: 0 / 416.7 MB, free: 4.672 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001298/0.09429, allocations: 67.89 kB / 416.8 MB, free: 4.605 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.09429, allocations: 3.984 kB / 416.8 MB, free: 4.602 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.207e-05/0.0943, allocations: 8 kB / 416.8 MB, free: 4.594 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.09431, allocations: 0 / 416.8 MB, free: 4.594 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.09431, allocations: 0 / 416.8 MB, free: 4.594 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005762/0.09488, allocations: 0.764 MB / 417.6 MB, free: 3.809 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.212e-05/0.09495, allocations: 87.14 kB / 417.7 MB, free: 3.723 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.974e-05/0.09499, allocations: 31.77 kB / 417.7 MB, free: 3.691 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001065/0.09509, allocations: 12 kB / 417.7 MB, free: 3.68 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.618e-05/0.09516, allocations: 47.72 kB / 417.8 MB, free: 3.633 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.399e-05/0.09517, allocations: 8 kB / 417.8 MB, free: 3.625 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000148/0.09532, allocations: 283 kB / 418 MB, free: 3.348 MB / 346.7 MB Notification: Performance of sort global known variables: time 7e-08/0.09532, allocations: 0 / 418 MB, free: 3.348 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002418/0.09774, allocations: 1.002 MB / 419 MB, free: 2.344 MB / 346.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.0036/0.1013, allocations: 1.314 MB / 420.4 MB, free: 1.027 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004493/0.1018, allocations: 272.5 kB / 420.6 MB, free: 0.7578 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.1018, allocations: 0 / 420.6 MB, free: 0.7578 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002121/0.102, allocations: 231.4 kB / 420.8 MB, free: 0.5273 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006761/0.1027, allocations: 216 kB / 421.1 MB, free: 332 kB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001778/0.1045, allocations: 1.325 MB / 422.4 MB, free: 14.96 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001385/0.1046, allocations: 185.5 kB / 422.6 MB, free: 14.76 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003441/0.1049, allocations: 252.5 kB / 422.8 MB, free: 14.52 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000337/0.1053, allocations: 250 kB / 423.1 MB, free: 14.27 MB / 362.7 MB Notification: Performance of SimCode: time 1.613e-06/0.1053, allocations: 0 / 423.1 MB, free: 14.27 MB / 362.7 MB Notification: Performance of Templates: time 0.1826/0.2879, allocations: 45.46 MB / 468.5 MB, free: 53.48 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.693023805972189]