Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER.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.NXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nXFERGATE.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER") translateModel(Modelica.Electrical.Digital.Examples.NXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nXFERGATE.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00096/0.0009599, allocations: 198.4 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.201/1.201, allocations: 227.2 MB / 245 MB, free: 7.555 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008745/0.0008742, allocations: 108.9 kB / 297.3 MB, free: 6.191 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002165/0.0002168, allocations: 8 kB / 357.9 MB, free: 9.551 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1796/0.1799, allocations: 51.49 MB / 409.4 MB, free: 26.74 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08765/0.2676, allocations: 83.06 MB / 492.5 MB, free: 7.57 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001873/0.2678, allocations: 74.17 kB / 492.5 MB, free: 7.5 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03078/0.2986, allocations: 16.7 MB / 0.4973 GB, free: 6.879 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.2986, allocations: 0 / 0.4973 GB, free: 6.879 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.091e-05/0.2986, allocations: 4 kB / 0.4973 GB, free: 6.875 MB / 378.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.0006636/0.2993, allocations: 0.6682 MB / 0.498 GB, free: 6.133 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.2994, allocations: 8.031 kB / 0.498 GB, free: 6.125 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.101e-05/0.2994, allocations: 39.62 kB / 0.498 GB, free: 6.086 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000303/0.2997, allocations: 257.4 kB / 0.4983 GB, free: 5.797 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.132e-05/0.2998, allocations: 8 kB / 0.4983 GB, free: 5.789 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.673e-05/0.2998, allocations: 8 kB / 0.4983 GB, free: 5.781 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002571/0.3001, allocations: 125.6 kB / 0.4984 GB, free: 5.652 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.116e-06/0.3001, allocations: 3.984 kB / 0.4984 GB, free: 5.648 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.223e-05/0.3001, allocations: 7.984 kB / 0.4984 GB, free: 5.641 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.3001, allocations: 0 / 0.4984 GB, free: 5.641 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001326/0.3003, allocations: 59.91 kB / 0.4985 GB, free: 5.582 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006231/0.3009, allocations: 464.5 kB / 0.4989 GB, free: 5.078 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001677/0.3011, allocations: 98.48 kB / 0.499 GB, free: 4.973 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.795e-06/0.3011, allocations: 0 / 0.499 GB, free: 4.973 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002598/0.3014, allocations: 206.8 kB / 0.4992 GB, free: 4.746 MB / 378.7 MB Notification: Performance of pre-optimization done (n=13): time 3.497e-06/0.3014, allocations: 112 / 0.4992 GB, free: 4.746 MB / 378.7 MB Notification: Performance of matching and sorting (n=13): time 0.0007689/0.3021, allocations: 0.6154 MB / 0.4998 GB, free: 4.062 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.843e-05/0.3022, allocations: 166.2 kB / 0.5 GB, free: 3.863 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005285/0.3028, allocations: 468.4 kB / 0.5004 GB, free: 3.395 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.944e-05/0.3028, allocations: 29.7 kB / 0.5004 GB, free: 3.359 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.146e-05/0.3029, allocations: 97.12 kB / 0.5005 GB, free: 3.258 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.836e-05/0.3029, allocations: 35.55 kB / 0.5006 GB, free: 3.223 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.61e-05/0.3029, allocations: 8 kB / 0.5006 GB, free: 3.215 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.27e-05/0.303, allocations: 330.8 kB / 0.5009 GB, free: 2.883 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001176/0.3032, allocations: 55.97 kB / 0.5009 GB, free: 2.828 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001257/0.3033, allocations: 76.62 kB / 0.501 GB, free: 2.75 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001712/0.3035, allocations: 170.2 kB / 0.5012 GB, free: 2.562 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.3035, allocations: 0 / 0.5012 GB, free: 2.562 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004978/0.304, allocations: 372.3 kB / 0.5015 GB, free: 2.168 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.049e-05/0.3041, allocations: 122.8 kB / 0.5016 GB, free: 2.023 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.3041, allocations: 4.031 kB / 0.5016 GB, free: 2.02 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.3041, allocations: 0 / 0.5016 GB, free: 2.02 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.107e-05/0.3041, allocations: 4 kB / 0.5017 GB, free: 2.016 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.748e-06/0.3042, allocations: 11.98 kB / 0.5017 GB, free: 2.004 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001218/0.3043, allocations: 12 kB / 0.5017 GB, free: 1.992 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.445e-05/0.3044, allocations: 59.94 kB / 0.5017 GB, free: 1.934 MB / 378.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.000332/0.3047, allocations: 362.8 kB / 0.5021 GB, free: 1.547 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.199e-05/0.3048, allocations: 39.53 kB / 0.5021 GB, free: 1.508 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001016/0.3049, allocations: 67.14 kB / 0.5022 GB, free: 1.438 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.3049, allocations: 0 / 0.5022 GB, free: 1.438 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.615e-06/0.3049, allocations: 4 kB / 0.5022 GB, free: 1.434 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.3049, allocations: 0 / 0.5022 GB, free: 1.434 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008857/0.3058, allocations: 0.8056 MB / 0.503 GB, free: 0.5469 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.3058, allocations: 0 / 0.503 GB, free: 0.5469 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.153e-06/0.3058, allocations: 3.984 kB / 0.503 GB, free: 0.543 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.989e-06/0.3058, allocations: 4 kB / 0.503 GB, free: 0.5391 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.635e-05/0.3059, allocations: 12 kB / 0.503 GB, free: 0.5273 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.3059, allocations: 0 / 0.503 GB, free: 0.5273 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3059, allocations: 7.938 kB / 0.503 GB, free: 0.5195 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1484/0.4543, allocations: 0.5114 MB / 0.5035 GB, free: 95.79 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004923/0.4548, allocations: 249.6 kB / 0.5037 GB, free: 95.69 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.136e-05/0.4549, allocations: 9.312 kB / 0.5037 GB, free: 95.69 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001665/0.4551, allocations: 12.64 kB / 0.5038 GB, free: 95.69 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001206/0.4552, allocations: 25.69 kB / 0.5038 GB, free: 95.69 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.559e-05/0.4553, allocations: 61 kB / 0.5038 GB, free: 95.69 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005789/0.4559, allocations: 388.5 kB / 0.5042 GB, free: 95.54 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.4559, allocations: 3.281 kB / 0.5042 GB, free: 95.54 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003436/0.4562, allocations: 43.44 kB / 0.5043 GB, free: 95.54 MB / 378.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.0001248/0.4564, allocations: 117.1 kB / 0.5044 GB, free: 95.45 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005007/0.4569, allocations: 436.2 kB / 0.5048 GB, free: 95.2 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.4569, allocations: 2.156 kB / 0.5048 GB, free: 95.2 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002587/0.4571, allocations: 380.3 kB / 0.5051 GB, free: 94.95 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005082/0.4577, allocations: 101.1 kB / 0.5052 GB, free: 94.95 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001152/0.4588, allocations: 0.7274 MB / 0.506 GB, free: 94.55 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003118/0.4592, allocations: 0.8069 MB / 0.5067 GB, free: 93.83 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.645e-05/0.4592, allocations: 11.47 kB / 0.5068 GB, free: 93.82 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.909e-05/0.4593, allocations: 11.19 kB / 0.5068 GB, free: 93.82 MB / 378.7 MB Notification: Performance of SimCode: time 5.01e-07/0.4593, allocations: 3.5 kB / 0.5068 GB, free: 93.82 MB / 378.7 MB Notification: Performance of Templates: time 0.006661/0.4659, allocations: 4.055 MB / 0.5107 GB, free: 93.41 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER.makefile (rm -f Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER.sim & ./Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/NXFER/NXFER.csv","../files/Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches