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.001093/0.001093, allocations: 180 kB / 17.01 MB, free: 5.125 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.739/1.739, allocations: 205.4 MB / 223.1 MB, free: 9.125 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.0008009/0.000801, allocations: 96.16 kB / 271.5 MB, free: 8.363 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002705/0.0002705, allocations: 8 kB / 328.2 MB, free: 15.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3694/0.3696, allocations: 47.58 MB / 375.8 MB, free: 45.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1219/0.4916, allocations: 81.36 MB / 457.2 MB, free: 15.3 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003023/0.4919, allocations: 71.95 kB / 457.2 MB, free: 15.23 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03354/0.5255, allocations: 16.42 MB / 473.7 MB, free: 14.84 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.5256, allocations: 0 / 473.7 MB, free: 14.84 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.121e-05/0.5256, allocations: 4 kB / 473.7 MB, free: 14.84 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.0007432/0.5263, allocations: 0.6721 MB / 474.3 MB, free: 14.09 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.667e-05/0.5264, allocations: 8.031 kB / 474.3 MB, free: 14.08 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.527e-05/0.5265, allocations: 35.62 kB / 474.4 MB, free: 14.05 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000338/0.5268, allocations: 257.4 kB / 474.6 MB, free: 13.76 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.238e-05/0.5268, allocations: 7.938 kB / 474.6 MB, free: 13.75 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.981e-05/0.5269, allocations: 12 kB / 474.7 MB, free: 13.74 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003056/0.5272, allocations: 133.6 kB / 474.8 MB, free: 13.6 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.5272, allocations: 3.938 kB / 474.8 MB, free: 13.6 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.678e-05/0.5272, allocations: 4 kB / 474.8 MB, free: 13.59 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.5273, allocations: 0 / 474.8 MB, free: 13.59 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001441/0.5274, allocations: 63.95 kB / 474.9 MB, free: 13.53 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000785/0.5282, allocations: 460.5 kB / 475.3 MB, free: 13.03 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001954/0.5284, allocations: 94.48 kB / 475.4 MB, free: 12.93 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.258e-05/0.5284, allocations: 4 kB / 475.4 MB, free: 12.93 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003631/0.5288, allocations: 198.8 kB / 475.6 MB, free: 12.71 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 1.794e-06/0.5288, allocations: 0 / 475.6 MB, free: 12.71 MB / 362.7 MB Notification: Performance of matching and sorting (n=13): time 0.001068/0.5299, allocations: 0.6154 MB / 476.2 MB, free: 12.02 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001511/0.5301, allocations: 174.2 kB / 476.4 MB, free: 11.82 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006758/0.5308, allocations: 464.5 kB / 476.8 MB, free: 11.36 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.774e-05/0.5308, allocations: 33.7 kB / 476.9 MB, free: 11.32 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.476e-05/0.5309, allocations: 93.14 kB / 477 MB, free: 11.22 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.701e-05/0.531, allocations: 27.69 kB / 477 MB, free: 11.19 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.882e-05/0.531, allocations: 4 kB / 477 MB, free: 11.19 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002016/0.5312, allocations: 326.8 kB / 477.3 MB, free: 10.86 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001322/0.5313, allocations: 59.97 kB / 477.4 MB, free: 10.8 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001556/0.5315, allocations: 81.28 kB / 477.4 MB, free: 10.72 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002124/0.5317, allocations: 166.8 kB / 477.6 MB, free: 10.53 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.5317, allocations: 0 / 477.6 MB, free: 10.53 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006161/0.5324, allocations: 372.2 kB / 478 MB, free: 10.14 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001555/0.5325, allocations: 126.8 kB / 478.1 MB, free: 9.988 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.459e-05/0.5326, allocations: 4 kB / 478.1 MB, free: 9.984 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.829e-05/0.5326, allocations: 11.92 kB / 478.1 MB, free: 9.973 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.481e-05/0.5326, allocations: 0 / 478.1 MB, free: 9.973 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.057e-05/0.5327, allocations: 0 / 478.1 MB, free: 9.973 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001708/0.5328, allocations: 23.95 kB / 478.1 MB, free: 9.949 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.504e-05/0.5329, allocations: 56.05 kB / 478.2 MB, free: 9.895 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.0005296/0.5335, allocations: 366.7 kB / 478.5 MB, free: 9.504 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.924e-05/0.5336, allocations: 39.53 kB / 478.6 MB, free: 9.465 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001406/0.5337, allocations: 63.16 kB / 478.6 MB, free: 9.406 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.729e-06/0.5337, allocations: 4 kB / 478.6 MB, free: 9.402 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.051e-05/0.5337, allocations: 0 / 478.6 MB, free: 9.402 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.045e-06/0.5338, allocations: 3.984 kB / 478.7 MB, free: 9.398 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001252/0.535, allocations: 0.8056 MB / 479.5 MB, free: 8.512 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.535, allocations: 0 / 479.5 MB, free: 8.512 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.029e-05/0.5351, allocations: 4 kB / 479.5 MB, free: 8.508 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.5351, allocations: 0 / 479.5 MB, free: 8.508 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.733e-05/0.5351, allocations: 15.97 kB / 479.5 MB, free: 8.492 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.5351, allocations: 4 kB / 479.5 MB, free: 8.488 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.5351, allocations: 0 / 479.5 MB, free: 8.488 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007041/0.5358, allocations: 0.5217 MB / 480 MB, free: 7.926 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003397/0.5362, allocations: 244.4 kB / 480.2 MB, free: 7.668 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.841e-05/0.5363, allocations: 12 kB / 480.3 MB, free: 7.656 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001472/0.5364, allocations: 15.92 kB / 480.3 MB, free: 7.641 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001275/0.5366, allocations: 27.97 kB / 480.3 MB, free: 7.613 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.648e-05/0.5366, allocations: 60.05 kB / 480.4 MB, free: 7.555 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004923/0.5371, allocations: 386.9 kB / 480.7 MB, free: 7.184 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.5371, allocations: 0 / 480.7 MB, free: 7.184 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002879/0.5374, allocations: 48 kB / 480.8 MB, free: 7.137 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.0001782/0.5376, allocations: 121.8 kB / 480.9 MB, free: 7.008 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006367/0.5383, allocations: 433.5 kB / 481.3 MB, free: 6.535 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.063e-06/0.5383, allocations: 0 / 481.3 MB, free: 6.535 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003919/0.5387, allocations: 381.5 kB / 481.7 MB, free: 6.113 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005469/0.5392, allocations: 88.56 kB / 481.8 MB, free: 6.027 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001252/0.5405, allocations: 0.744 MB / 482.5 MB, free: 5.254 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005391/0.541, allocations: 0.8179 MB / 483.3 MB, free: 4.41 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.402e-05/0.5411, allocations: 12.59 kB / 483.4 MB, free: 4.395 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.393e-05/0.5412, allocations: 11.44 kB / 483.4 MB, free: 4.383 MB / 362.7 MB Notification: Performance of SimCode: time 6.61e-07/0.5412, allocations: 0 / 483.4 MB, free: 4.383 MB / 362.7 MB Notification: Performance of Templates: time 0.007399/0.5486, allocations: 4.052 MB / 487.4 MB, free: 248 kB / 362.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/jenkins/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