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.0008276/0.0008276, allocations: 91.62 kB / 21.43 MB, free: 3.105 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.0008661/0.0008661, allocations: 155.5 kB / 24.7 MB, free: 9.422 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.8374/0.8374, allocations: 177.2 MB / 205 MB, free: 5.73 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.2176/0.2176, allocations: 34.26 MB / 295.7 MB, free: 0.7031 MB / 266.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.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_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.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_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 443.4 MB, free: 1.148 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.042e-05/2.21e-05, allocations: 2.281 kB / 443.4 MB, free: 1.145 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear): time 0.197/0.197, allocations: 25.77 MB / 469.2 MB, free: 28.26 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.007878/0.2049, allocations: 11.78 MB / 481 MB, free: 20.56 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002114/0.2051, allocations: 14.06 kB / 481 MB, free: 20.55 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005443/0.2056, allocations: 231 kB / 481.2 MB, free: 20.43 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005976/0.2116, allocations: 3.688 MB / 484.9 MB, free: 18.95 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004152/0.2158, allocations: 2.4 MB / 487.3 MB, free: 17.76 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006077/0.2164, allocations: 0.9084 MB / 488.2 MB, free: 17.31 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000264/0.2166, allocations: 217.1 kB / 488.4 MB, free: 17.21 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005678/0.2172, allocations: 0.5518 MB / 489 MB, free: 16.97 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001803/0.2174, allocations: 239.4 kB / 489.2 MB, free: 16.9 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.81e-05/0.2174, allocations: 32.34 kB / 489.3 MB, free: 16.9 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008891/0.2263, allocations: 6.91 MB / 496.2 MB, free: 15.3 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001048/0.2264, allocations: 104.8 kB / 496.3 MB, free: 15.23 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001613/0.2266, allocations: 154.9 kB / 496.4 MB, free: 15.18 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008353/0.2349, allocations: 5.552 MB / 0.4902 GB, free: 13.43 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.2349, allocations: 1 kB / 0.4902 GB, free: 13.43 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.2349, allocations: 4 kB / 0.4902 GB, free: 13.43 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.201e-05/0.235, allocations: 0 / 0.4902 GB, free: 13.43 MB / 410.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.003481/0.2384, allocations: 1.198 MB / 0.4914 GB, free: 12.68 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.517e-05/0.2385, allocations: 10.95 kB / 0.4914 GB, free: 12.68 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009389/0.2394, allocations: 213.5 kB / 0.4916 GB, free: 12.64 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004547/0.2399, allocations: 315.3 kB / 0.4919 GB, free: 12.41 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.64e-05/0.2399, allocations: 28.25 kB / 0.4919 GB, free: 12.4 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.089e-05/0.2399, allocations: 35.41 kB / 0.492 GB, free: 12.38 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009118/0.2408, allocations: 0.7399 MB / 0.4927 GB, free: 11.86 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.2409, allocations: 1.469 kB / 0.4927 GB, free: 11.86 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.88e-05/0.2409, allocations: 16 kB / 0.4927 GB, free: 11.84 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.015e-05/0.2409, allocations: 7.562 kB / 0.4927 GB, free: 11.84 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008551/0.2417, allocations: 0.5433 MB / 0.4932 GB, free: 11.58 MB / 410.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.001488/0.2432, allocations: 1.854 MB / 0.495 GB, free: 10.01 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008542/0.2441, allocations: 455.3 kB / 0.4955 GB, free: 9.781 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002476/0.2443, allocations: 185.6 kB / 0.4957 GB, free: 9.688 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02228/0.2666, allocations: 13.19 MB / 0.5085 GB, free: 3.168 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.671e-05/0.2667, allocations: 38.56 kB / 0.5086 GB, free: 3.121 MB / 410.7 MB Notification: Performance of pre-optimization done (n=25): time 2.896e-06/0.2667, allocations: 0 / 0.5086 GB, free: 3.121 MB / 410.7 MB Notification: Performance of matching and sorting (n=25): time 0.001536/0.2682, allocations: 0.8144 MB / 0.5094 GB, free: 2.301 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.733e-05/0.2682, allocations: 114.8 kB / 0.5095 GB, free: 2.164 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000185/0.2684, allocations: 280.4 kB / 0.5097 GB, free: 1.883 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.836e-05/0.2684, allocations: 29.7 kB / 0.5098 GB, free: 1.848 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.387e-05/0.2685, allocations: 204.5 kB / 0.51 GB, free: 1.645 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.465e-05/0.2685, allocations: 95.2 kB / 0.5101 GB, free: 1.551 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.601e-05/0.2686, allocations: 69.69 kB / 0.5101 GB, free: 1.477 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.098e-05/0.2687, allocations: 346.8 kB / 0.5105 GB, free: 1.129 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000198/0.2688, allocations: 148.5 kB / 0.5106 GB, free: 0.9844 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002324/0.2691, allocations: 298.2 kB / 0.5109 GB, free: 0.6445 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004071/0.2695, allocations: 377.2 kB / 0.5112 GB, free: 248 kB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.2695, allocations: 0 / 0.5112 GB, free: 248 kB / 410.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005605/0.2701, allocations: 441 kB / 0.5117 GB, free: 15.8 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/0.2701, allocations: 9.219 kB / 0.5117 GB, free: 15.8 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.996e-06/0.2701, allocations: 4.312 kB / 0.5117 GB, free: 15.79 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.718e-05/0.2701, allocations: 8 kB / 0.5117 GB, free: 15.79 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001861/0.2703, allocations: 87.86 kB / 0.5118 GB, free: 15.7 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.836e-06/0.2703, allocations: 4 kB / 0.5118 GB, free: 15.7 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001825/0.2705, allocations: 55.67 kB / 0.5118 GB, free: 15.64 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.123e-05/0.2705, allocations: 19.94 kB / 0.5118 GB, free: 15.62 MB / 426.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_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.0001384/0.2706, allocations: 157.8 kB / 0.512 GB, free: 15.46 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.401e-05/0.2707, allocations: 35.81 kB / 0.512 GB, free: 15.42 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00151/0.2722, allocations: 2.004 MB / 0.514 GB, free: 13.41 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.14e-05/0.2722, allocations: 34.19 kB / 0.514 GB, free: 13.38 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/0.2722, allocations: 4 kB / 0.514 GB, free: 13.37 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.2722, allocations: 0 / 0.514 GB, free: 13.37 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005626/0.2728, allocations: 0.8641 MB / 0.5149 GB, free: 12.47 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.2728, allocations: 0 / 0.5149 GB, free: 12.47 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001554/0.2729, allocations: 79.88 kB / 0.5149 GB, free: 12.39 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.2729, allocations: 4 kB / 0.5149 GB, free: 12.39 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.429e-05/0.273, allocations: 7.984 kB / 0.515 GB, free: 12.38 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.273, allocations: 4 kB / 0.515 GB, free: 12.38 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.273, allocations: 3.938 kB / 0.515 GB, free: 12.38 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008855/0.2738, allocations: 1.134 MB / 0.5161 GB, free: 11.23 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002696/0.2741, allocations: 91.14 kB / 0.5162 GB, free: 11.14 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.885e-05/0.2742, allocations: 19.83 kB / 0.5162 GB, free: 11.12 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001315/0.2743, allocations: 31.97 kB / 0.5162 GB, free: 11.09 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.531e-05/0.2744, allocations: 31.94 kB / 0.5162 GB, free: 11.05 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.512e-05/0.2744, allocations: 12 kB / 0.5162 GB, free: 11.04 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002039/0.2746, allocations: 303.1 kB / 0.5165 GB, free: 10.75 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2746, allocations: 4 kB / 0.5165 GB, free: 10.74 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00385/0.2784, allocations: 1.006 MB / 0.5175 GB, free: 9.734 MB / 426.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.002819/0.2812, allocations: 1.318 MB / 0.5188 GB, free: 8.41 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006983/0.2819, allocations: 0.6191 MB / 0.5194 GB, free: 7.789 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.2819, allocations: 0 / 0.5194 GB, free: 7.789 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003709/0.2823, allocations: 428.9 kB / 0.5198 GB, free: 7.367 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005854/0.2829, allocations: 190.9 kB / 0.52 GB, free: 7.191 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001408/0.2843, allocations: 1.563 MB / 0.5215 GB, free: 5.594 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000199/0.2845, allocations: 366.2 kB / 0.5219 GB, free: 5.211 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.132e-05/0.2846, allocations: 40.5 kB / 0.5219 GB, free: 5.172 MB / 426.7 MB Notification: Performance of SimCode: time 5.61e-07/0.2846, allocations: 0 / 0.5219 GB, free: 5.172 MB / 426.7 MB Notification: Performance of Templates: time 0.02273/0.3073, allocations: 24.34 MB / 0.5457 GB, free: 12.86 MB / 458.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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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: 6.986941904760897]