Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001011/0.001011, allocations: 80.48 kB / 19.92 MB, free: 4.633 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.0008744/0.0008744, allocations: 169.9 kB / 23.21 MB, free: 1.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9096/0.9096, allocations: 158.6 MB / 185 MB, free: 3.039 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1368/0.1368, allocations: 32.37 MB / 269.6 MB, free: 14.98 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_ModelicaTest_Fluid_TestComponents_Valves_TestValveLinear",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Valves_TestValveLinear",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.874e-06/1.874e-06, allocations: 0 / 406.8 MB, free: 2.246 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.96e-05/2.147e-05, allocations: 5.938 kB / 406.8 MB, free: 2.242 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear): time 0.01914/0.01916, allocations: 25.64 MB / 432.5 MB, free: 8.504 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.01056/0.02972, allocations: 11.78 MB / 444.3 MB, free: 12.68 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000424/0.03015, allocations: 19.81 kB / 444.3 MB, free: 12.66 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006612/0.03081, allocations: 222.4 kB / 444.5 MB, free: 12.45 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007539/0.03835, allocations: 3.689 MB / 448.2 MB, free: 8.742 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005013/0.04336, allocations: 2.387 MB / 450.6 MB, free: 6.344 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001096/0.04446, allocations: 0.9079 MB / 451.5 MB, free: 5.434 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002998/0.04476, allocations: 212.9 kB / 451.7 MB, free: 5.223 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006751/0.04543, allocations: 0.5374 MB / 452.2 MB, free: 4.684 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003255/0.04576, allocations: 243.3 kB / 452.5 MB, free: 4.445 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 4.021e-05/0.0458, allocations: 36 kB / 452.5 MB, free: 4.41 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009326/0.05512, allocations: 6.906 MB / 459.4 MB, free: 13.5 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000167/0.05529, allocations: 107.6 kB / 459.5 MB, free: 13.39 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002115/0.0555, allocations: 159.7 kB / 459.7 MB, free: 13.23 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009579/0.06508, allocations: 5.535 MB / 465.2 MB, free: 7.688 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.201e-06/0.06509, allocations: 4 kB / 465.2 MB, free: 7.684 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.06509, allocations: 0 / 465.2 MB, free: 7.684 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.06509, allocations: 0 / 465.2 MB, free: 7.684 MB / 442.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.002483/0.06758, allocations: 1.188 MB / 466.4 MB, free: 6.457 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.9e-05/0.06763, allocations: 12.03 kB / 466.4 MB, free: 6.445 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.752e-05/0.06769, allocations: 70.72 kB / 466.5 MB, free: 6.367 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009424/0.06864, allocations: 208.5 kB / 466.7 MB, free: 6.16 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004843/0.06912, allocations: 320.5 kB / 467 MB, free: 5.82 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.633e-05/0.06915, allocations: 25.03 kB / 467 MB, free: 5.797 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.021e-05/0.06918, allocations: 28.38 kB / 467 MB, free: 5.77 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009284/0.07011, allocations: 0.7414 MB / 467.8 MB, free: 4.953 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.07012, allocations: 3.938 kB / 467.8 MB, free: 4.949 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.698e-05/0.07014, allocations: 12 kB / 467.8 MB, free: 4.938 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.765e-06/0.07015, allocations: 8 kB / 467.8 MB, free: 4.93 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008359/0.07099, allocations: 0.5488 MB / 468.4 MB, free: 4.379 MB / 442.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.001784/0.07277, allocations: 1.899 MB / 470.3 MB, free: 2.398 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001012/0.07378, allocations: 450.1 kB / 470.7 MB, free: 1.949 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002491/0.07403, allocations: 197.3 kB / 470.9 MB, free: 1.754 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1799/0.2539, allocations: 12.7 MB / 483.6 MB, free: 100.6 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.8e-05/0.2539, allocations: 37.5 kB / 483.6 MB, free: 100.5 MB / 442.7 MB Notification: Performance of pre-optimization done (n=25): time 2.615e-06/0.2539, allocations: 0 / 483.6 MB, free: 100.5 MB / 442.7 MB Notification: Performance of matching and sorting (n=25): time 0.001576/0.2555, allocations: 0.8267 MB / 484.5 MB, free: 100.3 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.729e-05/0.2555, allocations: 107 kB / 484.6 MB, free: 100.2 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002302/0.2558, allocations: 316.9 kB / 484.9 MB, free: 100.1 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.291e-05/0.2558, allocations: 32.73 kB / 484.9 MB, free: 100 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.367e-05/0.2559, allocations: 208.5 kB / 485.1 MB, free: 99.88 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.804e-05/0.2559, allocations: 85.73 kB / 485.2 MB, free: 99.83 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.852e-05/0.256, allocations: 70.25 kB / 485.3 MB, free: 99.79 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 4.723e-05/0.256, allocations: 343.1 kB / 485.6 MB, free: 99.46 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002108/0.2562, allocations: 149.9 kB / 485.7 MB, free: 99.42 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002395/0.2565, allocations: 299.2 kB / 486 MB, free: 99.21 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004193/0.2569, allocations: 380.9 kB / 486.4 MB, free: 99.02 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.2569, allocations: 0 / 486.4 MB, free: 99.02 MB / 442.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005504/0.2575, allocations: 441.9 kB / 486.8 MB, free: 98.86 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.11e-05/0.2575, allocations: 6.344 kB / 486.8 MB, free: 98.86 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.337e-06/0.2575, allocations: 6.516 kB / 486.8 MB, free: 98.86 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.797e-05/0.2575, allocations: 3.312 kB / 486.8 MB, free: 98.86 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001836/0.2577, allocations: 94.47 kB / 486.9 MB, free: 98.84 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/0.2577, allocations: 8.906 kB / 486.9 MB, free: 98.84 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001575/0.2579, allocations: 53.66 kB / 487 MB, free: 98.82 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.907e-05/0.2579, allocations: 17.06 kB / 487 MB, free: 98.82 MB / 442.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.0001303/0.258, allocations: 161.9 kB / 487.2 MB, free: 98.68 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.663e-05/0.2581, allocations: 36.61 kB / 487.2 MB, free: 98.66 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001325/0.2594, allocations: 2.004 MB / 489.2 MB, free: 97.81 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.811e-05/0.2594, allocations: 31.03 kB / 489.2 MB, free: 97.8 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.239e-06/0.2594, allocations: 0 / 489.2 MB, free: 97.8 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.2594, allocations: 0 / 489.2 MB, free: 97.8 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005631/0.26, allocations: 0.9625 MB / 490.2 MB, free: 97.29 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.548e-06/0.26, allocations: 0 / 490.2 MB, free: 97.29 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001521/0.2601, allocations: 77.52 kB / 490.3 MB, free: 97.29 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.2601, allocations: 2.938 kB / 490.3 MB, free: 97.29 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.38e-05/0.2601, allocations: 11.16 kB / 490.3 MB, free: 97.28 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.2601, allocations: 0 / 490.3 MB, free: 97.28 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.2601, allocations: 3.125 kB / 490.3 MB, free: 97.28 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008067/0.261, allocations: 1.15 MB / 491.5 MB, free: 96.73 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.195e-05/0.261, allocations: 83.81 kB / 491.5 MB, free: 96.7 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.212e-05/0.2611, allocations: 22.38 kB / 491.6 MB, free: 96.68 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00014/0.2612, allocations: 33.94 kB / 491.6 MB, free: 96.68 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.108e-05/0.2613, allocations: 37.89 kB / 491.6 MB, free: 96.67 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.579e-05/0.2613, allocations: 10.19 kB / 491.6 MB, free: 96.66 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002031/0.2615, allocations: 331.8 kB / 492 MB, free: 96.51 MB / 442.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2615, allocations: 3.188 kB / 492 MB, free: 96.51 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00198/0.2635, allocations: 1.003 MB / 493 MB, free: 96.38 MB / 442.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.004759/0.2682, allocations: 2.885 MB / 495.8 MB, free: 95.13 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0009589/0.2692, allocations: 0.6137 MB / 496.5 MB, free: 94.93 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.2692, allocations: 1.344 kB / 496.5 MB, free: 94.93 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003769/0.2696, allocations: 427.5 kB / 496.9 MB, free: 94.78 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007118/0.2703, allocations: 224 kB / 497.1 MB, free: 94.73 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00576/0.276, allocations: 5.051 MB / 0.4904 GB, free: 91.98 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002567/0.2763, allocations: 370.3 kB / 0.4907 GB, free: 91.87 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0004316/0.2767, allocations: 274.6 kB / 0.491 GB, free: 91.86 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001962/0.2769, allocations: 263.5 kB / 0.4912 GB, free: 91.66 MB / 442.7 MB Notification: Performance of SimCode: time 1.563e-06/0.2769, allocations: 0 / 0.4912 GB, free: 91.66 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05311/0.33, allocations: 48.21 MB / 0.5383 GB, free: 51.9 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.222/8.552, allocations: 11.89 kB / 0.5383 GB, free: 51.89 MB / 442.7 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Valves_TestValveLinear_fmu --startTime=0 --stopTime=3 --stepSize=0.000599281 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Valves_TestValveLinear.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Valves/TestValveLinear/TestValveLinear.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 10.947345433756709]