Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00178/0.00178, allocations: 107.1 kB / 20.44 MB, free: 1.195 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002213/0.002213, allocations: 212.7 kB / 23.73 MB, free: 4.402 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.508/1.508, allocations: 230.5 MB / 257.4 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2309/0.2309, allocations: 46.94 MB / 360.8 MB, free: 3.938 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002385/0.002385, allocations: 75.88 kB / 0.4966 GB, free: 7.059 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3112/0.3136, allocations: 66.09 MB / 0.5612 GB, free: 3.965 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear): time 0.03296/0.3466, allocations: 25.91 MB / 0.5865 GB, free: 9.965 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01738/0.364, allocations: 11.77 MB / 0.598 GB, free: 14.15 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004262/0.3644, allocations: 19.81 kB / 0.598 GB, free: 14.13 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008355/0.3652, allocations: 230.5 kB / 0.5982 GB, free: 13.91 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01051/0.3757, allocations: 3.649 MB / 0.6018 GB, free: 10.26 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007054/0.3828, allocations: 2.351 MB / 0.6041 GB, free: 7.91 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001327/0.3841, allocations: 0.908 MB / 0.605 GB, free: 7 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004171/0.3845, allocations: 216.8 kB / 0.6052 GB, free: 6.781 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008923/0.3854, allocations: 442.2 kB / 0.6056 GB, free: 6.348 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000402/0.3858, allocations: 270.8 kB / 0.6059 GB, free: 6.082 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.397e-05/0.3859, allocations: 32 kB / 0.6059 GB, free: 6.051 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01398/0.3999, allocations: 6.903 MB / 0.6126 GB, free: 15.14 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000194/0.4001, allocations: 99.67 kB / 0.6127 GB, free: 15.04 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003055/0.4004, allocations: 187.2 kB / 0.6129 GB, free: 14.86 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01035/0.4107, allocations: 4.423 MB / 0.6172 GB, free: 10.42 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.4107, allocations: 0 / 0.6172 GB, free: 10.42 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.4107, allocations: 4 kB / 0.6172 GB, free: 10.42 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.003e-05/0.4107, allocations: 0 / 0.6172 GB, free: 10.42 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.003341/0.4141, allocations: 1.203 MB / 0.6184 GB, free: 9.18 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.799e-05/0.4141, allocations: 12.03 kB / 0.6184 GB, free: 9.168 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001707/0.4158, allocations: 208.5 kB / 0.6186 GB, free: 8.965 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006316/0.4165, allocations: 317.2 kB / 0.6189 GB, free: 8.625 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.362e-05/0.4165, allocations: 25.03 kB / 0.6189 GB, free: 8.602 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.582e-05/0.4165, allocations: 28.38 kB / 0.619 GB, free: 8.574 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001719/0.4183, allocations: 0.7524 MB / 0.6197 GB, free: 7.746 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.662e-05/0.4183, allocations: 3.938 kB / 0.6197 GB, free: 7.742 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.407e-05/0.4183, allocations: 12 kB / 0.6197 GB, free: 7.73 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.298e-05/0.4183, allocations: 11.98 kB / 0.6197 GB, free: 7.719 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001688/0.42, allocations: 0.5449 MB / 0.6203 GB, free: 7.172 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.002963/0.423, allocations: 1.852 MB / 0.6221 GB, free: 5.25 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001616/0.4246, allocations: 446.1 kB / 0.6225 GB, free: 4.805 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000486/0.4251, allocations: 188.7 kB / 0.6227 GB, free: 4.617 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04851/0.4736, allocations: 13.2 MB / 0.6356 GB, free: 7.395 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.899e-05/0.4737, allocations: 34.5 kB / 0.6356 GB, free: 7.352 MB / 478.1 MB Notification: Performance of pre-optimization done (n=25): time 2.054e-06/0.4737, allocations: 0 / 0.6356 GB, free: 7.352 MB / 478.1 MB Notification: Performance of matching and sorting (n=25): time 0.003091/0.4768, allocations: 0.817 MB / 0.6364 GB, free: 6.527 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.322e-05/0.4768, allocations: 118.7 kB / 0.6365 GB, free: 6.387 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003673/0.4772, allocations: 272.5 kB / 0.6368 GB, free: 6.117 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.004e-05/0.4773, allocations: 33.7 kB / 0.6368 GB, free: 6.078 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001723/0.4774, allocations: 212.4 kB / 0.637 GB, free: 5.867 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.464e-05/0.4775, allocations: 87.25 kB / 0.6371 GB, free: 5.781 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001127/0.4776, allocations: 65.69 kB / 0.6371 GB, free: 5.711 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001765/0.4778, allocations: 342.8 kB / 0.6375 GB, free: 5.367 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004329/0.4782, allocations: 147.9 kB / 0.6376 GB, free: 5.223 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005547/0.4788, allocations: 299.1 kB / 0.6379 GB, free: 4.879 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009214/0.4797, allocations: 381 kB / 0.6383 GB, free: 4.473 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.045e-06/0.4797, allocations: 0 / 0.6383 GB, free: 4.473 MB / 478.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001153/0.4809, allocations: 457.7 kB / 0.6387 GB, free: 4.02 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.392e-05/0.4809, allocations: 9.875 kB / 0.6387 GB, free: 4.012 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.4809, allocations: 0 / 0.6387 GB, free: 4.012 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.106e-05/0.4809, allocations: 4 kB / 0.6387 GB, free: 4.008 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003719/0.4813, allocations: 87.88 kB / 0.6388 GB, free: 3.922 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.312e-05/0.4813, allocations: 8.25 kB / 0.6388 GB, free: 3.914 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002836/0.4816, allocations: 47.81 kB / 0.6388 GB, free: 3.867 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.389e-05/0.4816, allocations: 15.98 kB / 0.6389 GB, free: 3.852 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.000231/0.4819, allocations: 161.7 kB / 0.639 GB, free: 3.684 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.053e-05/0.4819, allocations: 31.8 kB / 0.639 GB, free: 3.652 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002794/0.4847, allocations: 2.009 MB / 0.641 GB, free: 1.633 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.06e-05/0.4848, allocations: 27.95 kB / 0.641 GB, free: 1.605 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.4848, allocations: 7.938 kB / 0.641 GB, free: 1.598 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.083e-06/0.4848, allocations: 3.984 kB / 0.641 GB, free: 1.594 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001022/0.4858, allocations: 0.8633 MB / 0.6419 GB, free: 0.6914 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.4858, allocations: 0 / 0.6419 GB, free: 0.6914 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003555/0.4862, allocations: 79.86 kB / 0.642 GB, free: 0.6133 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/0.4862, allocations: 0 / 0.642 GB, free: 0.6133 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.268e-05/0.4862, allocations: 8 kB / 0.642 GB, free: 0.6055 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.4862, allocations: 0 / 0.642 GB, free: 0.6055 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.4862, allocations: 4 kB / 0.642 GB, free: 0.6016 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001724/0.4879, allocations: 1.132 MB / 0.6431 GB, free: 15.45 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001138/0.488, allocations: 83.16 kB / 0.6432 GB, free: 15.37 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.174e-05/0.4881, allocations: 35.72 kB / 0.6432 GB, free: 15.34 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000276/0.4884, allocations: 31.91 kB / 0.6432 GB, free: 15.3 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001045/0.4885, allocations: 35.69 kB / 0.6433 GB, free: 15.27 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.215e-05/0.4885, allocations: 15.98 kB / 0.6433 GB, free: 15.26 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003487/0.4889, allocations: 303.1 kB / 0.6436 GB, free: 14.96 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4889, allocations: 4 kB / 0.6436 GB, free: 14.96 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003003/0.4919, allocations: 1.002 MB / 0.6445 GB, free: 13.96 MB / 494.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.004541/0.4964, allocations: 1.168 MB / 0.6457 GB, free: 12.78 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001504/0.4979, allocations: 0.6099 MB / 0.6463 GB, free: 12.17 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.4979, allocations: 0 / 0.6463 GB, free: 12.17 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007426/0.4987, allocations: 441.5 kB / 0.6467 GB, free: 11.73 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001141/0.4998, allocations: 183 kB / 0.6469 GB, free: 11.56 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002444/0.5022, allocations: 1.558 MB / 0.6484 GB, free: 9.969 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003747/0.5026, allocations: 374.2 kB / 0.6488 GB, free: 9.574 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0004797/0.5031, allocations: 270.8 kB / 0.649 GB, free: 9.309 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001107/0.5032, allocations: 39.44 kB / 0.6491 GB, free: 9.27 MB / 494.1 MB Notification: Performance of SimCode: time 9.71e-07/0.5032, allocations: 0 / 0.6491 GB, free: 9.27 MB / 494.1 MB Notification: Performance of Templates: time 0.07188/0.5751, allocations: 40.2 MB / 0.6883 GB, free: 1.207 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.889500996097922]