Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.0008387/0.0008387, allocations: 83.69 kB / 20.67 MB, free: 3.887 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.0007974/0.0007974, allocations: 170 kB / 23.95 MB, free: 0.6094 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.8809/0.8809, allocations: 177.1 MB / 204.3 MB, free: 5.707 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2616/0.2616, allocations: 34.25 MB / 294.9 MB, free: 0.7305 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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_1_0_ModelicaTest_Fluid_TestComponents_Valves_TestValveLinear",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_Valves_TestValveLinear",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 442.2 MB, free: 1.668 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.282e-05/1.437e-05, allocations: 5.234 kB / 442.2 MB, free: 1.664 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear): time 0.2025/0.2025, allocations: 25.75 MB / 467.9 MB, free: 28.37 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.009052/0.2116, allocations: 11.79 MB / 479.7 MB, free: 20.67 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003911/0.212, allocations: 22.28 kB / 479.7 MB, free: 20.66 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006606/0.2126, allocations: 229.5 kB / 480 MB, free: 20.54 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007507/0.2201, allocations: 3.698 MB / 483.7 MB, free: 19.05 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004944/0.2251, allocations: 2.386 MB / 486 MB, free: 17.87 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009225/0.226, allocations: 0.9133 MB / 487 MB, free: 17.41 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002378/0.2263, allocations: 218.8 kB / 487.2 MB, free: 17.31 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006471/0.2269, allocations: 0.5453 MB / 487.7 MB, free: 17.08 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002083/0.2271, allocations: 238.1 kB / 487.9 MB, free: 17.01 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.886e-05/0.2271, allocations: 33.03 kB / 488 MB, free: 17.01 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01148/0.2386, allocations: 6.91 MB / 494.9 MB, free: 15.41 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001994/0.2388, allocations: 108.5 kB / 495 MB, free: 15.34 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003043/0.2391, allocations: 153.9 kB / 495.1 MB, free: 15.29 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01393/0.2531, allocations: 5.553 MB / 0.489 GB, free: 13.54 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/0.2531, allocations: 3.234 kB / 0.489 GB, free: 13.54 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.2531, allocations: 0 / 0.489 GB, free: 13.54 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.055e-05/0.2531, allocations: 1.156 kB / 0.489 GB, free: 13.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.004791/0.2579, allocations: 1.196 MB / 0.4901 GB, free: 12.79 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.555e-05/0.2579, allocations: 9.656 kB / 0.4901 GB, free: 12.79 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.577e-05/0.258, allocations: 67.91 kB / 0.4902 GB, free: 12.73 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001012/0.259, allocations: 209.2 kB / 0.4904 GB, free: 12.7 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005003/0.2595, allocations: 324.5 kB / 0.4907 GB, free: 12.46 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.855e-05/0.2595, allocations: 25.72 kB / 0.4907 GB, free: 12.45 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.542e-05/0.2596, allocations: 27.38 kB / 0.4908 GB, free: 12.44 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009714/0.2605, allocations: 0.745 MB / 0.4915 GB, free: 11.94 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.2605, allocations: 9.25 kB / 0.4915 GB, free: 11.93 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.009e-05/0.2606, allocations: 16.12 kB / 0.4915 GB, free: 11.92 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.977e-06/0.2606, allocations: 9.219 kB / 0.4915 GB, free: 11.92 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000912/0.2615, allocations: 0.5401 MB / 0.4921 GB, free: 11.66 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.001815/0.2633, allocations: 1.908 MB / 0.4939 GB, free: 10.04 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008842/0.2642, allocations: 442.5 kB / 0.4943 GB, free: 9.82 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002552/0.2644, allocations: 188.8 kB / 0.4945 GB, free: 9.723 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02631/0.2907, allocations: 13.21 MB / 0.5074 GB, free: 3.359 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.387e-05/0.2908, allocations: 34.56 kB / 0.5074 GB, free: 3.316 MB / 410.7 MB Notification: Performance of pre-optimization done (n=25): time 3.106e-06/0.2908, allocations: 0 / 0.5074 GB, free: 3.316 MB / 410.7 MB Notification: Performance of matching and sorting (n=25): time 0.001676/0.2925, allocations: 0.8226 MB / 0.5083 GB, free: 2.488 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.174e-05/0.2925, allocations: 106.8 kB / 0.5084 GB, free: 2.359 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002489/0.2927, allocations: 320.4 kB / 0.5087 GB, free: 2.039 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.118e-05/0.2928, allocations: 29.7 kB / 0.5087 GB, free: 2.004 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.526e-05/0.2929, allocations: 212.5 kB / 0.5089 GB, free: 1.793 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.982e-05/0.2929, allocations: 87.22 kB / 0.509 GB, free: 1.707 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.245e-05/0.293, allocations: 65.69 kB / 0.509 GB, free: 1.637 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.401e-05/0.293, allocations: 338.8 kB / 0.5094 GB, free: 1.297 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002041/0.2932, allocations: 152.5 kB / 0.5095 GB, free: 1.148 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002361/0.2935, allocations: 299.7 kB / 0.5098 GB, free: 0.8047 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004136/0.2939, allocations: 377.2 kB / 0.5102 GB, free: 412 kB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.2939, allocations: 0 / 0.5102 GB, free: 412 kB / 410.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005814/0.2945, allocations: 444.9 kB / 0.5106 GB, free: 15.96 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.092e-05/0.2945, allocations: 4 kB / 0.5106 GB, free: 15.96 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/0.2945, allocations: 9.109 kB / 0.5106 GB, free: 15.95 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.037e-05/0.2945, allocations: 4.312 kB / 0.5106 GB, free: 15.95 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001932/0.2947, allocations: 91.88 kB / 0.5107 GB, free: 15.86 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.287e-06/0.2947, allocations: 7.938 kB / 0.5107 GB, free: 15.85 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002095/0.2949, allocations: 55.69 kB / 0.5107 GB, free: 15.79 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.309e-05/0.2949, allocations: 15.94 kB / 0.5108 GB, free: 15.78 MB / 426.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.0001672/0.2951, allocations: 161.8 kB / 0.5109 GB, free: 15.61 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.291e-05/0.2952, allocations: 35.77 kB / 0.5109 GB, free: 15.57 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001607/0.2968, allocations: 2.013 MB / 0.5129 GB, free: 13.55 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-05/0.2968, allocations: 27.95 kB / 0.5129 GB, free: 13.53 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.563e-06/0.2968, allocations: 0 / 0.5129 GB, free: 13.53 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.314e-06/0.2968, allocations: 7.125 kB / 0.5129 GB, free: 13.52 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007642/0.2976, allocations: 0.965 MB / 0.5139 GB, free: 12.52 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/0.2976, allocations: 0 / 0.5139 GB, free: 12.52 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001597/0.2977, allocations: 75.88 kB / 0.514 GB, free: 12.44 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/0.2977, allocations: 4 kB / 0.514 GB, free: 12.44 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.652e-05/0.2978, allocations: 11.98 kB / 0.514 GB, free: 12.43 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.2978, allocations: 0 / 0.514 GB, free: 12.43 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.2978, allocations: 0 / 0.514 GB, free: 12.43 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009418/0.2987, allocations: 1.15 MB / 0.5151 GB, free: 11.26 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.942e-05/0.2988, allocations: 87.2 kB / 0.5152 GB, free: 11.17 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.06e-05/0.2988, allocations: 23.78 kB / 0.5152 GB, free: 11.15 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001342/0.299, allocations: 31.97 kB / 0.5152 GB, free: 11.12 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.077e-05/0.299, allocations: 35.88 kB / 0.5153 GB, free: 11.08 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.495e-05/0.299, allocations: 12 kB / 0.5153 GB, free: 11.07 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002408/0.2993, allocations: 327.1 kB / 0.5156 GB, free: 10.75 MB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2993, allocations: 4 kB / 0.5156 GB, free: 10.75 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004491/0.3038, allocations: 1.002 MB / 0.5166 GB, free: 9.742 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.008913/0.3127, allocations: 2.897 MB / 0.5194 GB, free: 6.816 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0009289/0.3136, allocations: 0.6184 MB / 0.52 GB, free: 6.199 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.3136, allocations: 0 / 0.52 GB, free: 6.199 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003953/0.314, allocations: 433.5 kB / 0.5204 GB, free: 5.773 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000795/0.3148, allocations: 219.6 kB / 0.5206 GB, free: 5.57 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007802/0.3226, allocations: 5.044 MB / 0.5256 GB, free: 380 kB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002382/0.3229, allocations: 366.2 kB / 0.5259 GB, free: 15.98 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0003802/0.3232, allocations: 282.2 kB / 0.5262 GB, free: 15.71 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002283/0.3235, allocations: 256.4 kB / 0.5264 GB, free: 15.46 MB / 442.7 MB Notification: Performance of SimCode: time 1.162e-06/0.3235, allocations: 0 / 0.5264 GB, free: 15.46 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06731/0.3908, allocations: 48.25 MB / 0.5735 GB, free: 15.48 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.462/8.853, allocations: 4.062 kB / 0.5735 GB, free: 15.48 MB / 490.7 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_Valves_TestValveLinear_fmu --startTime=0 --stopTime=3 --stepSize=0.000599281 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_Valves_TestValveLinear.fmu > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.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.214414039626718]