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.001463/0.001463, allocations: 108.3 kB / 19.7 MB, free: 1.918 MB / 14.72 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.001576/0.001576, allocations: 214.9 kB / 22.99 MB, free: 4.977 MB / 14.72 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 1.513/1.513, allocations: 207.7 MB / 233.8 MB, free: 9.797 MB / 190.1 MB " [Timeout remaining time 178] 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.2378/0.2378, allocations: 44.27 MB / 330.3 MB, free: 9.305 MB / 270.1 MB " [Timeout remaining time 179] 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.1..m_flow|SourceP1.ports.1..p|SourceP1.ports.1..h_outflow|V1.port_b.m_flow|V1.port_b.p|V1.port_b.h_outflow|SinkP1.ports.1..m_flow|SinkP1.ports.1..p|SinkP1.ports.1..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.1..m_flow|SourceP1.ports.1..p|SourceP1.ports.1..h_outflow|V1.port_b.m_flow|V1.port_b.p|V1.port_b.h_outflow|SinkP1.ports.1..m_flow|SinkP1.ports.1..p|SinkP1.ports.1..h_outflow|Opening.y|downstreamPressure.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002364/0.002364, allocations: 68.23 kB / 468 MB, free: 3.832 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1202/0.1226, allocations: 61.05 MB / 0.5166 GB, free: 6.656 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear): time 0.2803/0.4029, allocations: 25.78 MB / 0.5418 GB, free: 10.79 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01581/0.4187, allocations: 11.77 MB / 0.5533 GB, free: 9.25 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004415/0.4191, allocations: 14.72 kB / 0.5533 GB, free: 9.242 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008006/0.4199, allocations: 228.4 kB / 0.5535 GB, free: 9.148 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01161/0.4315, allocations: 3.646 MB / 0.5571 GB, free: 8.223 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00759/0.4391, allocations: 2.338 MB / 0.5594 GB, free: 7.379 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001275/0.4404, allocations: 0.9096 MB / 0.5603 GB, free: 6.945 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003899/0.4408, allocations: 210.4 kB / 0.5605 GB, free: 6.855 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008005/0.4416, allocations: 432.6 kB / 0.5609 GB, free: 6.676 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004029/0.442, allocations: 279.7 kB / 0.5612 GB, free: 6.562 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.853e-05/0.4421, allocations: 32.56 kB / 0.5612 GB, free: 6.562 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0166/0.4587, allocations: 6.891 MB / 0.5679 GB, free: 4.559 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00023/0.4589, allocations: 101.8 kB / 0.568 GB, free: 4.48 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004215/0.4593, allocations: 189 kB / 0.5682 GB, free: 4.379 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01337/0.4727, allocations: 4.411 MB / 0.5725 GB, free: 1.574 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.534e-06/0.4727, allocations: 1.094 kB / 0.5725 GB, free: 1.574 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.136e-06/0.4727, allocations: 0 / 0.5725 GB, free: 1.574 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.173e-05/0.4727, allocations: 4 kB / 0.5725 GB, free: 1.57 MB / 414.1 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.004791/0.4775, allocations: 1.194 MB / 0.5737 GB, free: 0.7266 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.77e-05/0.4776, allocations: 9.406 kB / 0.5737 GB, free: 0.7266 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001738/0.4793, allocations: 214.8 kB / 0.5739 GB, free: 0.6406 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007342/0.48, allocations: 319.7 kB / 0.5742 GB, free: 376 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.481e-05/0.4801, allocations: 26.88 kB / 0.5742 GB, free: 364 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.062e-05/0.4801, allocations: 27.06 kB / 0.5742 GB, free: 356 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00174/0.4818, allocations: 0.7448 MB / 0.575 GB, free: 15.77 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.744e-05/0.4819, allocations: 5.438 kB / 0.575 GB, free: 15.77 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.141e-05/0.4819, allocations: 20.22 kB / 0.575 GB, free: 15.75 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.225e-05/0.4819, allocations: 7.281 kB / 0.575 GB, free: 15.75 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001715/0.4836, allocations: 0.5403 MB / 0.5755 GB, free: 15.49 MB / 430.1 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.00324/0.4869, allocations: 1.85 MB / 0.5773 GB, free: 13.93 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001698/0.4886, allocations: 454.2 kB / 0.5778 GB, free: 13.7 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005069/0.4891, allocations: 184.8 kB / 0.5779 GB, free: 13.61 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04765/0.5367, allocations: 12.71 MB / 0.5904 GB, free: 6.867 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.725e-05/0.5368, allocations: 38.56 kB / 0.5904 GB, free: 6.82 MB / 430.1 MB Notification: Performance of pre-optimization done (n=25): time 2.284e-06/0.5368, allocations: 3.938 kB / 0.5904 GB, free: 6.816 MB / 430.1 MB Notification: Performance of matching and sorting (n=25): time 0.003299/0.5401, allocations: 0.8131 MB / 0.5912 GB, free: 5.996 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.52e-05/0.5402, allocations: 110.8 kB / 0.5913 GB, free: 5.863 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003636/0.5406, allocations: 284.3 kB / 0.5916 GB, free: 5.578 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.958e-05/0.5406, allocations: 29.7 kB / 0.5916 GB, free: 5.543 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001873/0.5408, allocations: 212.4 kB / 0.5918 GB, free: 5.332 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.892e-05/0.5409, allocations: 95.2 kB / 0.5919 GB, free: 5.238 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001341/0.541, allocations: 69.69 kB / 0.592 GB, free: 5.164 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001689/0.5412, allocations: 334.8 kB / 0.5923 GB, free: 4.828 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004508/0.5416, allocations: 151.9 kB / 0.5924 GB, free: 4.68 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006069/0.5422, allocations: 304.3 kB / 0.5927 GB, free: 4.332 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009638/0.5432, allocations: 373.1 kB / 0.5931 GB, free: 3.934 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.735e-06/0.5432, allocations: 5.125 kB / 0.5931 GB, free: 3.93 MB / 430.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001153/0.5444, allocations: 445.8 kB / 0.5935 GB, free: 3.488 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/0.5444, allocations: 4 kB / 0.5935 GB, free: 3.484 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/0.5444, allocations: 4 kB / 0.5935 GB, free: 3.48 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.41e-05/0.5444, allocations: 4 kB / 0.5935 GB, free: 3.477 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003779/0.5448, allocations: 88.19 kB / 0.5936 GB, free: 3.391 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.313e-05/0.5448, allocations: 7.938 kB / 0.5936 GB, free: 3.383 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003375/0.5451, allocations: 47.75 kB / 0.5937 GB, free: 3.336 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.843e-05/0.5452, allocations: 19.98 kB / 0.5937 GB, free: 3.316 MB / 430.1 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_b.phase,V1.state_a.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.0002251/0.5454, allocations: 154.3 kB / 0.5938 GB, free: 3.156 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.304e-05/0.5455, allocations: 31.81 kB / 0.5938 GB, free: 3.125 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002908/0.5484, allocations: 2.007 MB / 0.5958 GB, free: 1.102 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.432e-05/0.5484, allocations: 27.95 kB / 0.5958 GB, free: 1.074 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.655e-06/0.5484, allocations: 3.938 kB / 0.5958 GB, free: 1.07 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.662e-06/0.5485, allocations: 4.891 kB / 0.5958 GB, free: 1.066 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001113/0.5496, allocations: 0.8644 MB / 0.5967 GB, free: 176 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.5496, allocations: 0 / 0.5967 GB, free: 176 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003448/0.5499, allocations: 79.86 kB / 0.5968 GB, free: 96 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.524e-06/0.5499, allocations: 8 kB / 0.5968 GB, free: 88 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.211e-05/0.5499, allocations: 4 kB / 0.5968 GB, free: 84 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.759e-06/0.5499, allocations: 4 kB / 0.5968 GB, free: 80 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.55, allocations: 0 / 0.5968 GB, free: 80 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001792/0.5517, allocations: 1.132 MB / 0.5979 GB, free: 14.93 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001395/0.5519, allocations: 87.22 kB / 0.598 GB, free: 14.84 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.022e-05/0.552, allocations: 26.97 kB / 0.598 GB, free: 14.82 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002802/0.5522, allocations: 31.91 kB / 0.598 GB, free: 14.79 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001104/0.5523, allocations: 34.28 kB / 0.5981 GB, free: 14.76 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.238e-05/0.5524, allocations: 19.92 kB / 0.5981 GB, free: 14.74 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003835/0.5528, allocations: 299.1 kB / 0.5984 GB, free: 14.45 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.5528, allocations: 0 / 0.5984 GB, free: 14.45 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004404/0.5572, allocations: 1.006 MB / 0.5993 GB, free: 13.44 MB / 446.1 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.005403/0.5626, allocations: 1.173 MB / 0.6005 GB, free: 12.28 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001441/0.564, allocations: 0.6107 MB / 0.6011 GB, free: 11.66 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.107e-06/0.564, allocations: 0 / 0.6011 GB, free: 11.66 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000736/0.5647, allocations: 429 kB / 0.6015 GB, free: 11.25 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001128/0.5659, allocations: 196.5 kB / 0.6017 GB, free: 11.06 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002462/0.5683, allocations: 1.56 MB / 0.6032 GB, free: 9.473 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004146/0.5688, allocations: 370.2 kB / 0.6036 GB, free: 9.086 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004934/0.5692, allocations: 275 kB / 0.6038 GB, free: 8.82 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000114/0.5694, allocations: 43.42 kB / 0.6039 GB, free: 8.777 MB / 446.1 MB Notification: Performance of SimCode: time 7.21e-07/0.5694, allocations: 4 kB / 0.6039 GB, free: 8.773 MB / 446.1 MB Notification: Performance of Templates: time 0.06363/0.633, allocations: 40.12 MB / 0.643 GB, free: 0.6445 MB / 478.1 MB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.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: 8.008739788085222]