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.002266/0.002266, allocations: 186.8 kB / 16.4 MB, free: 5.746 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.939/1.939, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.001155/0.001155, allocations: 97.98 kB / 270.9 MB, free: 8.367 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4989/0.4989, allocations: 43.55 MB / 362.7 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006988/0.0006991, allocations: 12 kB / 431.4 MB, free: 6.168 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1569/0.1577, allocations: 58.84 MB / 490.2 MB, free: 11.24 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.129/1.287, allocations: 351.5 MB / 0.822 GB, free: 20.75 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003139/1.287, allocations: 89.89 kB / 0.8221 GB, free: 20.7 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.731/3.019, allocations: 306.8 MB / 1.122 GB, free: 67.59 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.675e-06/3.019, allocations: 2.625 kB / 1.122 GB, free: 67.59 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001881/3.019, allocations: 46.27 kB / 1.122 GB, free: 67.58 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.01043/3.029, allocations: 2.286 MB / 1.124 GB, free: 66.36 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.379e-05/3.029, allocations: 7.5 kB / 1.124 GB, free: 66.36 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00187/3.031, allocations: 202.5 kB / 1.124 GB, free: 66.27 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005225/3.037, allocations: 1.276 MB / 1.125 GB, free: 65.9 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002672/3.037, allocations: 187.2 kB / 1.126 GB, free: 65.8 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000666/3.038, allocations: 111.2 kB / 1.126 GB, free: 65.8 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005246/3.043, allocations: 1.955 MB / 1.128 GB, free: 65.57 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.051e-05/3.043, allocations: 6.344 kB / 1.128 GB, free: 65.57 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002834/3.043, allocations: 50.7 kB / 1.128 GB, free: 65.57 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002339/3.043, allocations: 119.4 kB / 1.128 GB, free: 65.56 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005438/3.049, allocations: 1.948 MB / 1.13 GB, free: 65.54 MB / 0.4948 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.01896/3.068, allocations: 6.994 MB / 1.137 GB, free: 63.27 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003429/3.071, allocations: 1.362 MB / 1.138 GB, free: 63.23 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009339/3.081, allocations: 4.433 MB / 1.142 GB, free: 60.86 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.228e-05/3.081, allocations: 50.22 kB / 1.142 GB, free: 60.82 MB / 0.4948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001566/3.082, allocations: 226.4 kB / 1.142 GB, free: 60.75 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=117): time 5.23e-06/3.083, allocations: 1.125 kB / 1.142 GB, free: 60.75 MB / 0.4948 GB Notification: Performance of matching and sorting (n=132): time 0.03244/3.115, allocations: 6.378 MB / 1.149 GB, free: 60.05 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.884e-05/3.115, allocations: 225.2 kB / 1.149 GB, free: 59.79 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002439/3.118, allocations: 1.196 MB / 1.15 GB, free: 59.63 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0004339/3.118, allocations: 55.39 kB / 1.15 GB, free: 59.6 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004674/3.118, allocations: 0.6236 MB / 1.151 GB, free: 59.29 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005496/3.119, allocations: 456.9 kB / 1.151 GB, free: 59 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001977/3.119, allocations: 31.75 kB / 1.151 GB, free: 59 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001251/3.119, allocations: 374.8 kB / 1.152 GB, free: 58.69 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002177/3.122, allocations: 0.7654 MB / 1.152 GB, free: 58.68 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002394/3.124, allocations: 1.1 MB / 1.153 GB, free: 58.33 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002438/3.126, allocations: 0.8809 MB / 1.154 GB, free: 57.98 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-05/3.126, allocations: 3.312 kB / 1.154 GB, free: 57.98 MB / 0.4948 GB Notification: Performance of matching and sorting (n=199) (initialization): time 0.006601/3.133, allocations: 2.345 MB / 1.157 GB, free: 57.12 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006454/3.134, allocations: 2.971 MB / 1.159 GB, free: 53.98 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.12e-05/3.134, allocations: 14.28 kB / 1.159 GB, free: 53.98 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01333/3.147, allocations: 1.488 MB / 1.161 GB, free: 53.81 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002632/3.15, allocations: 329.7 kB / 1.161 GB, free: 53.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00412/3.154, allocations: 1.709 MB / 1.163 GB, free: 52.83 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002537/3.157, allocations: 106.4 kB / 1.163 GB, free: 52.8 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002441/3.157, allocations: 75.83 kB / 1.163 GB, free: 52.79 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/3.157, allocations: 3.688 kB / 1.163 GB, free: 52.79 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005755/3.163, allocations: 2.136 MB / 1.165 GB, free: 52.03 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.886e-05/3.163, allocations: 11.38 kB / 1.165 GB, free: 52.03 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009485/3.172, allocations: 1.016 MB / 1.166 GB, free: 51.9 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00244/3.175, allocations: 339.2 kB / 1.166 GB, free: 51.89 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003273/3.178, allocations: 1.389 MB / 1.168 GB, free: 51.07 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001933/3.18, allocations: 106 kB / 1.168 GB, free: 51.04 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002221/3.18, allocations: 74.5 kB / 1.168 GB, free: 51.03 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 () * 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.001221/3.181, allocations: 487.8 kB / 1.168 GB, free: 50.71 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000499/3.182, allocations: 168.5 kB / 1.169 GB, free: 50.62 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007456/3.189, allocations: 2.523 MB / 1.171 GB, free: 49.68 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.058e-05/3.189, allocations: 14.59 kB / 1.171 GB, free: 49.68 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/3.189, allocations: 0 / 1.171 GB, free: 49.68 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.068e-05/3.189, allocations: 13.92 kB / 1.171 GB, free: 49.68 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009604/3.199, allocations: 4.075 MB / 1.175 GB, free: 47.99 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.638e-06/3.199, allocations: 3.953 kB / 1.175 GB, free: 47.99 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001929/3.201, allocations: 235.5 kB / 1.175 GB, free: 47.97 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007874/3.209, allocations: 1.246 MB / 1.177 GB, free: 47.79 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002508/3.209, allocations: 42.75 kB / 1.177 GB, free: 47.77 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003613/3.213, allocations: 1.763 MB / 1.178 GB, free: 46.78 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/3.213, allocations: 0 / 1.178 GB, free: 46.78 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008098/3.221, allocations: 3.351 MB / 1.182 GB, free: 45.38 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001254/3.222, allocations: 462.2 kB / 1.182 GB, free: 45.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003784/3.223, allocations: 29.52 kB / 1.182 GB, free: 45.07 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00203/3.225, allocations: 105.2 kB / 1.182 GB, free: 45.04 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003366/3.225, allocations: 110.2 kB / 1.182 GB, free: 45.03 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001977/3.225, allocations: 62.92 kB / 1.182 GB, free: 45.02 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001754/3.227, allocations: 0.914 MB / 1.183 GB, free: 44.66 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4.11e-07/3.227, allocations: 4.5 kB / 1.183 GB, free: 44.66 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.004974/3.232, allocations: 1.441 MB / 1.185 GB, free: 44.29 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 () * 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.003562/3.236, allocations: 1.246 MB / 1.186 GB, free: 43.86 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01023/3.246, allocations: 3.115 MB / 1.189 GB, free: 42.79 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.195e-06/3.246, allocations: 8.641 kB / 1.189 GB, free: 42.79 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.00328/3.249, allocations: 1.02 MB / 1.19 GB, free: 42.45 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005212/3.254, allocations: 0.6903 MB / 1.191 GB, free: 42.18 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009162/3.264, allocations: 4.173 MB / 1.195 GB, free: 38.59 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009762/3.265, allocations: 1.407 MB / 1.196 GB, free: 37.4 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009576/3.266, allocations: 164.2 kB / 1.196 GB, free: 37.26 MB / 0.4948 GB Notification: Performance of SimCode: time 1.102e-06/3.266, allocations: 0 / 1.196 GB, free: 37.26 MB / 0.4948 GB Notification: Performance of Templates: time 0.07253/3.338, allocations: 41.37 MB / 1.237 GB, free: 1.582 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