Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.001444/0.001444, allocations: 179 kB / 18.04 MB, free: 3.629 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.402/1.402, allocations: 205.4 MB / 224.2 MB, free: 9.031 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.0007708/0.0007707, allocations: 86.08 kB / 272.5 MB, free: 8.266 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003059/0.0003061, allocations: 12 kB / 329.4 MB, free: 15.28 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2196/0.2199, allocations: 47.57 MB / 377 MB, free: 45.6 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09402/0.314, allocations: 81.4 MB / 458.4 MB, free: 15.14 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002236/0.3142, allocations: 67.97 kB / 458.5 MB, free: 15.07 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03384/0.3481, allocations: 16.43 MB / 474.9 MB, free: 14.68 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.3481, allocations: 0 / 474.9 MB, free: 14.68 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.269e-05/0.3482, allocations: 4 kB / 474.9 MB, free: 14.68 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.0007334/0.3489, allocations: 0.6723 MB / 475.6 MB, free: 13.93 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.349, allocations: 11.97 kB / 475.6 MB, free: 13.91 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.392e-05/0.3491, allocations: 36.56 kB / 475.6 MB, free: 13.88 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003398/0.3494, allocations: 266.4 kB / 475.9 MB, free: 13.58 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.748e-05/0.3494, allocations: 12.36 kB / 475.9 MB, free: 13.57 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.676e-05/0.3495, allocations: 12.31 kB / 475.9 MB, free: 13.56 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002725/0.3498, allocations: 126.2 kB / 476 MB, free: 13.43 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.3498, allocations: 4.188 kB / 476 MB, free: 13.43 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.262e-05/0.3498, allocations: 3.938 kB / 476 MB, free: 13.42 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.958e-06/0.3498, allocations: 8 kB / 476.1 MB, free: 13.41 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001409/0.35, allocations: 59.91 kB / 476.1 MB, free: 13.36 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000661/0.3506, allocations: 460.5 kB / 476.6 MB, free: 12.86 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001895/0.3508, allocations: 94.48 kB / 476.7 MB, free: 12.75 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001484/0.351, allocations: 88.89 kB / 476.7 MB, free: 12.66 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.135e-05/0.351, allocations: 4 kB / 476.7 MB, free: 12.66 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002766/0.3513, allocations: 202.7 kB / 476.9 MB, free: 12.44 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 1.853e-06/0.3513, allocations: 4 kB / 476.9 MB, free: 12.43 MB / 362.7 MB Notification: Performance of matching and sorting (n=13): time 0.0007846/0.3521, allocations: 484 kB / 477.4 MB, free: 11.93 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.842e-05/0.3522, allocations: 162.2 kB / 477.6 MB, free: 11.73 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006463/0.3529, allocations: 0.5169 MB / 478.1 MB, free: 11.21 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.867e-05/0.3529, allocations: 29.7 kB / 478.1 MB, free: 11.18 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.245e-05/0.353, allocations: 97.12 kB / 478.2 MB, free: 11.07 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.749e-05/0.353, allocations: 23.72 kB / 478.2 MB, free: 11.05 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.242e-05/0.3531, allocations: 8 kB / 478.3 MB, free: 11.04 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001096/0.3532, allocations: 326.8 kB / 478.6 MB, free: 10.71 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001437/0.3533, allocations: 51.97 kB / 478.6 MB, free: 10.66 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001295/0.3535, allocations: 81.61 kB / 478.7 MB, free: 10.58 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003288/0.3538, allocations: 347.7 kB / 479 MB, free: 10.18 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.3538, allocations: 0 / 479 MB, free: 10.18 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005087/0.3543, allocations: 392 kB / 479.4 MB, free: 9.77 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.074e-05/0.3544, allocations: 126.8 kB / 479.5 MB, free: 9.621 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.3544, allocations: 0 / 479.5 MB, free: 9.621 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.3544, allocations: 0 / 479.5 MB, free: 9.621 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.914e-05/0.3545, allocations: 4 kB / 479.6 MB, free: 9.617 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-06/0.3545, allocations: 0 / 479.6 MB, free: 9.617 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001314/0.3546, allocations: 16.12 kB / 479.6 MB, free: 9.602 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.64e-05/0.3547, allocations: 64 kB / 479.6 MB, free: 9.539 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.0003125/0.355, allocations: 367.6 kB / 480 MB, free: 9.148 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.131e-05/0.3551, allocations: 39.53 kB / 480 MB, free: 9.109 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.876e-05/0.3552, allocations: 63.16 kB / 480.1 MB, free: 9.043 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-06/0.3552, allocations: 0 / 480.1 MB, free: 9.043 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.3552, allocations: 4 kB / 480.1 MB, free: 9.039 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.3552, allocations: 3.938 kB / 480.1 MB, free: 9.035 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009383/0.3562, allocations: 0.8251 MB / 480.9 MB, free: 8.129 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.3562, allocations: 0 / 480.9 MB, free: 8.129 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.884e-06/0.3562, allocations: 3.984 kB / 480.9 MB, free: 8.125 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.3562, allocations: 0 / 480.9 MB, free: 8.125 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.866e-05/0.3562, allocations: 12 kB / 480.9 MB, free: 8.113 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.3562, allocations: 0 / 480.9 MB, free: 8.113 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.3562, allocations: 0 / 480.9 MB, free: 8.113 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006388/0.3569, allocations: 0.533 MB / 481.5 MB, free: 7.539 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000294/0.3572, allocations: 252.4 kB / 481.7 MB, free: 7.273 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.487e-05/0.3572, allocations: 12 kB / 481.7 MB, free: 7.262 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000143/0.3574, allocations: 11.98 kB / 481.7 MB, free: 7.25 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.723e-05/0.3575, allocations: 27.97 kB / 481.8 MB, free: 7.223 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.897e-05/0.3576, allocations: 63.86 kB / 481.8 MB, free: 7.16 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004284/0.358, allocations: 386.9 kB / 482.2 MB, free: 6.789 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.358, allocations: 0 / 482.2 MB, free: 6.789 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002757/0.3583, allocations: 48 kB / 482.3 MB, free: 6.742 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.0001358/0.3584, allocations: 125.7 kB / 482.4 MB, free: 6.609 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004991/0.3589, allocations: 437.5 kB / 482.8 MB, free: 6.133 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.359, allocations: 0 / 482.8 MB, free: 6.133 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003171/0.3593, allocations: 377.6 kB / 483.2 MB, free: 5.715 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005448/0.3598, allocations: 100.7 kB / 483.3 MB, free: 5.617 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001121/0.361, allocations: 0.7402 MB / 484 MB, free: 4.852 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004682/0.3615, allocations: 0.8101 MB / 484.8 MB, free: 4.016 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.97e-05/0.3615, allocations: 4.672 kB / 484.8 MB, free: 4.008 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.264e-05/0.3615, allocations: 11.44 kB / 484.8 MB, free: 3.996 MB / 362.7 MB Notification: Performance of SimCode: time 2.6e-07/0.3615, allocations: 0 / 484.8 MB, free: 3.996 MB / 362.7 MB Notification: Performance of Templates: time 0.007229/0.3688, allocations: 4.099 MB / 488.9 MB, free: 15.81 MB / 378.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER.sim & ./Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_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_Modelica.Electrical.Digital.Examples.NRXFER.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches