Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER") translateModel(Modelica.Electrical.Digital.Examples.NRXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nRXFERGATE.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00136/0.001361, allocations: 180.6 kB / 16.39 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.359/1.359, allocations: 223.2 MB / 240.3 MB, free: 11.86 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008178/0.0008179, allocations: 95.58 kB / 291.5 MB, free: 10.89 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002749/0.0002749, allocations: 11.94 kB / 351.1 MB, free: 15.29 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2709/0.2711, allocations: 50.4 MB / 401.5 MB, free: 32.57 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1099/0.3811, allocations: 82.25 MB / 483.7 MB, free: 14.21 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002363/0.3814, allocations: 68.66 kB / 483.8 MB, free: 14.14 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03365/0.4151, allocations: 16.64 MB / 0.4887 GB, free: 13.57 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.627e-06/0.4151, allocations: 0 / 0.4887 GB, free: 13.57 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.374e-05/0.4152, allocations: 4 kB / 0.4887 GB, free: 13.57 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.0008444/0.416, allocations: 0.6721 MB / 0.4894 GB, free: 12.82 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.133e-05/0.4161, allocations: 8.031 kB / 0.4894 GB, free: 12.82 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.592e-05/0.4162, allocations: 35.62 kB / 0.4894 GB, free: 12.78 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00038/0.4165, allocations: 257.4 kB / 0.4897 GB, free: 12.49 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.021e-05/0.4166, allocations: 4 kB / 0.4897 GB, free: 12.49 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.417e-05/0.4166, allocations: 12 kB / 0.4897 GB, free: 12.48 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003125/0.4169, allocations: 133.5 kB / 0.4898 GB, free: 12.34 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.417, allocations: 0 / 0.4898 GB, free: 12.34 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.636e-05/0.417, allocations: 4 kB / 0.4898 GB, free: 12.34 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.417, allocations: 0 / 0.4898 GB, free: 12.34 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001418/0.4172, allocations: 63.91 kB / 0.4899 GB, free: 12.27 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007671/0.4179, allocations: 472.5 kB / 0.4903 GB, free: 11.76 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001962/0.4181, allocations: 90.55 kB / 0.4904 GB, free: 11.66 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.343e-05/0.4182, allocations: 0 / 0.4904 GB, free: 11.66 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003275/0.4185, allocations: 206.7 kB / 0.4906 GB, free: 11.44 MB / 378.7 MB Notification: Performance of pre-optimization done (n=13): time 1.393e-06/0.4185, allocations: 0 / 0.4906 GB, free: 11.44 MB / 378.7 MB Notification: Performance of matching and sorting (n=13): time 0.0009152/0.4194, allocations: 0.6113 MB / 0.4912 GB, free: 10.76 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000113/0.4196, allocations: 174.2 kB / 0.4914 GB, free: 10.55 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005816/0.4201, allocations: 460.5 kB / 0.4918 GB, free: 10.1 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.657e-05/0.4202, allocations: 33.7 kB / 0.4918 GB, free: 10.06 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.407e-05/0.4203, allocations: 97.08 kB / 0.4919 GB, free: 9.957 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.442e-05/0.4203, allocations: 31.69 kB / 0.492 GB, free: 9.926 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.597e-05/0.4204, allocations: 4 kB / 0.492 GB, free: 9.922 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001409/0.4205, allocations: 326.8 kB / 0.4923 GB, free: 9.594 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001278/0.4206, allocations: 52.08 kB / 0.4923 GB, free: 9.543 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000132/0.4208, allocations: 81.62 kB / 0.4924 GB, free: 9.457 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001836/0.421, allocations: 162.8 kB / 0.4926 GB, free: 9.273 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/0.421, allocations: 3.938 kB / 0.4926 GB, free: 9.27 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005505/0.4215, allocations: 388.1 kB / 0.4929 GB, free: 8.859 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001106/0.4217, allocations: 126.8 kB / 0.4931 GB, free: 8.711 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/0.4217, allocations: 0 / 0.4931 GB, free: 8.711 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.965e-05/0.4217, allocations: 0 / 0.4931 GB, free: 8.711 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.805e-05/0.4217, allocations: 0 / 0.4931 GB, free: 8.711 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/0.4217, allocations: 4 kB / 0.4931 GB, free: 8.707 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001388/0.4219, allocations: 19.95 kB / 0.4931 GB, free: 8.688 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.714e-05/0.422, allocations: 55.94 kB / 0.4931 GB, free: 8.633 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.0003973/0.4224, allocations: 366.8 kB / 0.4935 GB, free: 8.242 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.528e-05/0.4225, allocations: 43.48 kB / 0.4935 GB, free: 8.199 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001141/0.4226, allocations: 63.16 kB / 0.4936 GB, free: 8.137 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.4226, allocations: 0 / 0.4936 GB, free: 8.137 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.4226, allocations: 0 / 0.4936 GB, free: 8.137 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.184e-06/0.4226, allocations: 7.984 kB / 0.4936 GB, free: 8.129 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009969/0.4236, allocations: 0.7978 MB / 0.4944 GB, free: 7.25 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.516e-06/0.4236, allocations: 0 / 0.4944 GB, free: 7.25 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.29e-06/0.4236, allocations: 3.938 kB / 0.4944 GB, free: 7.246 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.4236, allocations: 0 / 0.4944 GB, free: 7.246 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.554e-05/0.4237, allocations: 19.98 kB / 0.4944 GB, free: 7.227 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.4237, allocations: 192 / 0.4944 GB, free: 7.227 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.4237, allocations: 4 kB / 0.4944 GB, free: 7.223 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006286/0.4243, allocations: 0.5213 MB / 0.4949 GB, free: 6.66 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003466/0.4247, allocations: 252.3 kB / 0.4952 GB, free: 6.395 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.465e-05/0.4248, allocations: 12 kB / 0.4952 GB, free: 6.383 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001334/0.4249, allocations: 11.98 kB / 0.4952 GB, free: 6.371 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001211/0.425, allocations: 27.97 kB / 0.4952 GB, free: 6.344 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.192e-05/0.4251, allocations: 59.92 kB / 0.4953 GB, free: 6.285 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004667/0.4256, allocations: 386.9 kB / 0.4956 GB, free: 5.91 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4256, allocations: 0 / 0.4956 GB, free: 5.91 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002807/0.4259, allocations: 44 kB / 0.4957 GB, free: 5.867 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.0001759/0.4261, allocations: 125.8 kB / 0.4958 GB, free: 5.734 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005952/0.4267, allocations: 433.5 kB / 0.4962 GB, free: 5.262 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.4267, allocations: 0 / 0.4962 GB, free: 5.262 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003995/0.4271, allocations: 377.5 kB / 0.4966 GB, free: 4.844 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005181/0.4276, allocations: 96.12 kB / 0.4967 GB, free: 4.746 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001297/0.4289, allocations: 0.7349 MB / 0.4974 GB, free: 3.98 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004957/0.4294, allocations: 0.8103 MB / 0.4982 GB, free: 3.145 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.526e-05/0.4295, allocations: 12.53 kB / 0.4982 GB, free: 3.129 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.712e-05/0.4295, allocations: 11.44 kB / 0.4982 GB, free: 3.117 MB / 378.7 MB Notification: Performance of SimCode: time 2.11e-07/0.4295, allocations: 0 / 0.4982 GB, free: 3.117 MB / 378.7 MB Notification: Performance of Templates: time 0.2551/0.6846, allocations: 4.05 MB / 0.5021 GB, free: 100.4 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER.sim & ./Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/NRXFER/NRXFER.csv","../files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches