Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001843/0.001843, allocations: 91.61 kB / 20.96 MB, free: 3.461 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.00275/0.00275, allocations: 165.3 kB / 24.27 MB, free: 152 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 1.594/1.594, allocations: 177.1 MB / 204.6 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3359/0.3359, allocations: 32.79 MB / 293.9 MB, free: 1.223 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.034e-06/2.034e-06, allocations: 0 / 375.3 MB, free: 5 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.772e-05/3.976e-05, allocations: 6.25 kB / 375.3 MB, free: 4.992 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear): time 0.05474/0.05478, allocations: 28.74 MB / 404 MB, free: 8.141 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02942/0.0842, allocations: 13.1 MB / 417.1 MB, free: 11 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006327/0.08483, allocations: 11.88 kB / 417.1 MB, free: 10.98 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001244/0.08608, allocations: 222.4 kB / 417.3 MB, free: 10.77 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01554/0.1016, allocations: 3.693 MB / 421 MB, free: 7.059 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01032/0.1119, allocations: 2.395 MB / 423.4 MB, free: 4.652 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.002007/0.1139, allocations: 0.9156 MB / 424.3 MB, free: 3.73 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008189/0.1148, allocations: 217 kB / 424.6 MB, free: 3.516 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002022/0.1168, allocations: 0.5529 MB / 425.1 MB, free: 2.961 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007397/0.1175, allocations: 239.3 kB / 425.3 MB, free: 2.727 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001587/0.1177, allocations: 32 kB / 425.4 MB, free: 2.695 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02271/0.1404, allocations: 6.91 MB / 432.3 MB, free: 11.78 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003679/0.1408, allocations: 107.6 kB / 432.4 MB, free: 11.67 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000592/0.1414, allocations: 159.7 kB / 432.5 MB, free: 11.52 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01621/0.1576, allocations: 5.554 MB / 438.1 MB, free: 5.949 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.095e-05/0.1576, allocations: 8 kB / 438.1 MB, free: 5.941 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1576, allocations: 0 / 438.1 MB, free: 5.941 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.222e-05/0.1576, allocations: 0 / 438.1 MB, free: 5.941 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.004623/0.1622, allocations: 1.295 MB / 439.4 MB, free: 4.605 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.1623, allocations: 8.031 kB / 439.4 MB, free: 4.598 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001942/0.1642, allocations: 303.7 kB / 439.7 MB, free: 4.301 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007491/0.165, allocations: 331.3 kB / 440 MB, free: 3.949 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.563e-05/0.165, allocations: 25.03 kB / 440 MB, free: 3.926 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.918e-05/0.1651, allocations: 32.36 kB / 440.1 MB, free: 3.895 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001774/0.1668, allocations: 0.7406 MB / 440.8 MB, free: 3.062 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.97e-05/0.1669, allocations: 4.125 kB / 440.8 MB, free: 3.059 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.966e-05/0.1669, allocations: 15.94 kB / 440.8 MB, free: 3.043 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.327e-05/0.1669, allocations: 8 kB / 440.8 MB, free: 3.035 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001556/0.1685, allocations: 494.1 kB / 441.3 MB, free: 2.555 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.003951/0.1724, allocations: 2.425 MB / 443.8 MB, free: 44 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1867/0.3591, allocations: 409.5 kB / 444.2 MB, free: 105.3 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003802/0.3595, allocations: 173.6 kB / 444.3 MB, free: 105.3 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04217/0.4017, allocations: 13.2 MB / 457.5 MB, free: 104.3 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.039e-05/0.4017, allocations: 36.95 kB / 457.6 MB, free: 104.3 MB / 410.7 MB Notification: Performance of pre-optimization done (n=25): time 2.184e-06/0.4017, allocations: 0 / 457.6 MB, free: 104.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=25): time 0.002493/0.4042, allocations: 0.7809 MB / 458.3 MB, free: 104.1 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.599e-05/0.4043, allocations: 106 kB / 458.4 MB, free: 104 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003386/0.4046, allocations: 370.2 kB / 458.8 MB, free: 103.7 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.22e-05/0.4046, allocations: 36.33 kB / 458.8 MB, free: 103.7 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001318/0.4048, allocations: 268.3 kB / 459.1 MB, free: 103.5 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.15e-05/0.4048, allocations: 104.9 kB / 459.2 MB, free: 103.4 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001079/0.405, allocations: 79.7 kB / 459.3 MB, free: 103.4 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001068/0.4051, allocations: 0.5301 MB / 459.8 MB, free: 102.9 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002991/0.4054, allocations: 118.6 kB / 459.9 MB, free: 102.9 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003561/0.4057, allocations: 311.7 kB / 460.2 MB, free: 102.6 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006081/0.4063, allocations: 359.8 kB / 460.6 MB, free: 102.4 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/0.4063, allocations: 7.125 kB / 460.6 MB, free: 102.4 MB / 410.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0008274/0.4072, allocations: 388.8 kB / 461 MB, free: 102.2 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/0.4072, allocations: 10.38 kB / 461 MB, free: 102.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.4072, allocations: 6.312 kB / 461 MB, free: 102.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.319e-05/0.4072, allocations: 2.875 kB / 461 MB, free: 102.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002973/0.4075, allocations: 81.39 kB / 461.1 MB, free: 102.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.06e-05/0.4075, allocations: 6.062 kB / 461.1 MB, free: 102.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002441/0.4078, allocations: 43 kB / 461.1 MB, free: 102.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.131e-05/0.4078, allocations: 8.875 kB / 461.1 MB, free: 102.2 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 0.0001644/0.408, allocations: 207 kB / 461.3 MB, free: 102 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001124/0.4081, allocations: 44.09 kB / 461.4 MB, free: 102 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001607/0.4097, allocations: 1.309 MB / 462.7 MB, free: 101.6 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.52e-05/0.4097, allocations: 27.83 kB / 462.7 MB, free: 101.6 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.4097, allocations: 0 / 462.7 MB, free: 101.6 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.4097, allocations: 3.469 kB / 462.7 MB, free: 101.6 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007241/0.4104, allocations: 0.7179 MB / 463.4 MB, free: 101.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/0.4104, allocations: 3.828 kB / 463.4 MB, free: 101.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002441/0.4107, allocations: 63.11 kB / 463.5 MB, free: 101.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.569e-06/0.4107, allocations: 0 / 463.5 MB, free: 101.2 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.232e-05/0.4107, allocations: 6.844 kB / 463.5 MB, free: 101.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.4107, allocations: 2.969 kB / 463.5 MB, free: 101.2 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.4107, allocations: 0 / 463.5 MB, free: 101.2 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001151/0.4119, allocations: 0.9403 MB / 464.4 MB, free: 100.8 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000126/0.412, allocations: 81.31 kB / 464.5 MB, free: 100.7 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.667e-05/0.4121, allocations: 25.72 kB / 464.6 MB, free: 100.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002341/0.4123, allocations: 20.34 kB / 464.6 MB, free: 100.7 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.853e-05/0.4124, allocations: 33.06 kB / 464.6 MB, free: 100.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.687e-05/0.4124, allocations: 16.5 kB / 464.6 MB, free: 100.7 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002848/0.4127, allocations: 350.1 kB / 465 MB, free: 100.5 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4127, allocations: 0 / 465 MB, free: 100.5 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002789/0.4155, allocations: 1.008 MB / 466 MB, free: 100.3 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.005039/0.4205, allocations: 1.311 MB / 467.3 MB, free: 100.1 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001063/0.4216, allocations: 433.3 kB / 467.7 MB, free: 99.95 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.559e-06/0.4216, allocations: 1.219 kB / 467.7 MB, free: 99.95 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000702/0.4223, allocations: 323.4 kB / 468 MB, free: 99.87 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001204/0.4235, allocations: 223.4 kB / 468.2 MB, free: 99.82 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002202/0.4257, allocations: 1.392 MB / 469.6 MB, free: 99.09 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004229/0.4261, allocations: 372 kB / 470 MB, free: 98.98 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000468/0.4266, allocations: 271.4 kB / 470.3 MB, free: 98.96 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001404/0.4268, allocations: 40.97 kB / 470.3 MB, free: 98.95 MB / 410.7 MB Notification: Performance of SimCode: time 1.502e-06/0.4268, allocations: 0 / 470.3 MB, free: 98.95 MB / 410.7 MB Notification: Performance of Templates: time 0.04598/0.4727, allocations: 40.23 MB / 0.4986 GB, free: 68.65 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Valves/TestValveLinear/TestValveLinear.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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: 7.8906361809931695]