Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Digital.Examples.VectorDelay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Electrical.Digital.Examples.VectorDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|delay.inertialDelaySensitive.1..x|delay.inertialDelaySensitive.1..y|delay.inertialDelaySensitive.2..x|delay.inertialDelaySensitive.2..y|delay.inertialDelaySensitive.3..x|delay.inertialDelaySensitive.3..y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.VectorDelay") translateModel(Modelica.Electrical.Digital.Examples.VectorDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|delay.inertialDelaySensitive.1..x|delay.inertialDelaySensitive.1..y|delay.inertialDelaySensitive.2..x|delay.inertialDelaySensitive.2..y|delay.inertialDelaySensitive.3..x|delay.inertialDelaySensitive.3..y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.VectorDelay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001016/0.001017, allocations: 197 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.273/1.273, allocations: 225.4 MB / 240.1 MB, free: 15.04 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008292/0.0008293, allocations: 87.94 kB / 292.1 MB, free: 6.008 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.388e-05/3.392e-05, allocations: 4 kB / 350.5 MB, free: 2.531 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1178/0.1178, allocations: 51.49 MB / 402 MB, free: 14.99 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.293/0.4109, allocations: 82.49 MB / 484.5 MB, free: 6.879 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001735/0.4111, allocations: 70.61 kB / 484.6 MB, free: 6.844 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02371/0.4348, allocations: 13.59 MB / 498.2 MB, free: 11.28 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.4348, allocations: 4 kB / 498.2 MB, free: 11.27 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.674e-05/0.4349, allocations: 12 kB / 498.2 MB, free: 11.26 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.001064/0.4359, allocations: 1.02 MB / 499.2 MB, free: 10.16 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.436, allocations: 8.031 kB / 499.2 MB, free: 10.16 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001314/0.4361, allocations: 102.8 kB / 499.3 MB, free: 10.05 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005774/0.4367, allocations: 405 kB / 499.7 MB, free: 9.605 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.139e-05/0.4367, allocations: 20.69 kB / 499.7 MB, free: 9.586 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.817e-05/0.4368, allocations: 16 kB / 499.7 MB, free: 9.57 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005034/0.4373, allocations: 336 kB / 0.4884 GB, free: 9.227 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.4373, allocations: 0 / 0.4884 GB, free: 9.227 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.012e-05/0.4374, allocations: 12 kB / 0.4884 GB, free: 9.215 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.942e-06/0.4374, allocations: 4 kB / 0.4884 GB, free: 9.211 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003017/0.4377, allocations: 195.8 kB / 0.4886 GB, free: 9.02 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001267/0.439, allocations: 0.9626 MB / 0.4895 GB, free: 8 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004082/0.4394, allocations: 305.4 kB / 0.4898 GB, free: 7.676 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003235/0.4397, allocations: 266.5 kB / 0.49 GB, free: 7.406 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.023e-06/0.4397, allocations: 4 kB / 0.49 GB, free: 7.402 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006159/0.4404, allocations: 0.5741 MB / 0.4906 GB, free: 6.77 MB / 362.7 MB Notification: Performance of pre-optimization done (n=30): time 1.483e-06/0.4404, allocations: 0 / 0.4906 GB, free: 6.77 MB / 362.7 MB Notification: Performance of matching and sorting (n=30): time 0.001205/0.4416, allocations: 0.8835 MB / 0.4915 GB, free: 5.844 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001209/0.4417, allocations: 277 kB / 0.4917 GB, free: 5.512 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001553/0.4433, allocations: 1.278 MB / 0.493 GB, free: 4.211 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.617e-05/0.4433, allocations: 37.7 kB / 0.493 GB, free: 4.168 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.915e-05/0.4434, allocations: 122.5 kB / 0.4931 GB, free: 4.043 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.906e-05/0.4435, allocations: 75.25 kB / 0.4932 GB, free: 3.969 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.604e-05/0.4436, allocations: 4 kB / 0.4932 GB, free: 3.965 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001054/0.4437, allocations: 338.8 kB / 0.4935 GB, free: 3.625 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002784/0.4439, allocations: 199.8 kB / 0.4937 GB, free: 3.43 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002916/0.4442, allocations: 226.5 kB / 0.4939 GB, free: 3.199 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003196/0.4446, allocations: 352 kB / 0.4943 GB, free: 2.82 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.4446, allocations: 0 / 0.4943 GB, free: 2.82 MB / 362.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001019/0.4456, allocations: 0.8295 MB / 0.4951 GB, free: 1.949 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001197/0.4457, allocations: 194.2 kB / 0.4953 GB, free: 1.723 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.4458, allocations: 4 kB / 0.4953 GB, free: 1.719 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/0.4458, allocations: 0 / 0.4953 GB, free: 1.719 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.222e-05/0.4458, allocations: 0 / 0.4953 GB, free: 1.719 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/0.4458, allocations: 11.92 kB / 0.4953 GB, free: 1.707 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002997/0.4461, allocations: 39.81 kB / 0.4953 GB, free: 1.668 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.815e-05/0.4462, allocations: 95.86 kB / 0.4954 GB, free: 1.574 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 36 ($whenCondition5,$whenCondition6,$PRE.delay.inertialDelaySensitive[3].x,delay.inertialDelaySensitive[3].x,$PRE.delay.inertialDelaySensitive[3].y,delay.inertialDelaySensitive[3].y,delay.inertialDelaySensitive[3].delayTime,delay.inertialDelaySensitive[3].y_auxiliary,delay.inertialDelaySensitive[3].y_old,delay.inertialDelaySensitive[3].lh,delay.inertialDelaySensitive[3].t_next,table2.y,$whenCondition3,$whenCondition4,$PRE.delay.inertialDelaySensitive[2].x,delay.inertialDelaySensitive[2].x,$PRE.delay.inertialDelaySensitive[2].y,delay.inertialDelaySensitive[2].y,delay.inertialDelaySensitive[2].delayTime,delay.inertialDelaySensitive[2].y_auxiliary,delay.inertialDelaySensitive[2].y_old,delay.inertialDelaySensitive[2].lh,delay.inertialDelaySensitive[2].t_next,table1.y,$whenCondition1,$whenCondition2,$PRE.delay.inertialDelaySensitive[1].x,delay.inertialDelaySensitive[1].x,$PRE.delay.inertialDelaySensitive[1].y,delay.inertialDelaySensitive[1].y,delay.inertialDelaySensitive[1].delayTime,delay.inertialDelaySensitive[1].y_auxiliary,delay.inertialDelaySensitive[1].y_old,delay.inertialDelaySensitive[1].lh,delay.inertialDelaySensitive[1].t_next,table.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 6 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002492/0.4465, allocations: 354 kB / 0.4957 GB, free: 1.184 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001043/0.4466, allocations: 98.97 kB / 0.4958 GB, free: 1.086 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002704/0.4469, allocations: 200 kB / 0.496 GB, free: 0.8906 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.4469, allocations: 4 kB / 0.496 GB, free: 0.8867 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.4469, allocations: 0 / 0.496 GB, free: 0.8867 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.4469, allocations: 0 / 0.496 GB, free: 0.8867 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002056/0.449, allocations: 1.832 MB / 0.4978 GB, free: 14.96 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.449, allocations: 7.953 kB / 0.4978 GB, free: 14.95 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.814e-06/0.449, allocations: 4 kB / 0.4978 GB, free: 14.95 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.449, allocations: 0 / 0.4978 GB, free: 14.95 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.005e-05/0.4491, allocations: 27.98 kB / 0.4979 GB, free: 14.92 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.4491, allocations: 0 / 0.4979 GB, free: 14.92 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/0.4491, allocations: 7.984 kB / 0.4979 GB, free: 14.91 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001305/0.4504, allocations: 1.265 MB / 0.4991 GB, free: 13.59 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008875/0.4513, allocations: 0.5852 MB / 0.4997 GB, free: 12.98 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001511/0.4515, allocations: 59.95 kB / 0.4997 GB, free: 12.92 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003345/0.4518, allocations: 35.88 kB / 0.4998 GB, free: 12.89 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000176/0.452, allocations: 79.89 kB / 0.4998 GB, free: 12.81 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001028/0.4521, allocations: 95.92 kB / 0.4999 GB, free: 12.71 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001318/0.4534, allocations: 1.083 MB / 0.501 GB, free: 11.62 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.4534, allocations: 0 / 0.501 GB, free: 11.62 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004277/0.4539, allocations: 104 kB / 0.5011 GB, free: 11.52 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 30 ($whenCondition1,$whenCondition2,delay.inertialDelaySensitive[1].x,delay.inertialDelaySensitive[1].y,delay.inertialDelaySensitive[1].delayTime,delay.inertialDelaySensitive[1].y_auxiliary,delay.inertialDelaySensitive[1].y_old,delay.inertialDelaySensitive[1].lh,delay.inertialDelaySensitive[1].t_next,table.y,$whenCondition3,$whenCondition4,delay.inertialDelaySensitive[2].x,delay.inertialDelaySensitive[2].y,delay.inertialDelaySensitive[2].delayTime,delay.inertialDelaySensitive[2].y_auxiliary,delay.inertialDelaySensitive[2].y_old,delay.inertialDelaySensitive[2].lh,delay.inertialDelaySensitive[2].t_next,table1.y,$whenCondition5,$whenCondition6,delay.inertialDelaySensitive[3].x,delay.inertialDelaySensitive[3].y,delay.inertialDelaySensitive[3].delayTime,delay.inertialDelaySensitive[3].y_auxiliary,delay.inertialDelaySensitive[3].y_old,delay.inertialDelaySensitive[3].lh,delay.inertialDelaySensitive[3].t_next,table2.y) * Number of discrete states: 30 (table2.y,delay.inertialDelaySensitive[3].y,delay.inertialDelaySensitive[3].y_auxiliary,delay.inertialDelaySensitive[3].t_next,delay.inertialDelaySensitive[3].delayTime,delay.inertialDelaySensitive[3].lh,delay.inertialDelaySensitive[3].y_old,$whenCondition6,$whenCondition5,delay.inertialDelaySensitive[3].x,table1.y,delay.inertialDelaySensitive[2].y,delay.inertialDelaySensitive[2].y_auxiliary,delay.inertialDelaySensitive[2].t_next,delay.inertialDelaySensitive[2].delayTime,delay.inertialDelaySensitive[2].lh,delay.inertialDelaySensitive[2].y_old,$whenCondition4,$whenCondition3,delay.inertialDelaySensitive[2].x,table.y,delay.inertialDelaySensitive[1].y,delay.inertialDelaySensitive[1].y_auxiliary,delay.inertialDelaySensitive[1].t_next,delay.inertialDelaySensitive[1].delayTime,delay.inertialDelaySensitive[1].lh,delay.inertialDelaySensitive[1].y_old,$whenCondition2,$whenCondition1,delay.inertialDelaySensitive[1].x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 6 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002159/0.4541, allocations: 175.3 kB / 0.5013 GB, free: 11.34 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009768/0.4551, allocations: 0.9806 MB / 0.5022 GB, free: 10.28 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.4551, allocations: 0.9375 kB / 0.5022 GB, free: 10.28 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006599/0.4557, allocations: 0.7971 MB / 0.503 GB, free: 9.41 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000888/0.4566, allocations: 208.7 kB / 0.5032 GB, free: 9.211 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002362/0.459, allocations: 1.815 MB / 0.505 GB, free: 7.363 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007945/0.4598, allocations: 1.106 MB / 0.5061 GB, free: 6.23 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 9.329e-05/0.4599, allocations: 30.77 kB / 0.5061 GB, free: 6.203 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.354e-05/0.46, allocations: 15.44 kB / 0.5061 GB, free: 6.188 MB / 378.7 MB Notification: Performance of SimCode: time 3.1e-07/0.46, allocations: 0 / 0.5061 GB, free: 6.188 MB / 378.7 MB Notification: Performance of Templates: time 0.01112/0.4711, allocations: 8.177 MB / 0.5141 GB, free: 14.09 MB / 394.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Digital.Examples.VectorDelay.makefile (rm -f Modelica_trunk_Modelica.Electrical.Digital.Examples.VectorDelay.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Digital.Examples.VectorDelay.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Digital.Examples.VectorDelay.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Digital.Examples.VectorDelay.sim & ./Modelica_trunk_Modelica.Electrical.Digital.Examples.VectorDelay -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Digital.Examples.VectorDelay.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Digital.Examples.VectorDelay_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/VectorDelay/VectorDelay.csv","../files/Modelica_trunk_Modelica.Electrical.Digital.Examples.VectorDelay.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches