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.001428/0.001428, allocations: 177.7 kB / 8.698 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.461/1.461, allocations: 205.3 MB / 214.4 MB, free: 1.738 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008215/0.0008215, allocations: 86.22 kB / 262.4 MB, free: 1.684 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.81e-05/1.813e-05, allocations: 4 kB / 315.5 MB, free: 22.73 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08775/0.08778, allocations: 47.59 MB / 363.1 MB, free: 7.078 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3127/0.4005, allocations: 80.85 MB / 443.9 MB, free: 14.78 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000215/0.4008, allocations: 69.22 kB / 444 MB, free: 14.74 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03113/0.4319, allocations: 16.42 MB / 460.4 MB, free: 1.449 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.432, allocations: 0 / 460.4 MB, free: 1.449 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.879e-06/0.432, allocations: 4 kB / 460.4 MB, free: 1.445 MB / 330.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.000572/0.4326, allocations: 0.6169 MB / 461 MB, free: 0.7773 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/0.4326, allocations: 8.031 kB / 461 MB, free: 0.7695 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001108/0.4328, allocations: 35.62 kB / 461.1 MB, free: 0.7344 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002982/0.4331, allocations: 261.8 kB / 461.3 MB, free: 456 kB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.114e-05/0.4331, allocations: 4 kB / 461.3 MB, free: 452 kB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.799e-05/0.4331, allocations: 8 kB / 461.3 MB, free: 444 kB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001328/0.4333, allocations: 49.17 kB / 461.4 MB, free: 412 kB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002022/0.4335, allocations: 124 kB / 461.5 MB, free: 300 kB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.4335, allocations: 0 / 461.5 MB, free: 300 kB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.68e-05/0.4335, allocations: 4 kB / 461.5 MB, free: 296 kB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.4336, allocations: 0 / 461.5 MB, free: 296 kB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006209/0.4342, allocations: 440.5 kB / 461.9 MB, free: 15.87 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001359/0.4343, allocations: 94.62 kB / 462 MB, free: 15.8 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001057/0.4344, allocations: 78.78 kB / 462.1 MB, free: 15.75 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.063e-06/0.4345, allocations: 3.938 kB / 462.1 MB, free: 15.75 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002471/0.4347, allocations: 199.9 kB / 462.3 MB, free: 15.55 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 1.984e-06/0.4347, allocations: 0 / 462.3 MB, free: 15.55 MB / 346.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004763/0.4352, allocations: 274.9 kB / 462.6 MB, free: 15.32 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.904e-05/0.4353, allocations: 165.7 kB / 462.7 MB, free: 15.12 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004748/0.4358, allocations: 444.9 kB / 463.2 MB, free: 14.75 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.444e-05/0.4358, allocations: 33.69 kB / 463.2 MB, free: 14.71 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.862e-05/0.4359, allocations: 99.2 kB / 463.3 MB, free: 14.62 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.541e-05/0.4359, allocations: 26.95 kB / 463.3 MB, free: 14.61 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.793e-05/0.436, allocations: 4 kB / 463.3 MB, free: 14.6 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001069/0.4361, allocations: 330.4 kB / 463.7 MB, free: 14.27 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.051e-05/0.4362, allocations: 45.81 kB / 463.7 MB, free: 14.25 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.359e-05/0.4362, allocations: 54.48 kB / 463.8 MB, free: 14.21 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.301e-05/0.4363, allocations: 49.2 kB / 463.8 MB, free: 14.18 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.4363, allocations: 3.938 kB / 463.8 MB, free: 14.17 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003841/0.4367, allocations: 247.8 kB / 464 MB, free: 13.97 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.179e-05/0.4368, allocations: 122.2 kB / 464.2 MB, free: 13.83 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.4368, allocations: 0 / 464.2 MB, free: 13.83 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.4368, allocations: 0 / 464.2 MB, free: 13.83 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.137e-05/0.4369, allocations: 8 kB / 464.2 MB, free: 13.82 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.038e-06/0.4369, allocations: 0 / 464.2 MB, free: 13.82 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001188/0.437, allocations: 11.98 kB / 464.2 MB, free: 13.81 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.285e-05/0.4371, allocations: 55.94 kB / 464.2 MB, free: 13.76 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,$whenCondition2,e_table.y,x_table.y,nRXFERGATE.nextstate,nRXFERGATE.yy,$PRE.nRXFERGATE.inertialDelaySensitive.x,nRXFERGATE.inertialDelaySensitive.x,$PRE.nRXFERGATE.inertialDelaySensitive.y,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 () * 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.0001693/0.4373, allocations: 252.9 kB / 464.5 MB, free: 13.48 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.772e-05/0.4373, allocations: 39.53 kB / 464.5 MB, free: 13.45 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.386e-05/0.4374, allocations: 62.38 kB / 464.6 MB, free: 13.39 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.4374, allocations: 0 / 464.6 MB, free: 13.39 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.4374, allocations: 4 kB / 464.6 MB, free: 13.39 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.4374, allocations: 4 kB / 464.6 MB, free: 13.38 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006944/0.4381, allocations: 0.6468 MB / 465.2 MB, free: 12.79 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.4382, allocations: 0 / 465.2 MB, free: 12.79 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.412e-06/0.4382, allocations: 0 / 465.2 MB, free: 12.79 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.4382, allocations: 7.938 kB / 465.2 MB, free: 12.78 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.502e-05/0.4382, allocations: 11.98 kB / 465.3 MB, free: 12.77 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.4382, allocations: 0 / 465.3 MB, free: 12.77 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.4382, allocations: 4 kB / 465.3 MB, free: 12.77 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004277/0.4387, allocations: 390.8 kB / 465.6 MB, free: 12.43 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000275/0.4389, allocations: 247.7 kB / 465.9 MB, free: 12.21 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.52e-05/0.439, allocations: 8 kB / 465.9 MB, free: 12.2 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001369/0.4392, allocations: 11.98 kB / 465.9 MB, free: 12.19 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001065/0.4393, allocations: 31.16 kB / 465.9 MB, free: 12.16 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.586e-05/0.4393, allocations: 59.75 kB / 466 MB, free: 12.11 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003798/0.4397, allocations: 370.3 kB / 466.4 MB, free: 11.81 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4397, allocations: 4 kB / 466.4 MB, free: 11.8 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002707/0.44, allocations: 40 kB / 466.4 MB, free: 11.77 MB / 346.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) * 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.0001483/0.4402, allocations: 116.8 kB / 466.5 MB, free: 11.64 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003759/0.4405, allocations: 418.4 kB / 466.9 MB, free: 11.27 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.4406, allocations: 0 / 466.9 MB, free: 11.27 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002569/0.4408, allocations: 369.9 kB / 467.3 MB, free: 10.94 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004833/0.4413, allocations: 96.38 kB / 467.4 MB, free: 10.86 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008186/0.4421, allocations: 0.5222 MB / 467.9 MB, free: 10.37 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003932/0.4425, allocations: 0.8089 MB / 468.7 MB, free: 9.547 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.559e-05/0.4426, allocations: 8.656 kB / 468.7 MB, free: 9.539 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.879e-05/0.4426, allocations: 11.44 kB / 468.7 MB, free: 9.527 MB / 346.7 MB Notification: Performance of SimCode: time 2.8e-07/0.4426, allocations: 0 / 468.7 MB, free: 9.527 MB / 346.7 MB Notification: Performance of Templates: time 0.006286/0.4489, allocations: 3.909 MB / 472.6 MB, free: 5.539 MB / 346.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