Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER.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.NRXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nRXFERGATE.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER") translateModel(Modelica.Electrical.Digital.Examples.NRXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nRXFERGATE.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001283/0.001283, allocations: 198.9 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.189/1.189, allocations: 227.2 MB / 245 MB, free: 7.602 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008984/0.0008984, allocations: 100.3 kB / 297.3 MB, free: 6.211 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000215/0.000215, allocations: 4 kB / 357.9 MB, free: 9.562 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1852/0.1855, allocations: 51.48 MB / 409.4 MB, free: 26.76 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08785/0.2733, allocations: 83.06 MB / 492.5 MB, free: 7.586 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001907/0.2736, allocations: 67.97 kB / 492.5 MB, free: 7.52 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03002/0.3036, allocations: 16.71 MB / 0.4973 GB, free: 6.895 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3036, allocations: 0 / 0.4973 GB, free: 6.895 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.508e-06/0.3037, allocations: 4 kB / 0.4973 GB, free: 6.891 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.0005989/0.3043, allocations: 0.6837 MB / 0.498 GB, free: 6.133 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.065e-05/0.3043, allocations: 8.031 kB / 0.498 GB, free: 6.125 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.386e-05/0.3044, allocations: 35.62 kB / 0.498 GB, free: 6.09 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002831/0.3047, allocations: 257.5 kB / 0.4983 GB, free: 5.801 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.84e-05/0.3047, allocations: 8 kB / 0.4983 GB, free: 5.793 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.706e-05/0.3047, allocations: 8 kB / 0.4983 GB, free: 5.785 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002482/0.305, allocations: 129.6 kB / 0.4984 GB, free: 5.652 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.352e-06/0.305, allocations: 0 / 0.4984 GB, free: 5.652 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.267e-05/0.305, allocations: 4 kB / 0.4984 GB, free: 5.648 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.617e-06/0.305, allocations: 0 / 0.4984 GB, free: 5.648 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001286/0.3052, allocations: 63.89 kB / 0.4985 GB, free: 5.586 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006246/0.3058, allocations: 460.5 kB / 0.4989 GB, free: 5.086 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001569/0.306, allocations: 94.48 kB / 0.499 GB, free: 4.984 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.959e-06/0.306, allocations: 3.984 kB / 0.499 GB, free: 4.98 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002565/0.3062, allocations: 206.7 kB / 0.4992 GB, free: 4.754 MB / 378.7 MB Notification: Performance of pre-optimization done (n=13): time 1.633e-06/0.3063, allocations: 0 / 0.4992 GB, free: 4.754 MB / 378.7 MB Notification: Performance of matching and sorting (n=13): time 0.0007536/0.307, allocations: 0.6195 MB / 0.4998 GB, free: 4.066 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.909e-05/0.3071, allocations: 178.1 kB / 0.5 GB, free: 3.855 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005066/0.3076, allocations: 456.5 kB / 0.5004 GB, free: 3.398 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.928e-05/0.3077, allocations: 33.7 kB / 0.5004 GB, free: 3.359 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.868e-05/0.3077, allocations: 97.12 kB / 0.5005 GB, free: 3.258 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.342e-05/0.3078, allocations: 31.56 kB / 0.5006 GB, free: 3.227 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.439e-05/0.3078, allocations: 4 kB / 0.5006 GB, free: 3.223 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.451e-05/0.3079, allocations: 326.8 kB / 0.5009 GB, free: 2.895 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001131/0.308, allocations: 59.97 kB / 0.5009 GB, free: 2.836 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001212/0.3081, allocations: 77.67 kB / 0.501 GB, free: 2.754 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001462/0.3083, allocations: 166 kB / 0.5012 GB, free: 2.57 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.3083, allocations: 0 / 0.5012 GB, free: 2.57 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004684/0.3088, allocations: 372.3 kB / 0.5015 GB, free: 2.176 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.507e-05/0.3089, allocations: 122.8 kB / 0.5016 GB, free: 2.031 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.3089, allocations: 0 / 0.5016 GB, free: 2.031 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.3089, allocations: 3.984 kB / 0.5016 GB, free: 2.027 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.883e-05/0.3089, allocations: 7.938 kB / 0.5017 GB, free: 2.02 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.3089, allocations: 4.031 kB / 0.5017 GB, free: 2.016 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001303/0.3091, allocations: 8 kB / 0.5017 GB, free: 2.008 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.132e-05/0.3091, allocations: 59.92 kB / 0.5017 GB, free: 1.949 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.nRXFERGATE.inertialDelaySensitive.y,$whenCondition1,$whenCondition2,e_table.y,x_table.y,nRXFERGATE.nextstate,nRXFERGATE.yy,$PRE.nRXFERGATE.inertialDelaySensitive.x,nRXFERGATE.inertialDelaySensitive.x,nRXFERGATE.inertialDelaySensitive.y,nRXFERGATE.inertialDelaySensitive.delayTime,nRXFERGATE.inertialDelaySensitive.y_auxiliary,nRXFERGATE.inertialDelaySensitive.y_old,nRXFERGATE.inertialDelaySensitive.lh,nRXFERGATE.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.0003029/0.3094, allocations: 366.8 kB / 0.5021 GB, free: 1.559 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.395e-05/0.3095, allocations: 39.53 kB / 0.5021 GB, free: 1.52 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.06e-05/0.3096, allocations: 63.16 kB / 0.5022 GB, free: 1.453 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.3096, allocations: 0 / 0.5022 GB, free: 1.453 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.838e-06/0.3096, allocations: 128 / 0.5022 GB, free: 1.453 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.3096, allocations: 8 kB / 0.5022 GB, free: 1.445 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008463/0.3105, allocations: 0.8172 MB / 0.503 GB, free: 0.5469 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.3105, allocations: 0 / 0.503 GB, free: 0.5469 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.729e-06/0.3105, allocations: 0 / 0.503 GB, free: 0.5469 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.3105, allocations: 0 / 0.503 GB, free: 0.5469 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.481e-05/0.3105, allocations: 12 kB / 0.503 GB, free: 0.5352 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.3105, allocations: 0 / 0.503 GB, free: 0.5352 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.3105, allocations: 0 / 0.503 GB, free: 0.5352 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.148/0.4585, allocations: 0.5218 MB / 0.5035 GB, free: 95.89 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004283/0.459, allocations: 247.7 kB / 0.5037 GB, free: 95.79 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.868e-05/0.4591, allocations: 10.67 kB / 0.5037 GB, free: 95.79 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001567/0.4593, allocations: 12.27 kB / 0.5038 GB, free: 95.79 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001141/0.4594, allocations: 28.83 kB / 0.5038 GB, free: 95.79 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.708e-05/0.4595, allocations: 60.36 kB / 0.5038 GB, free: 95.79 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005389/0.46, allocations: 383.7 kB / 0.5042 GB, free: 95.64 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.46, allocations: 0 / 0.5042 GB, free: 95.64 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003423/0.4604, allocations: 45.05 kB / 0.5042 GB, free: 95.64 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,nRXFERGATE.nextstate,nRXFERGATE.yy,nRXFERGATE.inertialDelaySensitive.x,nRXFERGATE.inertialDelaySensitive.y,nRXFERGATE.inertialDelaySensitive.delayTime,nRXFERGATE.inertialDelaySensitive.y_auxiliary,nRXFERGATE.inertialDelaySensitive.y_old,nRXFERGATE.inertialDelaySensitive.lh,nRXFERGATE.inertialDelaySensitive.t_next) * Number of discrete states: 13 (e_table.y,x_table.y,nRXFERGATE.yy,nRXFERGATE.nextstate,nRXFERGATE.inertialDelaySensitive.y,nRXFERGATE.inertialDelaySensitive.y_auxiliary,nRXFERGATE.inertialDelaySensitive.t_next,nRXFERGATE.inertialDelaySensitive.delayTime,nRXFERGATE.inertialDelaySensitive.lh,nRXFERGATE.inertialDelaySensitive.y_old,$whenCondition2,$whenCondition1,nRXFERGATE.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.0001228/0.4605, allocations: 114.2 kB / 0.5044 GB, free: 95.55 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004897/0.461, allocations: 438.7 kB / 0.5048 GB, free: 95.3 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.461, allocations: 1.594 kB / 0.5048 GB, free: 95.3 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002553/0.4613, allocations: 375.7 kB / 0.5051 GB, free: 95.05 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004633/0.4617, allocations: 103.7 kB / 0.5052 GB, free: 95.04 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00104/0.4628, allocations: 0.7313 MB / 0.5059 GB, free: 94.65 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002889/0.4631, allocations: 0.8052 MB / 0.5067 GB, free: 93.93 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.701e-05/0.4632, allocations: 10.67 kB / 0.5067 GB, free: 93.92 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.841e-05/0.4632, allocations: 11.25 kB / 0.5068 GB, free: 93.91 MB / 378.7 MB Notification: Performance of SimCode: time 2.71e-07/0.4632, allocations: 0 / 0.5068 GB, free: 93.91 MB / 378.7 MB Notification: Performance of Templates: time 0.006419/0.4696, allocations: 4.075 MB / 0.5107 GB, free: 93.48 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER.makefile (rm -f Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER.sim & ./Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/NRXFER/NRXFER.csv","../files/Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches