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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00127/0.00127, allocations: 109.7 kB / 18.33 MB, free: 3.98 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001429/0.001429, allocations: 186 kB / 21.49 MB, free: 0.8242 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.562/1.562, allocations: 207.6 MB / 232.1 MB, free: 3.156 MB / 174.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.3691/0.3691, allocations: 44.22 MB / 328.4 MB, free: 6.281 MB / 254.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002137/0.002137, allocations: 75.84 kB / 465.5 MB, free: 45.48 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1234/0.1256, allocations: 61.01 MB / 0.5142 GB, free: 12.58 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear): time 0.03251/0.1581, allocations: 28.54 MB / 0.5421 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01946/0.1775, allocations: 13.38 MB / 0.5551 GB, free: 3.18 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005483/0.1781, allocations: 15.94 kB / 0.5551 GB, free: 3.164 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009838/0.1791, allocations: 246.3 kB / 0.5554 GB, free: 2.922 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01149/0.1906, allocations: 3.667 MB / 0.559 GB, free: 15.24 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007101/0.1977, allocations: 2.364 MB / 0.5613 GB, free: 12.87 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001537/0.1992, allocations: 0.9155 MB / 0.5622 GB, free: 11.95 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004192/0.1996, allocations: 204.8 kB / 0.5624 GB, free: 11.75 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009008/0.2005, allocations: 458.2 kB / 0.5628 GB, free: 11.3 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000394/0.2009, allocations: 286.8 kB / 0.5631 GB, free: 11.02 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.914e-05/0.201, allocations: 32 kB / 0.5631 GB, free: 10.98 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01893/0.2199, allocations: 7.242 MB / 0.5702 GB, free: 3.734 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002806/0.2202, allocations: 99.59 kB / 0.5703 GB, free: 3.637 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000439/0.2206, allocations: 223 kB / 0.5705 GB, free: 3.418 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01513/0.2357, allocations: 4.416 MB / 0.5748 GB, free: 14.99 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.2358, allocations: 0 / 0.5748 GB, free: 14.99 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.2358, allocations: 0 / 0.5748 GB, free: 14.99 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.068e-05/0.2358, allocations: 0 / 0.5748 GB, free: 14.99 MB / 446.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.004068/0.2398, allocations: 1.283 MB / 0.576 GB, free: 13.66 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.172e-05/0.2399, allocations: 15.84 kB / 0.5761 GB, free: 13.64 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001765/0.2417, allocations: 212.5 kB / 0.5763 GB, free: 13.43 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006075/0.2423, allocations: 387.4 kB / 0.5766 GB, free: 13.02 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.277e-05/0.2423, allocations: 25.03 kB / 0.5767 GB, free: 12.99 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.576e-05/0.2423, allocations: 28.38 kB / 0.5767 GB, free: 12.96 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001611/0.244, allocations: 0.5977 MB / 0.5773 GB, free: 12.33 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.656e-05/0.244, allocations: 4 kB / 0.5773 GB, free: 12.32 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.465e-05/0.244, allocations: 16 kB / 0.5773 GB, free: 12.31 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.135e-05/0.244, allocations: 8 kB / 0.5773 GB, free: 12.3 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001654/0.2457, allocations: 0.5484 MB / 0.5778 GB, free: 11.75 MB / 446.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.003308/0.249, allocations: 2.617 MB / 0.5804 GB, free: 8.898 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001619/0.2506, allocations: 450.1 kB / 0.5808 GB, free: 8.449 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005247/0.2511, allocations: 193.1 kB / 0.581 GB, free: 8.258 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04944/0.3006, allocations: 24.3 MB / 0.6047 GB, free: 13.07 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.791e-05/0.3006, allocations: 38.56 kB / 0.6048 GB, free: 13.02 MB / 478.1 MB Notification: Performance of pre-optimization done (n=25): time 1.824e-06/0.3006, allocations: 0 / 0.6048 GB, free: 13.02 MB / 478.1 MB Notification: Performance of matching and sorting (n=25): time 0.002993/0.3036, allocations: 0.8232 MB / 0.6056 GB, free: 12.19 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.815e-05/0.3037, allocations: 110.8 kB / 0.6057 GB, free: 12.06 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003985/0.3041, allocations: 312.5 kB / 0.606 GB, free: 11.75 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.311e-05/0.3042, allocations: 29.7 kB / 0.606 GB, free: 11.71 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002123/0.3044, allocations: 208.6 kB / 0.6062 GB, free: 11.5 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.035e-05/0.3045, allocations: 91.17 kB / 0.6063 GB, free: 11.41 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001276/0.3046, allocations: 73.69 kB / 0.6064 GB, free: 11.34 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001845/0.3048, allocations: 338.8 kB / 0.6067 GB, free: 11 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004263/0.3052, allocations: 151.9 kB / 0.6068 GB, free: 10.85 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005116/0.3057, allocations: 238.9 kB / 0.607 GB, free: 10.57 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008959/0.3066, allocations: 381.9 kB / 0.6074 GB, free: 10.17 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/0.3066, allocations: 0 / 0.6074 GB, free: 10.17 MB / 478.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001035/0.3076, allocations: 449 kB / 0.6078 GB, free: 9.723 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/0.3077, allocations: 4 kB / 0.6078 GB, free: 9.719 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/0.3077, allocations: 11.88 kB / 0.6079 GB, free: 9.707 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.106e-05/0.3077, allocations: 7.938 kB / 0.6079 GB, free: 9.699 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003436/0.308, allocations: 83.88 kB / 0.6079 GB, free: 9.617 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.359e-05/0.308, allocations: 7.984 kB / 0.608 GB, free: 9.609 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002969/0.3083, allocations: 56.03 kB / 0.608 GB, free: 9.555 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.383e-05/0.3084, allocations: 8 kB / 0.608 GB, free: 9.547 MB / 478.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.0002095/0.3086, allocations: 161.7 kB / 0.6082 GB, free: 9.379 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.602e-05/0.3087, allocations: 39.77 kB / 0.6082 GB, free: 9.34 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002651/0.3113, allocations: 1.913 MB / 0.6101 GB, free: 7.41 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-05/0.3114, allocations: 35.88 kB / 0.6101 GB, free: 7.375 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.3114, allocations: 4 kB / 0.6101 GB, free: 7.371 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.3114, allocations: 0 / 0.6101 GB, free: 7.371 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001301/0.3127, allocations: 1.031 MB / 0.6111 GB, free: 6.289 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/0.3127, allocations: 0 / 0.6111 GB, free: 6.289 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003172/0.313, allocations: 75.86 kB / 0.6112 GB, free: 6.215 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.741e-06/0.313, allocations: 0 / 0.6112 GB, free: 6.215 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.526e-05/0.313, allocations: 8 kB / 0.6112 GB, free: 6.207 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.809e-06/0.313, allocations: 3.938 kB / 0.6112 GB, free: 6.203 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.313, allocations: 4 kB / 0.6112 GB, free: 6.199 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00173/0.3148, allocations: 1.108 MB / 0.6123 GB, free: 5.07 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001833/0.3149, allocations: 160.3 kB / 0.6124 GB, free: 4.895 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.994e-05/0.315, allocations: 27.78 kB / 0.6125 GB, free: 4.867 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002607/0.3153, allocations: 31.89 kB / 0.6125 GB, free: 4.836 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001182/0.3154, allocations: 35.95 kB / 0.6125 GB, free: 4.801 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.181e-05/0.3154, allocations: 8 kB / 0.6125 GB, free: 4.793 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0004199/0.3159, allocations: 323.1 kB / 0.6128 GB, free: 4.48 MB / 478.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3159, allocations: 7.938 kB / 0.6129 GB, free: 4.473 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004412/0.3203, allocations: 1.006 MB / 0.6138 GB, free: 3.465 MB / 478.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.00549/0.3258, allocations: 1.171 MB / 0.615 GB, free: 2.285 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001501/0.3273, allocations: 0.595 MB / 0.6156 GB, free: 1.691 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.3273, allocations: 0 / 0.6156 GB, free: 1.691 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007262/0.328, allocations: 414.2 kB / 0.616 GB, free: 1.289 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001275/0.3293, allocations: 215.8 kB / 0.6162 GB, free: 1.078 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002434/0.3317, allocations: 1.542 MB / 0.6177 GB, free: 15.5 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006031/0.3323, allocations: 0.9638 MB / 0.6186 GB, free: 14.51 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0004807/0.3328, allocations: 273.7 kB / 0.6189 GB, free: 14.24 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001261/0.3329, allocations: 51.41 kB / 0.6189 GB, free: 14.19 MB / 494.1 MB Notification: Performance of SimCode: time 1.423e-06/0.3329, allocations: 3.938 kB / 0.6189 GB, free: 14.19 MB / 494.1 MB Notification: Performance of Templates: time 0.3542/0.6871, allocations: 39.92 MB / 0.6579 GB, free: 126 MB / 0.4981 GB " [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.084734849631786]