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.001108/0.001108, allocations: 83.58 kB / 21.19 MB, free: 3.383 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.0009417/0.0009417, allocations: 161.4 kB / 24.56 MB, free: 16 kB / 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.9631/0.9631, allocations: 177.1 MB / 205 MB, free: 5.641 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.2637/0.2637, allocations: 34.26 MB / 295.7 MB, free: 0.7578 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.[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.923e-06/1.923e-06, allocations: 0 / 378 MB, free: 2.68 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.705e-05/2.897e-05, allocations: 2.312 kB / 378 MB, free: 2.676 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear): time 0.01479/0.01482, allocations: 14.86 MB / 392.9 MB, free: 3.75 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01195/0.02678, allocations: 11.87 MB / 404.8 MB, free: 7.836 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000293/0.02707, allocations: 11.88 kB / 404.8 MB, free: 7.824 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004952/0.02756, allocations: 139 kB / 404.9 MB, free: 7.688 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007541/0.0351, allocations: 3.712 MB / 408.6 MB, free: 3.965 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004147/0.03925, allocations: 2.078 MB / 410.7 MB, free: 1.879 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001029/0.04028, allocations: 0.9391 MB / 411.6 MB, free: 0.9336 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003994/0.04068, allocations: 236.9 kB / 411.9 MB, free: 0.6992 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007702/0.04145, allocations: 0.5417 MB / 412.4 MB, free: 160 kB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003271/0.04178, allocations: 243.3 kB / 412.7 MB, free: 15.92 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 5.148e-05/0.04183, allocations: 32 kB / 412.7 MB, free: 15.89 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009631/0.05146, allocations: 6.773 MB / 419.5 MB, free: 9.105 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001537/0.05161, allocations: 99.64 kB / 419.6 MB, free: 9.008 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002196/0.05183, allocations: 159.7 kB / 419.7 MB, free: 8.852 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008633/0.06047, allocations: 5.238 MB / 424.9 MB, free: 3.602 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.692e-06/0.06047, allocations: 0 / 424.9 MB, free: 3.602 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.734e-06/0.06047, allocations: 0 / 424.9 MB, free: 3.602 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.177e-06/0.06048, allocations: 0 / 424.9 MB, free: 3.602 MB / 394.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.002316/0.0628, allocations: 1.245 MB / 426.2 MB, free: 2.316 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/0.06284, allocations: 12.03 kB / 426.2 MB, free: 2.305 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009831/0.06383, allocations: 303.7 kB / 426.5 MB, free: 2.008 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004087/0.06424, allocations: 331.3 kB / 426.8 MB, free: 1.66 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.923e-05/0.06427, allocations: 28.97 kB / 426.9 MB, free: 1.633 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.539e-05/0.0643, allocations: 32.38 kB / 426.9 MB, free: 1.602 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009123/0.06521, allocations: 0.7099 MB / 427.6 MB, free: 0.7969 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.06522, allocations: 192 / 427.6 MB, free: 0.7969 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.329e-05/0.06526, allocations: 19.94 kB / 427.6 MB, free: 0.7773 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.758e-06/0.06527, allocations: 8 kB / 427.6 MB, free: 0.7695 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006365/0.0659, allocations: 363.4 kB / 428 MB, free: 424 kB / 394.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.002097/0.068, allocations: 2.265 MB / 430.2 MB, free: 14.06 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007462/0.06875, allocations: 370.6 kB / 430.6 MB, free: 13.69 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001079/0.06885, allocations: 75.66 kB / 430.7 MB, free: 13.61 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02147/0.09033, allocations: 13.21 MB / 443.9 MB, free: 400 kB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002898/0.09062, allocations: 41.39 kB / 443.9 MB, free: 348 kB / 410.7 MB Notification: Performance of pre-optimization done (n=25): time 2.415e-06/0.09062, allocations: 3.938 kB / 443.9 MB, free: 344 kB / 410.7 MB Notification: Performance of matching and sorting (n=25): time 0.1515/0.2422, allocations: 0.5856 MB / 444.5 MB, free: 77.73 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.594e-05/0.2422, allocations: 109.6 kB / 444.6 MB, free: 77.6 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002963/0.2425, allocations: 319.4 kB / 444.9 MB, free: 77.43 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.338e-05/0.2425, allocations: 32.89 kB / 445 MB, free: 77.4 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001248/0.2427, allocations: 261.9 kB / 445.2 MB, free: 77.27 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.969e-05/0.2427, allocations: 95.86 kB / 445.3 MB, free: 77.23 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001048/0.2428, allocations: 72.48 kB / 445.4 MB, free: 77.21 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.539e-05/0.2429, allocations: 0.5158 MB / 445.9 MB, free: 76.72 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001367/0.243, allocations: 66.28 kB / 446 MB, free: 76.72 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001446/0.2432, allocations: 249.2 kB / 446.2 MB, free: 76.5 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002101/0.2434, allocations: 251.2 kB / 446.5 MB, free: 76.38 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.2434, allocations: 2.906 kB / 446.5 MB, free: 76.38 MB / 410.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003244/0.2437, allocations: 309.5 kB / 446.8 MB, free: 76.32 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.2437, allocations: 5.75 kB / 446.8 MB, free: 76.32 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/0.2438, allocations: 2.5 kB / 446.8 MB, free: 76.32 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/0.2438, allocations: 2.719 kB / 446.8 MB, free: 76.32 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001922/0.244, allocations: 85.34 kB / 446.9 MB, free: 76.32 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.244, allocations: 4.375 kB / 446.9 MB, free: 76.32 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001325/0.2441, allocations: 38.84 kB / 446.9 MB, free: 76.31 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.852e-05/0.2441, allocations: 18.94 kB / 446.9 MB, free: 76.31 MB / 410.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 9.267e-05/0.2442, allocations: 171.6 kB / 447.1 MB, free: 76.15 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.648e-05/0.2443, allocations: 43 kB / 447.1 MB, free: 76.13 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009191/0.2452, allocations: 1.23 MB / 448.4 MB, free: 75.93 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.826e-05/0.2452, allocations: 31.98 kB / 448.4 MB, free: 75.93 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.2452, allocations: 1.594 kB / 448.4 MB, free: 75.93 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.2452, allocations: 3.922 kB / 448.4 MB, free: 75.93 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004886/0.2457, allocations: 0.6651 MB / 449.1 MB, free: 75.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.519e-06/0.2457, allocations: 0 / 449.1 MB, free: 75.75 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000138/0.2458, allocations: 66.16 kB / 449.1 MB, free: 75.75 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.2458, allocations: 3.5 kB / 449.1 MB, free: 75.75 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.371e-05/0.2459, allocations: 6.594 kB / 449.1 MB, free: 75.75 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.556e-06/0.2459, allocations: 2.734 kB / 449.1 MB, free: 75.75 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.2459, allocations: 2.906 kB / 449.1 MB, free: 75.75 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005768/0.2464, allocations: 0.8288 MB / 450 MB, free: 75.47 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.653e-05/0.2465, allocations: 95.2 kB / 450.1 MB, free: 75.43 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.858e-05/0.2465, allocations: 20.22 kB / 450.1 MB, free: 75.42 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001118/0.2466, allocations: 15.95 kB / 450.1 MB, free: 75.42 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.596e-05/0.2467, allocations: 40.48 kB / 450.1 MB, free: 75.42 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.149e-05/0.2468, allocations: 15.88 kB / 450.1 MB, free: 75.42 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002469/0.247, allocations: 302.6 kB / 450.4 MB, free: 75.29 MB / 410.7 MB Notification: Performance of sort global known variables: time 1e-07/0.247, allocations: 0 / 450.4 MB, free: 75.29 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002105/0.2491, allocations: 1.006 MB / 451.5 MB, free: 75.29 MB / 410.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.003697/0.2528, allocations: 1.285 MB / 452.7 MB, free: 75.2 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004916/0.2533, allocations: 314.2 kB / 453 MB, free: 75.17 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.2533, allocations: 3.438 kB / 453 MB, free: 75.17 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002258/0.2535, allocations: 259.1 kB / 453.3 MB, free: 75.16 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006707/0.2542, allocations: 210.5 kB / 453.5 MB, free: 75.15 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001586/0.2558, allocations: 1.355 MB / 454.9 MB, free: 74.59 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.724e-05/0.2559, allocations: 184.9 kB / 455 MB, free: 74.51 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003007/0.2562, allocations: 272.4 kB / 455.3 MB, free: 74.5 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.937e-05/0.2563, allocations: 39.53 kB / 455.3 MB, free: 74.5 MB / 410.7 MB Notification: Performance of SimCode: time 1.623e-06/0.2563, allocations: 0 / 455.3 MB, free: 74.5 MB / 410.7 MB Notification: Performance of Templates: time 0.05144/0.3077, allocations: 46.47 MB / 0.4901 GB, free: 59.52 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.652018977794796]