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.001309/0.001309, allocations: 84.73 kB / 21.5 MB, free: 2.984 MB / 18.57 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.001424/0.001424, allocations: 162.2 kB / 24.91 MB, free: 8.766 MB / 18.57 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 0.9302/0.9302, allocations: 177 MB / 205.2 MB, free: 5.461 MB / 186.7 MB " [Timeout remaining time 179] 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.2536/0.2536, allocations: 34.86 MB / 296.6 MB, free: 0.5156 MB / 266.7 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.[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_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.263e-06/1.263e-06, allocations: 0 / 325.9 MB, free: 7.184 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.374e-05/1.5e-05, allocations: 2.969 kB / 325.9 MB, free: 7.18 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear): time 0.01175/0.01176, allocations: 14.81 MB / 340.7 MB, free: 8.309 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.009244/0.02101, allocations: 11.85 MB / 352.6 MB, free: 12.41 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001705/0.02118, allocations: 19.88 kB / 352.6 MB, free: 12.39 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000359/0.02154, allocations: 142.9 kB / 352.7 MB, free: 12.25 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005953/0.02749, allocations: 3.724 MB / 356.5 MB, free: 8.516 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003385/0.03088, allocations: 2.082 MB / 358.5 MB, free: 6.426 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006912/0.03157, allocations: 0.9469 MB / 359.5 MB, free: 5.477 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002568/0.03182, allocations: 228.9 kB / 359.7 MB, free: 5.25 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005573/0.03238, allocations: 0.5533 MB / 360.3 MB, free: 4.695 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002075/0.03259, allocations: 219.4 kB / 360.5 MB, free: 4.48 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.64e-05/0.03263, allocations: 35.94 kB / 360.5 MB, free: 4.445 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008543/0.04117, allocations: 6.77 MB / 367.3 MB, free: 13.67 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001023/0.04127, allocations: 111.6 kB / 367.4 MB, free: 13.56 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001241/0.04139, allocations: 155.7 kB / 367.5 MB, free: 13.41 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005433/0.04683, allocations: 5.242 MB / 372.8 MB, free: 8.152 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.04683, allocations: 7.984 kB / 372.8 MB, free: 8.145 MB / 346.7 MB Notification: Performance of FrontEnd: time 8.31e-07/0.04683, allocations: 0 / 372.8 MB, free: 8.145 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.04684, allocations: 0 / 372.8 MB, free: 8.145 MB / 346.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.001654/0.04849, allocations: 1.112 MB / 373.9 MB, free: 7.004 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.953e-05/0.04852, allocations: 12.03 kB / 373.9 MB, free: 6.992 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000905/0.04943, allocations: 335.8 kB / 374.2 MB, free: 6.664 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003051/0.04973, allocations: 292.5 kB / 374.5 MB, free: 6.352 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.191e-05/0.04975, allocations: 25.03 kB / 374.6 MB, free: 6.328 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.226e-05/0.04978, allocations: 28.38 kB / 374.6 MB, free: 6.301 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007292/0.05051, allocations: 0.6718 MB / 375.3 MB, free: 5.547 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.05052, allocations: 4.125 kB / 375.3 MB, free: 5.543 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.535e-05/0.05055, allocations: 19.94 kB / 375.3 MB, free: 5.523 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.244e-06/0.05056, allocations: 8 kB / 375.3 MB, free: 5.516 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004884/0.05104, allocations: 321.8 kB / 375.6 MB, free: 5.203 MB / 346.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.001203/0.05225, allocations: 1.529 MB / 377.1 MB, free: 3.613 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006055/0.05285, allocations: 338.3 kB / 377.5 MB, free: 3.277 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.848e-05/0.05292, allocations: 56.83 kB / 377.5 MB, free: 3.219 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2697/0.3226, allocations: 72.56 MB / 450.1 MB, free: 101.6 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.59e-05/0.3227, allocations: 30.56 kB / 450.1 MB, free: 101.6 MB / 410.7 MB Notification: Performance of pre-optimization done (n=25): time 2.043e-06/0.3227, allocations: 6.969 kB / 450.1 MB, free: 101.6 MB / 410.7 MB Notification: Performance of matching and sorting (n=25): time 0.001035/0.3237, allocations: 0.5203 MB / 450.6 MB, free: 101.6 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.735e-05/0.3237, allocations: 106 kB / 450.7 MB, free: 101.4 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001393/0.3239, allocations: 267.1 kB / 451 MB, free: 101.3 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.707e-05/0.3239, allocations: 34.48 kB / 451 MB, free: 101.3 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.961e-05/0.324, allocations: 185.7 kB / 451.2 MB, free: 101.2 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.555e-05/0.324, allocations: 87.25 kB / 451.3 MB, free: 101.2 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.177e-05/0.3241, allocations: 66.61 kB / 451.4 MB, free: 101.2 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.1e-05/0.3241, allocations: 346.1 kB / 451.7 MB, free: 100.8 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.328e-05/0.3241, allocations: 45.44 kB / 451.7 MB, free: 100.8 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.26e-05/0.3242, allocations: 202.2 kB / 451.9 MB, free: 100.7 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001461/0.3244, allocations: 210.5 kB / 452.1 MB, free: 100.6 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/0.3244, allocations: 0 / 452.1 MB, free: 100.6 MB / 410.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0002029/0.3246, allocations: 226.4 kB / 452.4 MB, free: 100.5 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.3246, allocations: 3.438 kB / 452.4 MB, free: 100.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.3246, allocations: 3.688 kB / 452.4 MB, free: 100.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.3246, allocations: 9.406 kB / 452.4 MB, free: 100.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000153/0.3248, allocations: 78.12 kB / 452.5 MB, free: 100.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.128e-06/0.3248, allocations: 3.531 kB / 452.5 MB, free: 100.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001145/0.3249, allocations: 42.53 kB / 452.5 MB, free: 100.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.588e-05/0.3249, allocations: 13.36 kB / 452.5 MB, free: 100.5 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_a.phase,V1.state_b.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 8.373e-05/0.325, allocations: 130.8 kB / 452.6 MB, free: 100.4 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.616e-05/0.325, allocations: 29.59 kB / 452.7 MB, free: 100.4 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006897/0.3257, allocations: 1.114 MB / 453.8 MB, free: 100.2 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.634e-05/0.3257, allocations: 37.22 kB / 453.8 MB, free: 100.2 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-06/0.3257, allocations: 0 / 453.8 MB, free: 100.2 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.3257, allocations: 0 / 453.8 MB, free: 100.2 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003608/0.3261, allocations: 0.5466 MB / 454.4 MB, free: 100 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.045e-06/0.3261, allocations: 0 / 454.4 MB, free: 100 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001146/0.3262, allocations: 68.09 kB / 454.4 MB, free: 100 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.3262, allocations: 0 / 454.4 MB, free: 100 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.091e-05/0.3262, allocations: 7.375 kB / 454.4 MB, free: 100 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.3262, allocations: 1.969 kB / 454.4 MB, free: 100 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.3262, allocations: 0 / 454.4 MB, free: 100 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003929/0.3266, allocations: 0.6595 MB / 455.1 MB, free: 99.8 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.29e-05/0.3267, allocations: 90.23 kB / 455.2 MB, free: 99.75 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.138e-05/0.3267, allocations: 23.09 kB / 455.2 MB, free: 99.75 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.78e-05/0.3268, allocations: 24.27 kB / 455.2 MB, free: 99.75 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.07e-05/0.3269, allocations: 33.89 kB / 455.3 MB, free: 99.75 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.287e-05/0.3269, allocations: 7.547 kB / 455.3 MB, free: 99.75 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.836e-05/0.327, allocations: 154.8 kB / 455.4 MB, free: 99.73 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.327, allocations: 1.75 kB / 455.4 MB, free: 99.73 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001678/0.3286, allocations: 1.013 MB / 456.4 MB, free: 99.72 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.002264/0.3309, allocations: 1.348 MB / 457.8 MB, free: 99.47 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002456/0.3311, allocations: 256.4 kB / 458 MB, free: 99.26 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.252e-06/0.3312, allocations: 4.625 kB / 458 MB, free: 99.26 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001311/0.3313, allocations: 210.5 kB / 458.2 MB, free: 99.09 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004719/0.3318, allocations: 216.2 kB / 458.5 MB, free: 98.98 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00118/0.3329, allocations: 1.335 MB / 459.8 MB, free: 97.86 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.601e-05/0.333, allocations: 178.3 kB / 460 MB, free: 97.7 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000218/0.3332, allocations: 261.1 kB / 460.2 MB, free: 97.55 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002665/0.3335, allocations: 208.2 kB / 460.4 MB, free: 97.4 MB / 410.7 MB Notification: Performance of SimCode: time 7.61e-07/0.3335, allocations: 4 kB / 460.4 MB, free: 97.39 MB / 410.7 MB Notification: Performance of Templates: time 0.03214/0.3656, allocations: 44.42 MB / 0.493 GB, free: 55.59 MB / 410.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.575117403175682]