Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tank1.level|tank1.medium.T|tank2.level|tank2.medium.T|tank3.level|tank3.medium.T|valveDelayed.filter.x.1.|valveDelayed.filter.x.2.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve") translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tank1.level|tank1.medium.T|tank2.level|tank2.medium.T|tank3.level|tank3.medium.T|valveDelayed.filter.x.1.|valveDelayed.filter.x.2.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002141/0.002141, allocations: 182.1 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.087/2.087, allocations: 205.2 MB / 219.4 MB, free: 14.29 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001066/0.001065, allocations: 86.7 kB / 267.5 MB, free: 14.11 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2708/0.2708, allocations: 43.49 MB / 359.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.926e-05/2.936e-05, allocations: 4 kB / 425.3 MB, free: 23.38 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1167/0.1168, allocations: 58.85 MB / 484.1 MB, free: 12.47 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.158/1.275, allocations: 351.4 MB / 0.816 GB, free: 73.61 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003086/1.275, allocations: 79.83 kB / 0.8161 GB, free: 73.57 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.748/3.023, allocations: 305.8 MB / 1.115 GB, free: 68.47 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.457e-06/3.023, allocations: 0.75 kB / 1.115 GB, free: 68.47 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001884/3.023, allocations: 49.83 kB / 1.115 GB, free: 68.47 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 291 * Number of variables: 291 Notification: Performance of Generate backend data structure: time 0.008177/3.031, allocations: 2.061 MB / 1.117 GB, free: 67.59 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.74e-05/3.032, allocations: 11.75 kB / 1.117 GB, free: 67.59 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001069/3.033, allocations: 198.9 kB / 1.117 GB, free: 67.5 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004208/3.037, allocations: 1.265 MB / 1.118 GB, free: 67.18 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000181/3.037, allocations: 191 kB / 1.118 GB, free: 67.08 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003343/3.037, allocations: 119.1 kB / 1.119 GB, free: 67.08 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004455/3.042, allocations: 1.922 MB / 1.12 GB, free: 66.84 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.234e-05/3.042, allocations: 2.906 kB / 1.12 GB, free: 66.84 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002469/3.042, allocations: 51.02 kB / 1.12 GB, free: 66.84 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002408/3.042, allocations: 119.5 kB / 1.121 GB, free: 66.84 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004481/3.047, allocations: 1.893 MB / 1.122 GB, free: 66.82 MB / 0.4948 GB Warning: The model contains alias variables with conflicting start and/or 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.01802/3.065, allocations: 6.998 MB / 1.129 GB, free: 64.57 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002819/3.068, allocations: 1.308 MB / 1.131 GB, free: 64.54 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001703/3.07, allocations: 0.777 MB / 1.131 GB, free: 64.53 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008851/3.078, allocations: 4.501 MB / 1.136 GB, free: 62.16 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.9e-05/3.079, allocations: 54.53 kB / 1.136 GB, free: 62.12 MB / 0.4948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001471/3.08, allocations: 217.5 kB / 1.136 GB, free: 62.06 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=117): time 4.759e-06/3.08, allocations: 0 / 1.136 GB, free: 62.06 MB / 0.4948 GB Notification: Performance of matching and sorting (n=132): time 0.01403/3.094, allocations: 4.366 MB / 1.14 GB, free: 61.45 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.48e-05/3.094, allocations: 229.4 kB / 1.14 GB, free: 61.2 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00231/3.097, allocations: 1.185 MB / 1.142 GB, free: 61.02 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003211/3.097, allocations: 53.08 kB / 1.142 GB, free: 60.99 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004599/3.097, allocations: 0.6162 MB / 1.142 GB, free: 60.68 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000484/3.098, allocations: 460.2 kB / 1.143 GB, free: 60.4 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000165/3.098, allocations: 31.84 kB / 1.143 GB, free: 60.4 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001206/3.098, allocations: 373.8 kB / 1.143 GB, free: 60.09 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001852/3.1, allocations: 0.7305 MB / 1.144 GB, free: 60.08 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001996/3.102, allocations: 1.064 MB / 1.145 GB, free: 59.75 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002006/3.104, allocations: 0.8576 MB / 1.146 GB, free: 59.73 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.165e-06/3.104, allocations: 3.625 kB / 1.146 GB, free: 59.73 MB / 0.4948 GB Notification: Performance of matching and sorting (n=199) (initialization): time 0.005781/3.11, allocations: 2.289 MB / 1.148 GB, free: 59.62 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006044/3.111, allocations: 2.975 MB / 1.151 GB, free: 56.54 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.863e-05/3.111, allocations: 11.5 kB / 1.151 GB, free: 56.54 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01307/3.124, allocations: 1.47 MB / 1.152 GB, free: 56.52 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002715/3.126, allocations: 325.6 kB / 1.153 GB, free: 56.52 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004023/3.13, allocations: 1.699 MB / 1.154 GB, free: 55.98 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002744/3.133, allocations: 100.2 kB / 1.154 GB, free: 55.96 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002524/3.134, allocations: 79.8 kB / 1.154 GB, free: 55.96 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/3.134, allocations: 8.125 kB / 1.154 GB, free: 55.96 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005323/3.139, allocations: 2.078 MB / 1.156 GB, free: 55.93 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.243e-05/3.139, allocations: 14.03 kB / 1.156 GB, free: 55.93 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009557/3.149, allocations: 1.011 MB / 1.157 GB, free: 55.91 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002839/3.151, allocations: 344.5 kB / 1.158 GB, free: 55.91 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002955/3.154, allocations: 1.384 MB / 1.159 GB, free: 55.38 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002036/3.156, allocations: 106.3 kB / 1.159 GB, free: 55.37 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002336/3.157, allocations: 78.8 kB / 1.159 GB, free: 55.37 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 6 (tank1.regularFlow[1],tank1.inFlow[1],tank2.regularFlow[1],tank2.inFlow[1],tank3.regularFlow[1],tank3.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (165): * Single equations (assignments): 162 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {10 23} Notification: Performance of prepare postOptimizeDAE: time 0.0005776/3.157, allocations: 192 kB / 1.159 GB, free: 55.26 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005365/3.158, allocations: 166.6 kB / 1.16 GB, free: 55.18 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007081/3.165, allocations: 2.46 MB / 1.162 GB, free: 55.05 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-05/3.165, allocations: 18.73 kB / 1.162 GB, free: 55.05 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.877e-06/3.165, allocations: 3.656 kB / 1.162 GB, free: 55.05 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.166e-05/3.165, allocations: 9.453 kB / 1.162 GB, free: 55.05 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009394/3.174, allocations: 4.021 MB / 1.166 GB, free: 54.66 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.008e-05/3.174, allocations: 0 / 1.166 GB, free: 54.66 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002042/3.177, allocations: 233.9 kB / 1.166 GB, free: 54.66 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007852/3.184, allocations: 1.218 MB / 1.167 GB, free: 54.65 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002848/3.185, allocations: 51.3 kB / 1.167 GB, free: 54.64 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003521/3.188, allocations: 1.751 MB / 1.169 GB, free: 54.09 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/3.188, allocations: 0 / 1.169 GB, free: 54.09 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007555/3.196, allocations: 3.275 MB / 1.172 GB, free: 53.81 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001384/3.197, allocations: 453.3 kB / 1.173 GB, free: 53.62 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003784/3.198, allocations: 31.52 kB / 1.173 GB, free: 53.62 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002143/3.2, allocations: 110.8 kB / 1.173 GB, free: 53.61 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003344/3.2, allocations: 111.4 kB / 1.173 GB, free: 53.61 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002084/3.2, allocations: 67.83 kB / 1.173 GB, free: 53.61 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.00172/3.202, allocations: 0.9011 MB / 1.174 GB, free: 53.49 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4.91e-07/3.202, allocations: 2.719 kB / 1.174 GB, free: 53.49 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.005191/3.207, allocations: 1.426 MB / 1.175 GB, free: 53.26 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (tank1.medium.T,tank1.level,tank2.medium.T,tank2.level,tank3.medium.T,tank3.level,valveDelayed.filter.x[1],valveDelayed.filter.x[2]) * Number of discrete variables: 6 (tank1.regularFlow[1],tank1.inFlow[1],tank2.regularFlow[1],tank2.inFlow[1],tank3.regularFlow[1],tank3.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (116): * Single equations (assignments): 113 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {10 38} Notification: Performance of Backend phase and start with SimCode phase: time 0.003869/3.211, allocations: 1.234 MB / 1.177 GB, free: 52.91 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.009803/3.221, allocations: 3.038 MB / 1.18 GB, free: 52.49 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.325e-06/3.221, allocations: 0 / 1.18 GB, free: 52.49 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.003138/3.224, allocations: 0.9908 MB / 1.18 GB, free: 52.18 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005476/3.23, allocations: 0.6898 MB / 1.181 GB, free: 52.03 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008261/3.238, allocations: 2.884 MB / 1.184 GB, free: 51 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009998/3.239, allocations: 1.409 MB / 1.185 GB, free: 50.24 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009899/3.24, allocations: 162.8 kB / 1.185 GB, free: 50.23 MB / 0.4948 GB Notification: Performance of SimCode: time 1.363e-06/3.24, allocations: 2.906 kB / 1.185 GB, free: 50.23 MB / 0.4948 GB Notification: Performance of Templates: time 0.08476/3.325, allocations: 41.27 MB / 1.226 GB, free: 38.48 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Valves/TestDelayedValve/TestDelayedValve.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches