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.001385/0.001385, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002138/0.002138, allocations: 210.3 kB / 23.73 MB, free: 4.387 MB / 14.72 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.498/1.498, allocations: 230.6 MB / 257.5 MB, free: 7.801 MB / 206.1 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.2233/0.2233, allocations: 44.94 MB / 358.8 MB, free: 6.051 MB / 286.1 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: ModelicaTest requested package Modelica of version 4.0.0. Modelica 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.002141/0.002141, allocations: 70.08 kB / 0.4935 GB, free: 10.02 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3156/0.3177, allocations: 65.47 MB / 0.5575 GB, free: 7.473 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear): time 0.03273/0.3505, allocations: 25.91 MB / 0.5828 GB, free: 13.47 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01732/0.3678, allocations: 11.78 MB / 0.5943 GB, free: 1.648 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002862/0.3681, allocations: 15.88 kB / 0.5943 GB, free: 1.633 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008677/0.3689, allocations: 226.5 kB / 0.5945 GB, free: 1.41 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009214/0.3781, allocations: 3.635 MB / 0.598 GB, free: 13.77 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006205/0.3844, allocations: 2.363 MB / 0.6004 GB, free: 11.41 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001167/0.3855, allocations: 0.908 MB / 0.6012 GB, free: 10.5 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003784/0.3859, allocations: 216.9 kB / 0.6014 GB, free: 10.29 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007998/0.3867, allocations: 446.2 kB / 0.6019 GB, free: 9.848 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003681/0.3871, allocations: 262.9 kB / 0.6021 GB, free: 9.59 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.732e-05/0.3871, allocations: 35.94 kB / 0.6022 GB, free: 9.555 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01327/0.4004, allocations: 6.903 MB / 0.6089 GB, free: 2.645 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001682/0.4006, allocations: 103.6 kB / 0.609 GB, free: 2.543 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002656/0.4008, allocations: 183.2 kB / 0.6092 GB, free: 2.363 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008474/0.4093, allocations: 4.423 MB / 0.6135 GB, free: 13.93 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.4093, allocations: 7.938 kB / 0.6135 GB, free: 13.92 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.4093, allocations: 0 / 0.6135 GB, free: 13.92 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.133e-05/0.4093, allocations: 4 kB / 0.6135 GB, free: 13.91 MB / 462.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.00351/0.4128, allocations: 1.195 MB / 0.6147 GB, free: 12.68 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.555e-05/0.4129, allocations: 8.031 kB / 0.6147 GB, free: 12.68 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001691/0.4146, allocations: 220.5 kB / 0.6149 GB, free: 12.46 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006655/0.4152, allocations: 313.2 kB / 0.6152 GB, free: 12.12 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.737e-05/0.4153, allocations: 29.03 kB / 0.6152 GB, free: 12.1 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.364e-05/0.4153, allocations: 28.38 kB / 0.6152 GB, free: 12.07 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001732/0.417, allocations: 0.7485 MB / 0.616 GB, free: 11.25 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/0.4171, allocations: 0 / 0.616 GB, free: 11.25 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.968e-05/0.4171, allocations: 12 kB / 0.616 GB, free: 11.23 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.071e-05/0.4171, allocations: 8 kB / 0.616 GB, free: 11.23 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001697/0.4188, allocations: 0.5488 MB / 0.6165 GB, free: 10.68 MB / 462.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.002913/0.4217, allocations: 1.849 MB / 0.6183 GB, free: 8.758 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001596/0.4233, allocations: 454.1 kB / 0.6188 GB, free: 8.305 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004781/0.4238, allocations: 184.7 kB / 0.6189 GB, free: 8.121 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04817/0.472, allocations: 13.21 MB / 0.6318 GB, free: 10.89 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.98e-05/0.472, allocations: 30.56 kB / 0.6319 GB, free: 10.86 MB / 478.1 MB Notification: Performance of pre-optimization done (n=25): time 5.09e-06/0.472, allocations: 4 kB / 0.6319 GB, free: 10.85 MB / 478.1 MB Notification: Performance of matching and sorting (n=25): time 0.003219/0.4752, allocations: 0.8132 MB / 0.6327 GB, free: 10.03 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.792e-05/0.4753, allocations: 110.7 kB / 0.6328 GB, free: 9.898 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004003/0.4757, allocations: 276.5 kB / 0.633 GB, free: 9.625 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.872e-05/0.4758, allocations: 33.7 kB / 0.6331 GB, free: 9.586 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001977/0.476, allocations: 220.2 kB / 0.6333 GB, free: 9.367 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.355e-05/0.4761, allocations: 87.25 kB / 0.6334 GB, free: 9.281 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001195/0.4762, allocations: 69.69 kB / 0.6334 GB, free: 9.207 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001853/0.4764, allocations: 350.7 kB / 0.6338 GB, free: 8.855 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004496/0.4768, allocations: 139.9 kB / 0.6339 GB, free: 8.719 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005552/0.4774, allocations: 295.3 kB / 0.6342 GB, free: 8.379 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009295/0.4783, allocations: 377.9 kB / 0.6345 GB, free: 7.977 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.4783, allocations: 0 / 0.6345 GB, free: 7.977 MB / 478.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001157/0.4795, allocations: 444.9 kB / 0.635 GB, free: 7.535 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.958e-05/0.4795, allocations: 11.12 kB / 0.635 GB, free: 7.527 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/0.4795, allocations: 4 kB / 0.635 GB, free: 7.523 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.537e-05/0.4795, allocations: 4 kB / 0.635 GB, free: 7.52 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00039/0.4799, allocations: 91.88 kB / 0.6351 GB, free: 7.43 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.142e-05/0.4799, allocations: 11.88 kB / 0.6351 GB, free: 7.418 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003116/0.4803, allocations: 43.81 kB / 0.6351 GB, free: 7.375 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.956e-05/0.4803, allocations: 15.98 kB / 0.6351 GB, free: 7.359 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.000219/0.4805, allocations: 165.7 kB / 0.6353 GB, free: 7.188 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.162e-05/0.4806, allocations: 31.81 kB / 0.6353 GB, free: 7.156 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002884/0.4835, allocations: 1.994 MB / 0.6373 GB, free: 5.152 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.08e-05/0.4835, allocations: 27.95 kB / 0.6373 GB, free: 5.125 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.817e-06/0.4835, allocations: 3.938 kB / 0.6373 GB, free: 5.121 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.827e-06/0.4835, allocations: 7.922 kB / 0.6373 GB, free: 5.113 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001072/0.4846, allocations: 0.8633 MB / 0.6382 GB, free: 4.211 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.09e-06/0.4846, allocations: 0 / 0.6382 GB, free: 4.211 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003471/0.485, allocations: 79.92 kB / 0.6382 GB, free: 4.133 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.658e-06/0.485, allocations: 0 / 0.6382 GB, free: 4.133 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.451e-05/0.485, allocations: 8 kB / 0.6382 GB, free: 4.125 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.485, allocations: 0 / 0.6382 GB, free: 4.125 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.485, allocations: 0 / 0.6382 GB, free: 4.125 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00177/0.4868, allocations: 1.139 MB / 0.6393 GB, free: 2.969 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000125/0.4869, allocations: 91.03 kB / 0.6394 GB, free: 2.879 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.754e-05/0.487, allocations: 27.78 kB / 0.6395 GB, free: 2.852 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002882/0.4873, allocations: 27.97 kB / 0.6395 GB, free: 2.824 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001141/0.4874, allocations: 35.88 kB / 0.6395 GB, free: 2.789 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.547e-05/0.4874, allocations: 15.98 kB / 0.6395 GB, free: 2.773 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.000371/0.4878, allocations: 307.1 kB / 0.6398 GB, free: 2.477 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4878, allocations: 0 / 0.6398 GB, free: 2.477 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00298/0.4907, allocations: 1.006 MB / 0.6408 GB, free: 1.469 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.004695/0.4954, allocations: 1.179 MB / 0.642 GB, free: 288 kB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001459/0.4969, allocations: 0.6111 MB / 0.6426 GB, free: 15.67 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.4969, allocations: 0 / 0.6426 GB, free: 15.67 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007451/0.4977, allocations: 436.8 kB / 0.643 GB, free: 15.24 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001102/0.4988, allocations: 192.3 kB / 0.6432 GB, free: 15.05 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002521/0.5013, allocations: 1.55 MB / 0.6447 GB, free: 13.48 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000385/0.5017, allocations: 378.1 kB / 0.645 GB, free: 13.08 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0005157/0.5022, allocations: 269.5 kB / 0.6453 GB, free: 12.82 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001097/0.5023, allocations: 35.44 kB / 0.6453 GB, free: 12.79 MB / 494.1 MB Notification: Performance of SimCode: time 8.21e-07/0.5023, allocations: 4 kB / 0.6453 GB, free: 12.78 MB / 494.1 MB Notification: Performance of Templates: time 0.06182/0.5641, allocations: 40.21 MB / 0.6846 GB, free: 4.742 MB / 0.5137 GB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe 2>&1) [Timeout 480] 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.767272179946303]