Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001211/0.001211, allocations: 177 kB / 17.06 MB, free: 5.098 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.453/1.453, allocations: 223.2 MB / 241 MB, free: 10.13 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008954/0.0008951, allocations: 87.27 kB / 292.1 MB, free: 10.67 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.4218/0.4218, allocations: 44.22 MB / 387.5 MB, free: 38.44 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003699/0.0003699, allocations: 12 kB / 459.9 MB, free: 1.504 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4292/0.4296, allocations: 61.9 MB / 0.5096 GB, free: 37.77 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7909/1.221, allocations: 352.2 MB / 0.8536 GB, free: 10.27 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003203/1.221, allocations: 91.58 kB / 0.8536 GB, free: 10.22 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.517/2.738, allocations: 312.3 MB / 1.159 GB, free: 82.12 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.365e-06/2.738, allocations: 0 / 1.159 GB, free: 82.12 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0002826/2.738, allocations: 47.66 kB / 1.159 GB, free: 82.11 MB / 0.5261 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.009767/2.748, allocations: 2.291 MB / 1.161 GB, free: 80.95 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 6.316e-05/2.748, allocations: 13.95 kB / 1.161 GB, free: 80.94 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001792/2.75, allocations: 205.2 kB / 1.161 GB, free: 80.85 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004603/2.754, allocations: 1.283 MB / 1.162 GB, free: 80.47 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002342/2.755, allocations: 194.6 kB / 1.163 GB, free: 80.37 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007513/2.755, allocations: 114.4 kB / 1.163 GB, free: 80.37 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005131/2.76, allocations: 1.954 MB / 1.165 GB, free: 80.14 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.939e-05/2.761, allocations: 3.781 kB / 1.165 GB, free: 80.14 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004135/2.761, allocations: 51.22 kB / 1.165 GB, free: 80.14 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001823/2.761, allocations: 122.2 kB / 1.165 GB, free: 80.13 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003817/2.765, allocations: 1.945 MB / 1.167 GB, free: 80.12 MB / 0.5261 GB 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.01518/2.78, allocations: 6.998 MB / 1.173 GB, free: 77.84 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002338/2.783, allocations: 1.357 MB / 1.175 GB, free: 77.8 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006902/2.789, allocations: 4.431 MB / 1.179 GB, free: 75.44 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.996e-05/2.79, allocations: 52.53 kB / 1.179 GB, free: 75.4 MB / 0.5261 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001255/2.791, allocations: 215 kB / 1.179 GB, free: 75.33 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=117): time 1.05e-05/2.791, allocations: 0 / 1.179 GB, free: 75.33 MB / 0.5261 GB Notification: Performance of matching and sorting (n=132): time 0.01965/2.811, allocations: 6.403 MB / 1.186 GB, free: 74.61 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001004/2.811, allocations: 218.6 kB / 1.186 GB, free: 74.36 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002608/2.813, allocations: 1.203 MB / 1.187 GB, free: 74.2 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.00023/2.814, allocations: 51.98 kB / 1.187 GB, free: 74.17 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006342/2.814, allocations: 0.6582 MB / 1.188 GB, free: 73.93 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.000465/2.815, allocations: 457.5 kB / 1.188 GB, free: 73.64 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001552/2.815, allocations: 28.09 kB / 1.188 GB, free: 73.64 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001642/2.815, allocations: 366.6 kB / 1.189 GB, free: 73.34 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001355/2.816, allocations: 0.7629 MB / 1.189 GB, free: 73.33 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001575/2.818, allocations: 1.087 MB / 1.19 GB, free: 73 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001686/2.82, allocations: 0.891 MB / 1.191 GB, free: 72.98 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.327e-05/2.82, allocations: 0 / 1.191 GB, free: 72.98 MB / 0.5261 GB Notification: Performance of matching and sorting (n=199) (initialization): time 0.005085/2.825, allocations: 2.442 MB / 1.194 GB, free: 72.74 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007942/2.826, allocations: 3.023 MB / 1.197 GB, free: 69.61 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.54e-05/2.826, allocations: 7.281 kB / 1.197 GB, free: 69.61 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007673/2.833, allocations: 1.491 MB / 1.198 GB, free: 69.43 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001768/2.835, allocations: 329.9 kB / 1.198 GB, free: 69.42 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003022/2.838, allocations: 1.698 MB / 1.2 GB, free: 68.47 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002426/2.841, allocations: 111.2 kB / 1.2 GB, free: 68.43 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004865/2.841, allocations: 73.69 kB / 1.2 GB, free: 68.42 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/2.841, allocations: 7.266 kB / 1.2 GB, free: 68.42 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004806/2.846, allocations: 2.13 MB / 1.202 GB, free: 67.67 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.646e-05/2.846, allocations: 11.75 kB / 1.202 GB, free: 67.67 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005404/2.852, allocations: 1.04 MB / 1.203 GB, free: 67.54 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001798/2.853, allocations: 341.1 kB / 1.204 GB, free: 67.52 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002243/2.856, allocations: 1.426 MB / 1.205 GB, free: 66.69 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00222/2.858, allocations: 104.4 kB / 1.205 GB, free: 66.66 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004722/2.858, allocations: 75.44 kB / 1.205 GB, free: 66.64 MB / 0.5261 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 () * Number of clocked 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.001591/2.86, allocations: 490.2 kB / 1.206 GB, free: 66.32 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007053/2.861, allocations: 169.4 kB / 1.206 GB, free: 66.23 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00585/2.867, allocations: 2.532 MB / 1.208 GB, free: 65.3 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-05/2.867, allocations: 18.53 kB / 1.208 GB, free: 65.3 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.145e-05/2.867, allocations: 0 / 1.208 GB, free: 65.3 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.13e-05/2.867, allocations: 7.594 kB / 1.208 GB, free: 65.3 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007911/2.875, allocations: 4.077 MB / 1.212 GB, free: 63.62 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.207e-05/2.875, allocations: 0 / 1.212 GB, free: 63.62 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001153/2.876, allocations: 236 kB / 1.213 GB, free: 63.61 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004799/2.881, allocations: 1.246 MB / 1.214 GB, free: 63.42 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002758/2.881, allocations: 44.91 kB / 1.214 GB, free: 63.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002451/2.883, allocations: 1.756 MB / 1.215 GB, free: 62.41 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/2.883, allocations: 3.688 kB / 1.215 GB, free: 62.41 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005753/2.889, allocations: 3.363 MB / 1.219 GB, free: 61 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001625/2.891, allocations: 454 kB / 1.219 GB, free: 60.72 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007099/2.892, allocations: 31.62 kB / 1.219 GB, free: 60.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0018/2.893, allocations: 103.5 kB / 1.219 GB, free: 60.67 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002658/2.894, allocations: 121 kB / 1.219 GB, free: 60.65 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002174/2.894, allocations: 54.72 kB / 1.22 GB, free: 60.64 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002299/2.896, allocations: 0.9211 MB / 1.22 GB, free: 60.28 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4e-07/2.896, allocations: 0 / 1.22 GB, free: 60.28 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.007512/2.904, allocations: 1.429 MB / 1.222 GB, free: 59.93 MB / 0.5261 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 () * Number of clocked 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.004739/2.909, allocations: 1.229 MB / 1.223 GB, free: 59.53 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.007946/2.917, allocations: 3.134 MB / 1.226 GB, free: 58.5 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.053e-05/2.917, allocations: 3.375 kB / 1.226 GB, free: 58.5 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002446/2.919, allocations: 1.033 MB / 1.227 GB, free: 58.16 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004211/2.923, allocations: 0.6838 MB / 1.228 GB, free: 58.02 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008662/2.932, allocations: 4.108 MB / 1.232 GB, free: 56.11 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00136/2.933, allocations: 1.419 MB / 1.233 GB, free: 55.32 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.003385/2.937, allocations: 0.6145 MB / 1.234 GB, free: 55.18 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006733/2.938, allocations: 145.7 kB / 1.234 GB, free: 55.06 MB / 0.5261 GB Notification: Performance of SimCode: time 1.593e-06/2.938, allocations: 4 kB / 1.234 GB, free: 55.05 MB / 0.5261 GB Notification: Performance of Templates: time 0.07779/3.015, allocations: 47.22 MB / 1.28 GB, free: 15.89 MB / 0.5261 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Valves/TestDelayedValve/TestDelayedValve.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches