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.001436/0.001436, allocations: 200.5 kB / 18.1 MB, free: 3.613 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.41/1.41, allocations: 226.5 MB / 245.4 MB, free: 6.398 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001164/0.001164, allocations: 105.9 kB / 297.5 MB, free: 6.641 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002063/0.0002065, allocations: 8 kB / 358.1 MB, free: 10.02 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2362/0.2365, allocations: 51.29 MB / 409.4 MB, free: 27.57 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1056/0.3421, allocations: 82.99 MB / 492.4 MB, free: 8.469 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002294/0.3424, allocations: 71.95 kB / 492.4 MB, free: 8.398 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0337/0.3761, allocations: 16.7 MB / 0.4972 GB, free: 7.781 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.335e-06/0.3762, allocations: 0 / 0.4972 GB, free: 7.781 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.536e-05/0.3762, allocations: 4 kB / 0.4972 GB, free: 7.777 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.0008755/0.3771, allocations: 0.6721 MB / 0.4979 GB, free: 7.027 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.482e-05/0.3771, allocations: 12.03 kB / 0.4979 GB, free: 7.016 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.488e-05/0.3772, allocations: 36.56 kB / 0.4979 GB, free: 6.98 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003456/0.3776, allocations: 266.5 kB / 0.4982 GB, free: 6.684 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.475e-05/0.3776, allocations: 8.375 kB / 0.4982 GB, free: 6.676 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.139e-05/0.3777, allocations: 8.375 kB / 0.4982 GB, free: 6.668 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000294/0.378, allocations: 134.1 kB / 0.4983 GB, free: 6.531 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.378, allocations: 192 / 0.4983 GB, free: 6.531 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.556e-05/0.378, allocations: 7.938 kB / 0.4983 GB, free: 6.523 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.378, allocations: 0 / 0.4983 GB, free: 6.523 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001413/0.3782, allocations: 63.95 kB / 0.4984 GB, free: 6.461 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006964/0.3789, allocations: 460.5 kB / 0.4988 GB, free: 5.961 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001877/0.3791, allocations: 94.55 kB / 0.4989 GB, free: 5.859 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001477/0.3792, allocations: 84.88 kB / 0.499 GB, free: 5.773 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.127e-05/0.3793, allocations: 0 / 0.499 GB, free: 5.773 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000306/0.3796, allocations: 210.7 kB / 0.4992 GB, free: 5.543 MB / 378.7 MB Notification: Performance of pre-optimization done (n=13): time 4.378e-06/0.3796, allocations: 112 / 0.4992 GB, free: 5.543 MB / 378.7 MB Notification: Performance of matching and sorting (n=13): time 0.0008313/0.3804, allocations: 491.9 kB / 0.4997 GB, free: 5.031 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.808e-05/0.3805, allocations: 170.2 kB / 0.4998 GB, free: 4.828 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006694/0.3812, allocations: 0.5129 MB / 0.5003 GB, free: 4.309 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.99e-05/0.3813, allocations: 29.7 kB / 0.5003 GB, free: 4.273 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.699e-05/0.3813, allocations: 97.14 kB / 0.5004 GB, free: 4.172 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.136e-05/0.3814, allocations: 39.58 kB / 0.5005 GB, free: 4.133 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.368e-05/0.3814, allocations: 0 / 0.5005 GB, free: 4.133 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001259/0.3815, allocations: 326.8 kB / 0.5008 GB, free: 3.805 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001383/0.3817, allocations: 55.97 kB / 0.5008 GB, free: 3.75 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001272/0.3818, allocations: 73.69 kB / 0.5009 GB, free: 3.672 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003288/0.3822, allocations: 339.3 kB / 0.5012 GB, free: 3.285 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.3822, allocations: 0 / 0.5012 GB, free: 3.285 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005446/0.3827, allocations: 399.8 kB / 0.5016 GB, free: 2.867 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.222e-05/0.3828, allocations: 122.8 kB / 0.5017 GB, free: 2.723 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.3828, allocations: 0 / 0.5017 GB, free: 2.723 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/0.3829, allocations: 0 / 0.5017 GB, free: 2.723 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.202e-05/0.3829, allocations: 0 / 0.5017 GB, free: 2.723 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.3829, allocations: 0 / 0.5017 GB, free: 2.723 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001442/0.383, allocations: 19.98 kB / 0.5018 GB, free: 2.703 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.661e-05/0.3831, allocations: 55.94 kB / 0.5018 GB, free: 2.648 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.0003471/0.3835, allocations: 370.7 kB / 0.5022 GB, free: 2.254 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.735e-05/0.3835, allocations: 39.53 kB / 0.5022 GB, free: 2.215 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001109/0.3836, allocations: 67.14 kB / 0.5023 GB, free: 2.145 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.3837, allocations: 0 / 0.5023 GB, free: 2.145 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.3837, allocations: 0 / 0.5023 GB, free: 2.145 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.3837, allocations: 7.922 kB / 0.5023 GB, free: 2.137 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009654/0.3846, allocations: 0.8212 MB / 0.5031 GB, free: 1.234 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.3847, allocations: 0 / 0.5031 GB, free: 1.234 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.059e-06/0.3847, allocations: 0 / 0.5031 GB, free: 1.234 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.31e-05/0.3847, allocations: 4 kB / 0.5031 GB, free: 1.23 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.973e-05/0.3847, allocations: 23.92 kB / 0.5031 GB, free: 1.207 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.896e-06/0.3847, allocations: 0 / 0.5031 GB, free: 1.207 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3847, allocations: 3.938 kB / 0.5031 GB, free: 1.203 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006031/0.3853, allocations: 0.5252 MB / 0.5036 GB, free: 0.6367 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002978/0.3857, allocations: 248.4 kB / 0.5038 GB, free: 384 kB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.307e-05/0.3857, allocations: 12.25 kB / 0.5039 GB, free: 372 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000135/0.3859, allocations: 12 kB / 0.5039 GB, free: 360 kB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001085/0.386, allocations: 27.97 kB / 0.5039 GB, free: 332 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.495e-05/0.386, allocations: 67.86 kB / 0.504 GB, free: 264 kB / 378.7 MB Notification: Performance of sorting global known variables: time 0.2215/0.6076, allocations: 380.4 kB / 0.5043 GB, free: 96.42 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.6076, allocations: 0.75 kB / 0.5043 GB, free: 96.42 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005414/0.6082, allocations: 42.97 kB / 0.5044 GB, free: 96.42 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.0001793/0.6084, allocations: 112.6 kB / 0.5045 GB, free: 96.33 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006543/0.609, allocations: 437.9 kB / 0.5049 GB, free: 96.08 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.065e-06/0.6091, allocations: 1.906 kB / 0.5049 GB, free: 96.08 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003348/0.6094, allocations: 376 kB / 0.5053 GB, free: 95.83 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000642/0.61, allocations: 103 kB / 0.5054 GB, free: 95.82 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001285/0.6113, allocations: 0.7322 MB / 0.5061 GB, free: 95.45 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003747/0.6117, allocations: 0.7974 MB / 0.5068 GB, free: 94.73 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.957e-05/0.6118, allocations: 13.28 kB / 0.5069 GB, free: 94.72 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.813e-05/0.6119, allocations: 11.28 kB / 0.5069 GB, free: 94.71 MB / 378.7 MB Notification: Performance of SimCode: time 6.52e-07/0.6119, allocations: 2.812 kB / 0.5069 GB, free: 94.71 MB / 378.7 MB Notification: Performance of Templates: time 0.007709/0.6196, allocations: 4.095 MB / 0.5109 GB, free: 94.3 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/jenkins1/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