Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER.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) 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(Modelica.Electrical.Digital.Examples.NXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nXFERGATE.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER") translateModel(Modelica.Electrical.Digital.Examples.NXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nXFERGATE.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002543/0.002544, allocations: 180.3 kB / 17.01 MB, free: 5.125 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.902/1.902, allocations: 205.4 MB / 223.1 MB, free: 9.113 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.0009111/0.0009111, allocations: 98.59 kB / 271.5 MB, free: 8.359 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003184/0.0003185, allocations: 8 kB / 328.2 MB, free: 15.53 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3344/0.3347, allocations: 47.57 MB / 375.8 MB, free: 45.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1165/0.4513, allocations: 81.37 MB / 457.2 MB, free: 15.3 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000233/0.4516, allocations: 71.95 kB / 457.2 MB, free: 15.23 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03302/0.4846, allocations: 16.42 MB / 473.7 MB, free: 14.84 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.4847, allocations: 0 / 473.7 MB, free: 14.84 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.103e-05/0.4847, allocations: 4 kB / 473.7 MB, free: 14.83 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0007638/0.4855, allocations: 0.6682 MB / 474.3 MB, free: 14.09 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.4855, allocations: 8.031 kB / 474.3 MB, free: 14.08 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.929e-05/0.4856, allocations: 39.62 kB / 474.4 MB, free: 14.04 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003348/0.486, allocations: 257.4 kB / 474.6 MB, free: 13.75 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.385e-05/0.486, allocations: 8 kB / 474.6 MB, free: 13.75 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.991e-05/0.486, allocations: 11.94 kB / 474.6 MB, free: 13.73 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002895/0.4863, allocations: 137.5 kB / 474.8 MB, free: 13.59 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.186e-06/0.4864, allocations: 0 / 474.8 MB, free: 13.59 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.414e-05/0.4864, allocations: 4 kB / 474.8 MB, free: 13.59 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.618e-06/0.4864, allocations: 0 / 474.8 MB, free: 13.59 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000138/0.4865, allocations: 55.97 kB / 474.8 MB, free: 13.54 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007076/0.4873, allocations: 472.5 kB / 475.3 MB, free: 13.02 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001798/0.4874, allocations: 98.48 kB / 475.4 MB, free: 12.92 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.725e-06/0.4875, allocations: 0 / 475.4 MB, free: 12.92 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003103/0.4878, allocations: 206.8 kB / 475.6 MB, free: 12.69 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 1.593e-06/0.4878, allocations: 3.938 kB / 475.6 MB, free: 12.69 MB / 362.7 MB Notification: Performance of matching and sorting (n=13): time 0.0009124/0.4887, allocations: 0.6154 MB / 476.2 MB, free: 12 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001109/0.4888, allocations: 166.2 kB / 476.4 MB, free: 11.8 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005964/0.4894, allocations: 464.5 kB / 476.8 MB, free: 11.34 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.478e-05/0.4895, allocations: 29.7 kB / 476.9 MB, free: 11.31 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.465e-05/0.4896, allocations: 97.12 kB / 477 MB, free: 11.21 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.335e-05/0.4896, allocations: 27.7 kB / 477 MB, free: 11.18 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.764e-05/0.4897, allocations: 8 kB / 477 MB, free: 11.17 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001691/0.4898, allocations: 330.8 kB / 477.3 MB, free: 10.84 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001238/0.49, allocations: 59.91 kB / 477.4 MB, free: 10.78 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001529/0.4901, allocations: 73.67 kB / 477.4 MB, free: 10.7 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001841/0.4903, allocations: 162.8 kB / 477.6 MB, free: 10.52 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.4903, allocations: 4 kB / 477.6 MB, free: 10.52 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005202/0.4909, allocations: 372.1 kB / 478 MB, free: 10.12 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001071/0.491, allocations: 128.9 kB / 478.1 MB, free: 9.973 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.491, allocations: 4.031 kB / 478.1 MB, free: 9.969 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.491, allocations: 0 / 478.1 MB, free: 9.969 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.39e-05/0.4911, allocations: 4.125 kB / 478.1 MB, free: 9.965 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/0.4911, allocations: 7.984 kB / 478.1 MB, free: 9.957 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001241/0.4912, allocations: 12 kB / 478.1 MB, free: 9.945 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.527e-05/0.4913, allocations: 59.94 kB / 478.2 MB, free: 9.887 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.nXFERGATE.inertialDelaySensitive.y,$whenCondition1,$whenCondition2,e_table.y,x_table.y,nXFERGATE.nextstate,nXFERGATE.yy,$PRE.nXFERGATE.inertialDelaySensitive.x,nXFERGATE.inertialDelaySensitive.x,nXFERGATE.inertialDelaySensitive.y,nXFERGATE.inertialDelaySensitive.delayTime,nXFERGATE.inertialDelaySensitive.y_auxiliary,nXFERGATE.inertialDelaySensitive.y_old,nXFERGATE.inertialDelaySensitive.lh,nXFERGATE.inertialDelaySensitive.t_next) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 4 * 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.0003584/0.4917, allocations: 358.9 kB / 478.5 MB, free: 9.504 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.088e-05/0.4917, allocations: 43.47 kB / 478.6 MB, free: 9.461 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001054/0.4918, allocations: 71.12 kB / 478.6 MB, free: 9.395 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.4918, allocations: 0 / 478.6 MB, free: 9.395 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.153e-06/0.4919, allocations: 4 kB / 478.7 MB, free: 9.391 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.4919, allocations: 0 / 478.7 MB, free: 9.391 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009994/0.4929, allocations: 0.8017 MB / 479.5 MB, free: 8.508 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.4929, allocations: 0 / 479.5 MB, free: 8.508 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.338e-06/0.4929, allocations: 0 / 479.5 MB, free: 8.508 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.05e-06/0.4929, allocations: 7.984 kB / 479.5 MB, free: 8.5 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.064e-05/0.4929, allocations: 12 kB / 479.5 MB, free: 8.488 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.493, allocations: 4 kB / 479.5 MB, free: 8.484 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.493, allocations: 4 kB / 479.5 MB, free: 8.48 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006481/0.4936, allocations: 0.5178 MB / 480 MB, free: 7.922 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000344/0.494, allocations: 248.4 kB / 480.2 MB, free: 7.66 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.015e-05/0.494, allocations: 11.94 kB / 480.3 MB, free: 7.648 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001326/0.4942, allocations: 12 kB / 480.3 MB, free: 7.637 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001034/0.4943, allocations: 23.97 kB / 480.3 MB, free: 7.613 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.223e-05/0.4944, allocations: 67.92 kB / 480.4 MB, free: 7.547 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004565/0.4948, allocations: 386.9 kB / 480.7 MB, free: 7.176 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4948, allocations: 0 / 480.7 MB, free: 7.176 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002985/0.4951, allocations: 43.94 kB / 480.8 MB, free: 7.133 MB / 362.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: 13 ($whenCondition1,$whenCondition2,e_table.y,x_table.y,nXFERGATE.nextstate,nXFERGATE.yy,nXFERGATE.inertialDelaySensitive.x,nXFERGATE.inertialDelaySensitive.y,nXFERGATE.inertialDelaySensitive.delayTime,nXFERGATE.inertialDelaySensitive.y_auxiliary,nXFERGATE.inertialDelaySensitive.y_old,nXFERGATE.inertialDelaySensitive.lh,nXFERGATE.inertialDelaySensitive.t_next) * Number of discrete states: 13 (e_table.y,x_table.y,nXFERGATE.yy,nXFERGATE.nextstate,nXFERGATE.inertialDelaySensitive.y,nXFERGATE.inertialDelaySensitive.y_auxiliary,nXFERGATE.inertialDelaySensitive.t_next,nXFERGATE.inertialDelaySensitive.delayTime,nXFERGATE.inertialDelaySensitive.lh,nXFERGATE.inertialDelaySensitive.y_old,$whenCondition2,$whenCondition1,nXFERGATE.inertialDelaySensitive.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 4 * 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.0001641/0.4953, allocations: 123.3 kB / 480.9 MB, free: 7.004 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005259/0.4958, allocations: 433.5 kB / 481.3 MB, free: 6.531 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.4958, allocations: 0 / 481.3 MB, free: 6.531 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003243/0.4962, allocations: 373.6 kB / 481.7 MB, free: 6.117 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004847/0.4967, allocations: 108.1 kB / 481.8 MB, free: 6.016 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001214/0.4979, allocations: 0.7439 MB / 482.5 MB, free: 5.242 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005171/0.4984, allocations: 0.8062 MB / 483.3 MB, free: 4.41 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.082e-05/0.4985, allocations: 12.64 kB / 483.4 MB, free: 4.395 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.539e-05/0.4985, allocations: 7.438 kB / 483.4 MB, free: 4.387 MB / 362.7 MB Notification: Performance of SimCode: time 7.91e-07/0.4985, allocations: 4 kB / 483.4 MB, free: 4.383 MB / 362.7 MB Notification: Performance of Templates: time 0.006896/0.5054, allocations: 4.053 MB / 487.4 MB, free: 248 kB / 362.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER.sim & ./Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Digital/Examples/NXFER/NXFER.csv","../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches