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.001811/0.001811, allocations: 112.5 kB / 20.43 MB, free: 1.453 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.002365/0.002365, allocations: 212.3 kB / 23.74 MB, free: 4.66 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.506/1.506, allocations: 230.5 MB / 257.4 MB, free: 7.977 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.2243/0.2243, allocations: 46.93 MB / 360.8 MB, free: 4.168 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: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestValveLinear",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestValveLinear",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002358/0.002358, allocations: 71.88 kB / 0.4962 GB, free: 7.758 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3315/0.3339, allocations: 66.08 MB / 0.5607 GB, free: 4.293 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear): time 0.03583/0.3697, allocations: 28.67 MB / 0.5887 GB, free: 7.52 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01841/0.3881, allocations: 13.39 MB / 0.6018 GB, free: 10.08 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004694/0.3886, allocations: 19.81 kB / 0.6018 GB, free: 10.06 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009018/0.3895, allocations: 250.4 kB / 0.6021 GB, free: 9.816 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01169/0.4012, allocations: 3.675 MB / 0.6057 GB, free: 6.145 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007209/0.4084, allocations: 2.397 MB / 0.608 GB, free: 3.75 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001455/0.4098, allocations: 0.9158 MB / 0.6089 GB, free: 2.832 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004985/0.4103, allocations: 212.9 kB / 0.6091 GB, free: 2.617 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001039/0.4114, allocations: 462.2 kB / 0.6095 GB, free: 2.164 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005458/0.4119, allocations: 274.9 kB / 0.6098 GB, free: 1.895 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.785e-05/0.412, allocations: 36 kB / 0.6098 GB, free: 1.859 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01514/0.4272, allocations: 7.27 MB / 0.6169 GB, free: 10.58 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002431/0.4274, allocations: 103.7 kB / 0.617 GB, free: 10.48 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004319/0.4278, allocations: 222.9 kB / 0.6172 GB, free: 10.26 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01193/0.4398, allocations: 4.427 MB / 0.6216 GB, free: 5.82 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.151e-06/0.4398, allocations: 0 / 0.6216 GB, free: 5.82 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.4398, allocations: 0 / 0.6216 GB, free: 5.82 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.787e-05/0.4398, allocations: 4 kB / 0.6216 GB, free: 5.816 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.004304/0.4441, allocations: 1.207 MB / 0.6227 GB, free: 4.574 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001161/0.4442, allocations: 12.02 kB / 0.6228 GB, free: 4.562 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001165/0.4443, allocations: 66.73 kB / 0.6228 GB, free: 4.488 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001868/0.4462, allocations: 212.5 kB / 0.623 GB, free: 4.281 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000786/0.447, allocations: 313.2 kB / 0.6233 GB, free: 3.945 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.761e-05/0.447, allocations: 29.03 kB / 0.6234 GB, free: 3.918 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.924e-05/0.4471, allocations: 36.12 kB / 0.6234 GB, free: 3.883 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001718/0.4488, allocations: 0.5824 MB / 0.624 GB, free: 3.262 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.711e-05/0.4488, allocations: 7.875 kB / 0.624 GB, free: 3.254 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.575e-05/0.4489, allocations: 16 kB / 0.624 GB, free: 3.238 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.33e-05/0.4489, allocations: 8 kB / 0.624 GB, free: 3.23 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001735/0.4506, allocations: 0.5449 MB / 0.6245 GB, free: 2.684 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.003667/0.4543, allocations: 2.531 MB / 0.627 GB, free: 15.94 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001682/0.456, allocations: 446.1 kB / 0.6274 GB, free: 15.49 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004982/0.4565, allocations: 188.7 kB / 0.6276 GB, free: 15.3 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04829/0.5048, allocations: 13.15 MB / 0.6404 GB, free: 2.137 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.954e-05/0.5048, allocations: 34.5 kB / 0.6405 GB, free: 2.094 MB / 478.1 MB Notification: Performance of pre-optimization done (n=25): time 2.094e-06/0.5048, allocations: 0 / 0.6405 GB, free: 2.094 MB / 478.1 MB Notification: Performance of matching and sorting (n=25): time 0.003/0.5078, allocations: 0.8247 MB / 0.6413 GB, free: 1.262 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.792e-05/0.5079, allocations: 110.8 kB / 0.6414 GB, free: 1.129 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003933/0.5083, allocations: 316.4 kB / 0.6417 GB, free: 0.8164 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.63e-05/0.5083, allocations: 29.7 kB / 0.6417 GB, free: 0.7812 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001808/0.5085, allocations: 212.5 kB / 0.6419 GB, free: 0.5703 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.511e-05/0.5086, allocations: 87.22 kB / 0.642 GB, free: 496 kB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000122/0.5087, allocations: 65.69 kB / 0.6421 GB, free: 424 kB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002053/0.5089, allocations: 346.8 kB / 0.6424 GB, free: 68 kB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004517/0.5094, allocations: 147.9 kB / 0.6425 GB, free: 15.92 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005272/0.5099, allocations: 247.7 kB / 0.6428 GB, free: 15.64 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009331/0.5108, allocations: 381.1 kB / 0.6431 GB, free: 15.23 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.5108, allocations: 0 / 0.6431 GB, free: 15.23 MB / 494.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001126/0.512, allocations: 445.8 kB / 0.6436 GB, free: 14.79 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.134e-05/0.512, allocations: 8 kB / 0.6436 GB, free: 14.79 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.388e-06/0.512, allocations: 4 kB / 0.6436 GB, free: 14.78 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.146e-05/0.512, allocations: 12.25 kB / 0.6436 GB, free: 14.77 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003644/0.5124, allocations: 87.86 kB / 0.6437 GB, free: 14.68 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.13e-05/0.5124, allocations: 4 kB / 0.6437 GB, free: 14.68 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002867/0.5127, allocations: 47.75 kB / 0.6437 GB, free: 14.63 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.025e-05/0.5127, allocations: 16 kB / 0.6437 GB, free: 14.62 MB / 494.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.0002117/0.5129, allocations: 165.9 kB / 0.6439 GB, free: 14.45 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.462e-05/0.513, allocations: 35.77 kB / 0.6439 GB, free: 14.41 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002773/0.5158, allocations: 1.999 MB / 0.6459 GB, free: 12.39 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.384e-05/0.5158, allocations: 31.94 kB / 0.6459 GB, free: 12.36 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.5158, allocations: 0 / 0.6459 GB, free: 12.36 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.5158, allocations: 0 / 0.6459 GB, free: 12.36 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001175/0.517, allocations: 1.015 MB / 0.6469 GB, free: 11.3 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/0.517, allocations: 0 / 0.6469 GB, free: 11.3 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000344/0.5174, allocations: 83.86 kB / 0.647 GB, free: 11.22 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.059e-06/0.5174, allocations: 0 / 0.647 GB, free: 11.22 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.308e-05/0.5174, allocations: 11.94 kB / 0.647 GB, free: 11.21 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.015e-06/0.5174, allocations: 0 / 0.647 GB, free: 11.21 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.5174, allocations: 0 / 0.647 GB, free: 11.21 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001723/0.5191, allocations: 1.132 MB / 0.6481 GB, free: 10.06 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001186/0.5192, allocations: 87.17 kB / 0.6482 GB, free: 9.973 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.578e-05/0.5193, allocations: 35.72 kB / 0.6482 GB, free: 9.938 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000274/0.5196, allocations: 35.95 kB / 0.6482 GB, free: 9.902 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.906e-05/0.5197, allocations: 35.88 kB / 0.6483 GB, free: 9.867 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.719e-05/0.5197, allocations: 12 kB / 0.6483 GB, free: 9.855 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003964/0.5201, allocations: 327.1 kB / 0.6486 GB, free: 9.535 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5201, allocations: 0 / 0.6486 GB, free: 9.535 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002694/0.5228, allocations: 1.006 MB / 0.6496 GB, free: 8.527 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.006381/0.5292, allocations: 2.737 MB / 0.6523 GB, free: 5.762 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001407/0.5306, allocations: 0.6178 MB / 0.6529 GB, free: 5.141 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.5306, allocations: 0 / 0.6529 GB, free: 5.141 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006903/0.5313, allocations: 429.6 kB / 0.6533 GB, free: 4.719 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001161/0.5324, allocations: 219.7 kB / 0.6535 GB, free: 4.512 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008965/0.5414, allocations: 5.073 MB / 0.6584 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006737/0.5421, allocations: 0.9638 MB / 0.6594 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0005462/0.5426, allocations: 273.9 kB / 0.6596 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003796/0.543, allocations: 259.3 kB / 0.6599 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of SimCode: time 1.182e-06/0.543, allocations: 3.938 kB / 0.6599 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1017/0.6447, allocations: 47.79 MB / 0.7066 GB, free: 14.09 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.63/15.28, allocations: 0 / 0.7066 GB, free: 14.09 MB / 0.545 GB " [Timeout remaining time 645] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestValveLinear_fmu --startTime=0 --stopTime=3 --stepSize=0.000599281 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestValveLinear.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Valves/TestValveLinear/TestValveLinear.csv","/var/lib/jenkins1/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: 18.90579211199656]