Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.NRXFER.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.NRXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nRXFERGATE.y",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.NRXFER") translateModel(Modelica.Electrical.Digital.Examples.NRXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nRXFERGATE.y",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.NRXFER") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0017/0.0017, allocations: 177.7 kB / 17.41 MB, free: 4.414 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.483/3.483, allocations: 205.4 MB / 223.6 MB, free: 9.02 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.001779/0.001778, allocations: 94.3 kB / 271.9 MB, free: 8.254 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007755/0.0007765, allocations: 12 kB / 328.2 MB, free: 15.94 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7373/0.7381, allocations: 47.57 MB / 375.7 MB, free: 45.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.233/0.9713, allocations: 81.39 MB / 457.1 MB, free: 15.24 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004355/0.9718, allocations: 71.95 kB / 457.2 MB, free: 15.17 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07445/1.046, allocations: 16.43 MB / 473.6 MB, free: 14.77 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.127e-06/1.046, allocations: 4 kB / 473.6 MB, free: 14.77 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.278e-05/1.046, allocations: 4 kB / 473.6 MB, free: 14.76 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.001505/1.048, allocations: 0.6606 MB / 474.3 MB, free: 14.02 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.419e-05/1.048, allocations: 12.03 kB / 474.3 MB, free: 14.01 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000131/1.048, allocations: 32.56 kB / 474.3 MB, free: 13.98 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006027/1.049, allocations: 278.3 kB / 474.6 MB, free: 13.67 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.204e-05/1.049, allocations: 8.375 kB / 474.6 MB, free: 13.66 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.654e-05/1.049, allocations: 12.31 kB / 474.6 MB, free: 13.65 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005525/1.05, allocations: 126.2 kB / 474.7 MB, free: 13.52 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.777e-05/1.05, allocations: 192 / 474.7 MB, free: 13.52 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.61e-05/1.05, allocations: 7.938 kB / 474.7 MB, free: 13.52 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.714e-05/1.05, allocations: 4 kB / 474.8 MB, free: 13.51 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000273/1.05, allocations: 63.89 kB / 474.8 MB, free: 13.45 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001196/1.051, allocations: 468.5 kB / 475.3 MB, free: 12.94 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003112/1.052, allocations: 94.48 kB / 475.4 MB, free: 12.84 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002694/1.052, allocations: 80.89 kB / 475.4 MB, free: 12.76 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.843e-05/1.052, allocations: 0 / 475.4 MB, free: 12.76 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00069/1.053, allocations: 210.7 kB / 475.6 MB, free: 12.53 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 1.783e-06/1.053, allocations: 0 / 475.6 MB, free: 12.53 MB / 362.7 MB Notification: Performance of matching and sorting (n=13): time 0.00165/1.054, allocations: 488 kB / 476.1 MB, free: 12.02 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002718/1.055, allocations: 166.2 kB / 476.3 MB, free: 11.82 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00133/1.056, allocations: 0.509 MB / 476.8 MB, free: 11.3 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.135e-05/1.056, allocations: 29.7 kB / 476.8 MB, free: 11.27 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001823/1.056, allocations: 101.1 kB / 476.9 MB, free: 11.16 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001017/1.056, allocations: 23.72 kB / 476.9 MB, free: 11.14 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.91e-05/1.056, allocations: 4 kB / 477 MB, free: 11.14 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0004222/1.057, allocations: 326.8 kB / 477.3 MB, free: 10.81 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002377/1.057, allocations: 63.95 kB / 477.3 MB, free: 10.75 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002733/1.057, allocations: 73.67 kB / 477.4 MB, free: 10.67 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007252/1.058, allocations: 343.2 kB / 477.7 MB, free: 10.28 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/1.058, allocations: 4 kB / 477.7 MB, free: 10.27 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0009623/1.059, allocations: 388.4 kB / 478.1 MB, free: 9.863 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001626/1.059, allocations: 130.8 kB / 478.2 MB, free: 9.711 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/1.059, allocations: 0 / 478.2 MB, free: 9.711 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.462e-05/1.059, allocations: 0 / 478.2 MB, free: 9.711 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.326e-05/1.059, allocations: 7.938 kB / 478.3 MB, free: 9.703 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.157e-05/1.059, allocations: 4 kB / 478.3 MB, free: 9.699 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002424/1.06, allocations: 8.109 kB / 478.3 MB, free: 9.691 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001512/1.06, allocations: 63.86 kB / 478.3 MB, free: 9.629 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.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.0007717/1.061, allocations: 367.4 kB / 478.7 MB, free: 9.238 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.723e-05/1.061, allocations: 43.53 kB / 478.7 MB, free: 9.195 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001987/1.061, allocations: 63.16 kB / 478.8 MB, free: 9.129 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.184e-06/1.061, allocations: 0 / 478.8 MB, free: 9.129 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-05/1.061, allocations: 0 / 478.8 MB, free: 9.129 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.124e-06/1.061, allocations: 0 / 478.8 MB, free: 9.129 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002197/1.063, allocations: 0.8251 MB / 479.6 MB, free: 8.223 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/1.063, allocations: 0 / 479.6 MB, free: 8.223 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.175e-05/1.063, allocations: 0 / 479.6 MB, free: 8.223 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.255e-06/1.063, allocations: 0 / 479.6 MB, free: 8.223 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.8e-05/1.063, allocations: 19.98 kB / 479.6 MB, free: 8.203 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.32e-06/1.063, allocations: 4 kB / 479.6 MB, free: 8.199 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/1.063, allocations: 0 / 479.6 MB, free: 8.199 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001865/1.065, allocations: 0.533 MB / 480.2 MB, free: 7.625 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007466/1.066, allocations: 244.4 kB / 480.4 MB, free: 7.367 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001177/1.066, allocations: 12.25 kB / 480.4 MB, free: 7.355 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002725/1.066, allocations: 11.98 kB / 480.4 MB, free: 7.344 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002631/1.067, allocations: 31.95 kB / 480.5 MB, free: 7.312 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001561/1.067, allocations: 67.88 kB / 480.5 MB, free: 7.246 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001048/1.068, allocations: 390.8 kB / 480.9 MB, free: 6.871 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.5e-07/1.068, allocations: 0 / 480.9 MB, free: 6.871 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005694/1.069, allocations: 44 kB / 481 MB, free: 6.828 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,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.0003378/1.069, allocations: 113.6 kB / 481.1 MB, free: 6.707 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001249/1.07, allocations: 441.5 kB / 481.5 MB, free: 6.227 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.251e-06/1.07, allocations: 0 / 481.5 MB, free: 6.227 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000713/1.071, allocations: 381.6 kB / 481.9 MB, free: 5.805 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001045/1.072, allocations: 96.47 kB / 482 MB, free: 5.711 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002734/1.075, allocations: 0.7808 MB / 482.8 MB, free: 4.898 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001313/1.076, allocations: 0.814 MB / 483.6 MB, free: 4.059 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.547e-05/1.076, allocations: 11.44 kB / 483.6 MB, free: 4.047 MB / 362.7 MB Notification: Performance of SimCode: time 8.51e-07/1.076, allocations: 0 / 483.6 MB, free: 4.047 MB / 362.7 MB Notification: Performance of Templates: time 0.01064/1.087, allocations: 2.65 MB / 486.2 MB, free: 1.336 MB / 362.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.NRXFER.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.NRXFER.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.NRXFER.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.NRXFER --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.NRXFER.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.NRXFER_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Digital/Examples/NRXFER/NRXFER.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.NRXFER.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches