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.0008254/0.0008254, allocations: 79.69 kB / 20.67 MB, free: 3.891 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.0008022/0.0008022, allocations: 170 kB / 23.95 MB, free: 0.6133 MB / 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.9225/0.9225, allocations: 177.1 MB / 204.3 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] 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.2509/0.2509, allocations: 32.79 MB / 293.5 MB, free: 1.25 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: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Valves_TestValveLinear",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Valves_TestValveLinear",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.362e-06/1.362e-06, allocations: 0 / 439.6 MB, free: 4.258 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.366e-05/1.502e-05, allocations: 2.281 kB / 439.6 MB, free: 4.254 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear): time 0.1993/0.1993, allocations: 25.76 MB / 465.3 MB, free: 31.39 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.008098/0.2074, allocations: 11.78 MB / 477.1 MB, free: 23.69 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001962/0.2076, allocations: 18.53 kB / 477.1 MB, free: 23.68 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006515/0.2083, allocations: 228 kB / 477.4 MB, free: 23.56 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005965/0.2142, allocations: 3.709 MB / 481.1 MB, free: 22.06 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004259/0.2185, allocations: 2.38 MB / 483.5 MB, free: 20.88 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006543/0.2191, allocations: 0.9143 MB / 484.4 MB, free: 20.43 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002665/0.2194, allocations: 217.8 kB / 484.6 MB, free: 20.33 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00053/0.2199, allocations: 0.5509 MB / 485.1 MB, free: 20.1 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001884/0.2201, allocations: 239.9 kB / 485.4 MB, free: 20.02 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.999e-05/0.2202, allocations: 31.81 kB / 485.4 MB, free: 20.02 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008209/0.2284, allocations: 6.903 MB / 492.3 MB, free: 18.43 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.317e-05/0.2285, allocations: 109.2 kB / 492.4 MB, free: 18.36 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001438/0.2286, allocations: 159.6 kB / 492.6 MB, free: 18.3 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006886/0.2355, allocations: 5.557 MB / 498.1 MB, free: 16.54 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.2355, allocations: 0 / 498.1 MB, free: 16.54 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.2355, allocations: 1.438 kB / 498.1 MB, free: 16.54 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.622e-06/0.2355, allocations: 0 / 498.1 MB, free: 16.54 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.002425/0.2379, allocations: 1.187 MB / 499.3 MB, free: 15.8 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/0.238, allocations: 10.16 kB / 499.3 MB, free: 15.8 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.713e-05/0.238, allocations: 67.66 kB / 499.4 MB, free: 15.75 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008914/0.2389, allocations: 218.8 kB / 499.6 MB, free: 15.71 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004468/0.2394, allocations: 322.2 kB / 499.9 MB, free: 15.47 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.077e-05/0.2394, allocations: 27.28 kB / 499.9 MB, free: 15.46 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.321e-05/0.2394, allocations: 26.66 kB / 500 MB, free: 15.45 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000938/0.2404, allocations: 0.7412 MB / 0.489 GB, free: 15.01 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.2404, allocations: 4.938 kB / 0.489 GB, free: 15 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.893e-05/0.2404, allocations: 16.31 kB / 0.489 GB, free: 14.99 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.118e-05/0.2404, allocations: 7.625 kB / 0.489 GB, free: 14.99 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009206/0.2413, allocations: 0.5433 MB / 0.4895 GB, free: 14.86 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.001585/0.2429, allocations: 1.904 MB / 0.4914 GB, free: 13.39 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008757/0.2438, allocations: 449.8 kB / 0.4918 GB, free: 13.16 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002535/0.2441, allocations: 192.2 kB / 0.492 GB, free: 13.07 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02253/0.2666, allocations: 13.2 MB / 0.5049 GB, free: 7.445 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.748e-05/0.2666, allocations: 34.5 kB / 0.5049 GB, free: 7.402 MB / 410.7 MB Notification: Performance of pre-optimization done (n=25): time 1.884e-06/0.2666, allocations: 0 / 0.5049 GB, free: 7.402 MB / 410.7 MB Notification: Performance of matching and sorting (n=25): time 0.00152/0.2681, allocations: 0.8187 MB / 0.5057 GB, free: 6.578 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.356e-05/0.2682, allocations: 110.8 kB / 0.5058 GB, free: 6.445 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002017/0.2684, allocations: 324.4 kB / 0.5061 GB, free: 6.121 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.736e-05/0.2684, allocations: 29.7 kB / 0.5062 GB, free: 6.086 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.467e-05/0.2685, allocations: 204.5 kB / 0.5064 GB, free: 5.883 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.153e-05/0.2685, allocations: 95.2 kB / 0.5065 GB, free: 5.789 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.26e-05/0.2686, allocations: 61.69 kB / 0.5065 GB, free: 5.723 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.197e-05/0.2686, allocations: 342.8 kB / 0.5068 GB, free: 5.379 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001946/0.2688, allocations: 149.1 kB / 0.507 GB, free: 5.234 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002281/0.269, allocations: 303.7 kB / 0.5073 GB, free: 4.887 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003979/0.2694, allocations: 373.1 kB / 0.5076 GB, free: 4.488 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.2694, allocations: 0 / 0.5076 GB, free: 4.488 MB / 410.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004917/0.2699, allocations: 448.9 kB / 0.5081 GB, free: 4.043 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.2699, allocations: 4 kB / 0.5081 GB, free: 4.039 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/0.2699, allocations: 4 kB / 0.5081 GB, free: 4.035 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.27, allocations: 4 kB / 0.5081 GB, free: 4.031 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000166/0.2701, allocations: 88.8 kB / 0.5082 GB, free: 3.945 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.2701, allocations: 6.812 kB / 0.5082 GB, free: 3.941 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001732/0.2703, allocations: 59.69 kB / 0.5082 GB, free: 3.883 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.771e-05/0.2703, allocations: 12 kB / 0.5082 GB, free: 3.871 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.0001052/0.2704, allocations: 165.7 kB / 0.5084 GB, free: 3.699 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.793e-05/0.2705, allocations: 39.7 kB / 0.5084 GB, free: 3.66 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001189/0.2717, allocations: 2.008 MB / 0.5104 GB, free: 1.645 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.437e-05/0.2717, allocations: 27.95 kB / 0.5104 GB, free: 1.617 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.2717, allocations: 0 / 0.5104 GB, free: 1.617 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.2717, allocations: 11.88 kB / 0.5104 GB, free: 1.605 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004602/0.2721, allocations: 0.9612 MB / 0.5114 GB, free: 0.6016 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/0.2721, allocations: 1.375 kB / 0.5114 GB, free: 0.6016 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001426/0.2723, allocations: 71.88 kB / 0.5114 GB, free: 0.5312 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.2723, allocations: 0 / 0.5114 GB, free: 0.5312 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.367e-05/0.2723, allocations: 15.98 kB / 0.5115 GB, free: 0.5156 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.2723, allocations: 0 / 0.5115 GB, free: 0.5156 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.2723, allocations: 0 / 0.5115 GB, free: 0.5156 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008405/0.2731, allocations: 1.134 MB / 0.5126 GB, free: 15.36 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.277e-05/0.2732, allocations: 95.14 kB / 0.5127 GB, free: 15.27 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.963e-05/0.2732, allocations: 23.78 kB / 0.5127 GB, free: 15.25 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001416/0.2734, allocations: 35.09 kB / 0.5127 GB, free: 15.21 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.365e-05/0.2735, allocations: 35.88 kB / 0.5127 GB, free: 15.18 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.593e-05/0.2735, allocations: 15.94 kB / 0.5128 GB, free: 15.16 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002231/0.2737, allocations: 327.1 kB / 0.5131 GB, free: 14.84 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2737, allocations: 0 / 0.5131 GB, free: 14.84 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003624/0.2773, allocations: 1.01 MB / 0.5141 GB, free: 13.83 MB / 426.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.004262/0.2816, allocations: 2.89 MB / 0.5169 GB, free: 10.91 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0007161/0.2823, allocations: 0.6151 MB / 0.5175 GB, free: 10.3 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.2823, allocations: 0 / 0.5175 GB, free: 10.3 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005094/0.2828, allocations: 432.8 kB / 0.5179 GB, free: 9.871 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000651/0.2835, allocations: 223.5 kB / 0.5181 GB, free: 9.66 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004759/0.2882, allocations: 5.044 MB / 0.523 GB, free: 4.461 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002099/0.2884, allocations: 374.2 kB / 0.5234 GB, free: 4.066 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.000305/0.2887, allocations: 275.4 kB / 0.5236 GB, free: 3.805 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002032/0.2889, allocations: 252.4 kB / 0.5239 GB, free: 3.555 MB / 426.7 MB Notification: Performance of SimCode: time 5.01e-07/0.2889, allocations: 0 / 0.5239 GB, free: 3.555 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06003/0.349, allocations: 48.27 MB / 0.571 GB, free: 3.562 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.544/8.893, allocations: 7.594 kB / 0.571 GB, free: 3.559 MB / 474.7 MB " [Timeout remaining time 651] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Valves_TestValveLinear_fmu --startTime=0 --stopTime=3 --stepSize=0.000599281 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Valves_TestValveLinear.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe 2>&1) [Timeout 52.5] 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: 11.293274617753923]