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.001324/0.001324, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 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.001524/0.001524, allocations: 215.8 kB / 23.73 MB, free: 4.156 MB / 14.72 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 1.451/1.451, allocations: 230.6 MB / 257.5 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] 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.2375/0.2375, allocations: 46.96 MB / 360.9 MB, free: 4.039 MB / 286.1 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 0.002159/0.002159, allocations: 75.88 kB / 0.4961 GB, free: 7.723 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3316/0.3338, allocations: 66.04 MB / 0.5606 GB, free: 4.23 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear): time 0.03228/0.3661, allocations: 25.91 MB / 0.5859 GB, free: 10.23 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01728/0.3834, allocations: 11.77 MB / 0.5974 GB, free: 14.41 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004372/0.3838, allocations: 19.81 kB / 0.5974 GB, free: 14.39 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007986/0.3846, allocations: 238.4 kB / 0.5976 GB, free: 14.16 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01011/0.3947, allocations: 3.641 MB / 0.6012 GB, free: 10.52 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007239/0.4019, allocations: 2.356 MB / 0.6035 GB, free: 8.168 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001338/0.4033, allocations: 0.9041 MB / 0.6044 GB, free: 7.262 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000414/0.4037, allocations: 216.8 kB / 0.6046 GB, free: 7.043 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008577/0.4046, allocations: 450.2 kB / 0.605 GB, free: 6.602 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003989/0.405, allocations: 266.8 kB / 0.6053 GB, free: 6.34 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.241e-05/0.405, allocations: 32 kB / 0.6053 GB, free: 6.309 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01378/0.4188, allocations: 6.903 MB / 0.612 GB, free: 15.4 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001977/0.419, allocations: 95.67 kB / 0.6121 GB, free: 15.3 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002887/0.4193, allocations: 191.2 kB / 0.6123 GB, free: 15.12 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00998/0.4293, allocations: 4.423 MB / 0.6166 GB, free: 10.68 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.4293, allocations: 0 / 0.6166 GB, free: 10.68 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.4293, allocations: 0 / 0.6166 GB, free: 10.68 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.029e-05/0.4293, allocations: 4 kB / 0.6166 GB, free: 10.68 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.003135/0.4324, allocations: 1.199 MB / 0.6178 GB, free: 9.441 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/0.4325, allocations: 12.03 kB / 0.6178 GB, free: 9.43 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.998e-05/0.4325, allocations: 66.72 kB / 0.6179 GB, free: 9.355 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001687/0.4342, allocations: 212.5 kB / 0.6181 GB, free: 9.148 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006105/0.4348, allocations: 313.2 kB / 0.6184 GB, free: 8.812 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.626e-05/0.4349, allocations: 29.03 kB / 0.6184 GB, free: 8.785 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.418e-05/0.4349, allocations: 32.12 kB / 0.6184 GB, free: 8.754 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001714/0.4366, allocations: 0.737 MB / 0.6192 GB, free: 7.941 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.536e-05/0.4367, allocations: 7.938 kB / 0.6192 GB, free: 7.934 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.816e-05/0.4367, allocations: 15.94 kB / 0.6192 GB, free: 7.918 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.532e-05/0.4367, allocations: 11.98 kB / 0.6192 GB, free: 7.906 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001716/0.4384, allocations: 0.5371 MB / 0.6197 GB, free: 7.367 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.003106/0.4415, allocations: 1.914 MB / 0.6216 GB, free: 5.371 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001653/0.4432, allocations: 446.2 kB / 0.622 GB, free: 4.926 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005002/0.4437, allocations: 192.6 kB / 0.6222 GB, free: 4.734 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04763/0.4913, allocations: 13.2 MB / 0.6351 GB, free: 7.516 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.45e-05/0.4914, allocations: 38.5 kB / 0.6351 GB, free: 7.469 MB / 478.1 MB Notification: Performance of pre-optimization done (n=25): time 2.294e-06/0.4914, allocations: 0 / 0.6351 GB, free: 7.469 MB / 478.1 MB Notification: Performance of matching and sorting (n=25): time 0.003064/0.4944, allocations: 0.8248 MB / 0.6359 GB, free: 6.637 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.26e-05/0.4945, allocations: 106.8 kB / 0.636 GB, free: 6.508 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003833/0.4949, allocations: 316.4 kB / 0.6363 GB, free: 6.195 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.614e-05/0.4949, allocations: 33.7 kB / 0.6364 GB, free: 6.156 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001738/0.4951, allocations: 204.5 kB / 0.6366 GB, free: 5.953 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.372e-05/0.4952, allocations: 87.25 kB / 0.6367 GB, free: 5.867 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001125/0.4953, allocations: 65.69 kB / 0.6367 GB, free: 5.797 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001712/0.4955, allocations: 346.8 kB / 0.637 GB, free: 5.449 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004457/0.4959, allocations: 151.9 kB / 0.6372 GB, free: 5.301 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00055/0.4965, allocations: 295.3 kB / 0.6375 GB, free: 4.961 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009282/0.4974, allocations: 377.9 kB / 0.6378 GB, free: 4.559 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.652e-06/0.4974, allocations: 3.984 kB / 0.6378 GB, free: 4.555 MB / 478.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001133/0.4985, allocations: 448.9 kB / 0.6383 GB, free: 4.109 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.4985, allocations: 7.938 kB / 0.6383 GB, free: 4.102 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.191e-05/0.4986, allocations: 7.984 kB / 0.6383 GB, free: 4.094 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.489e-05/0.4986, allocations: 7.938 kB / 0.6383 GB, free: 4.086 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003695/0.499, allocations: 88.19 kB / 0.6384 GB, free: 4 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.137e-05/0.499, allocations: 4 kB / 0.6384 GB, free: 3.996 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003002/0.4993, allocations: 55.73 kB / 0.6384 GB, free: 3.941 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.667e-05/0.4993, allocations: 12 kB / 0.6384 GB, free: 3.93 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.0002028/0.4995, allocations: 161.7 kB / 0.6386 GB, free: 3.762 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.574e-05/0.4996, allocations: 39.77 kB / 0.6386 GB, free: 3.723 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002769/0.5024, allocations: 2.003 MB / 0.6406 GB, free: 1.711 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.077e-05/0.5024, allocations: 27.95 kB / 0.6406 GB, free: 1.684 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.5024, allocations: 4 kB / 0.6406 GB, free: 1.68 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.296e-06/0.5024, allocations: 3.984 kB / 0.6406 GB, free: 1.676 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001113/0.5035, allocations: 0.9564 MB / 0.6416 GB, free: 0.6719 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.5035, allocations: 0 / 0.6416 GB, free: 0.6719 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003449/0.5039, allocations: 75.86 kB / 0.6416 GB, free: 0.5977 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.804e-06/0.5039, allocations: 8 kB / 0.6416 GB, free: 0.5898 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.341e-05/0.5039, allocations: 11.94 kB / 0.6416 GB, free: 0.5781 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.5039, allocations: 4 kB / 0.6417 GB, free: 0.5742 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.5039, allocations: 0 / 0.6417 GB, free: 0.5742 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001747/0.5056, allocations: 1.143 MB / 0.6428 GB, free: 15.41 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001265/0.5058, allocations: 83.16 kB / 0.6428 GB, free: 15.33 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.574e-05/0.5059, allocations: 31.72 kB / 0.6429 GB, free: 15.3 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002839/0.5061, allocations: 27.97 kB / 0.6429 GB, free: 15.27 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001065/0.5062, allocations: 39.92 kB / 0.6429 GB, free: 15.23 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.457e-05/0.5063, allocations: 8 kB / 0.6429 GB, free: 15.22 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004042/0.5067, allocations: 327.1 kB / 0.6433 GB, free: 14.91 MB / 494.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5067, allocations: 0 / 0.6433 GB, free: 14.91 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002797/0.5095, allocations: 1.014 MB / 0.6443 GB, free: 13.89 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.006663/0.5161, allocations: 2.741 MB / 0.6469 GB, free: 11.12 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001404/0.5175, allocations: 0.6103 MB / 0.6475 GB, free: 10.51 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/0.5175, allocations: 4 kB / 0.6475 GB, free: 10.51 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000736/0.5183, allocations: 437.5 kB / 0.6479 GB, free: 10.08 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001223/0.5195, allocations: 217.9 kB / 0.6482 GB, free: 9.871 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00913/0.5286, allocations: 5.062 MB / 0.6531 GB, free: 4.66 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004425/0.5291, allocations: 374.1 kB / 0.6535 GB, free: 4.266 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.000571/0.5296, allocations: 274.8 kB / 0.6537 GB, free: 4 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003627/0.53, allocations: 259.3 kB / 0.654 GB, free: 3.746 MB / 494.1 MB Notification: Performance of SimCode: time 1.232e-06/0.53, allocations: 0 / 0.654 GB, free: 3.746 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09973/0.6297, allocations: 48.05 MB / 0.7009 GB, free: 3.973 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.51/14.14, allocations: 3.984 kB / 0.7009 GB, free: 3.969 MB / 0.5294 GB " [Timeout remaining time 646] (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/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_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: 17.712496217805892]