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.001104/0.001104, allocations: 173.2 kB / 17.4 MB, free: 4.297 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.434/1.434, allocations: 223.3 MB / 241.4 MB, free: 9.965 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.0007416/0.0007416, allocations: 88.67 kB / 292.6 MB, free: 10.57 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002905/0.0002905, allocations: 15.94 kB / 352.3 MB, free: 14.81 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.249/0.2493, allocations: 50.41 MB / 402.7 MB, free: 32.42 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1098/0.3591, allocations: 82.28 MB / 485 MB, free: 14.03 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001984/0.3594, allocations: 71.95 kB / 485.1 MB, free: 13.96 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03319/0.3926, allocations: 16.63 MB / 0.49 GB, free: 13.4 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.794e-06/0.3926, allocations: 3.938 kB / 0.49 GB, free: 13.4 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.56e-05/0.3926, allocations: 4 kB / 0.49 GB, free: 13.39 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.0007944/0.3934, allocations: 0.6761 MB / 0.4906 GB, free: 12.64 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.445e-05/0.3935, allocations: 12.03 kB / 0.4906 GB, free: 12.63 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.468e-05/0.3936, allocations: 36.56 kB / 0.4907 GB, free: 12.59 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003148/0.3939, allocations: 274.3 kB / 0.4909 GB, free: 12.29 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.127e-05/0.394, allocations: 4.375 kB / 0.4909 GB, free: 12.29 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.719e-05/0.394, allocations: 12.36 kB / 0.491 GB, free: 12.27 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002708/0.3943, allocations: 130.2 kB / 0.4911 GB, free: 12.14 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.183e-06/0.3943, allocations: 192 / 0.4911 GB, free: 12.14 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.462e-05/0.3943, allocations: 11.94 kB / 0.4911 GB, free: 12.13 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.988e-06/0.3943, allocations: 4 kB / 0.4911 GB, free: 12.12 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001401/0.3945, allocations: 55.97 kB / 0.4911 GB, free: 12.07 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006949/0.3952, allocations: 468.4 kB / 0.4916 GB, free: 11.56 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002044/0.3954, allocations: 90.55 kB / 0.4917 GB, free: 11.46 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001864/0.3956, allocations: 88.89 kB / 0.4918 GB, free: 11.38 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.595e-06/0.3956, allocations: 0 / 0.4918 GB, free: 11.38 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003234/0.3959, allocations: 210.1 kB / 0.492 GB, free: 11.15 MB / 378.7 MB Notification: Performance of pre-optimization done (n=13): time 2.205e-06/0.396, allocations: 0 / 0.492 GB, free: 11.15 MB / 378.7 MB Notification: Performance of matching and sorting (n=13): time 0.000855/0.3968, allocations: 475.9 kB / 0.4924 GB, free: 10.65 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001087/0.3969, allocations: 166.2 kB / 0.4926 GB, free: 10.45 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006753/0.3976, allocations: 0.509 MB / 0.4931 GB, free: 9.938 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.21e-05/0.3977, allocations: 37.7 kB / 0.4931 GB, free: 9.895 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.139e-05/0.3977, allocations: 97.12 kB / 0.4932 GB, free: 9.793 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.051e-05/0.3978, allocations: 27.66 kB / 0.4932 GB, free: 9.766 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.374e-05/0.3978, allocations: 112 / 0.4932 GB, free: 9.766 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000135/0.3979, allocations: 330.7 kB / 0.4935 GB, free: 9.434 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000127/0.3981, allocations: 59.97 kB / 0.4936 GB, free: 9.375 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001427/0.3982, allocations: 77.67 kB / 0.4937 GB, free: 9.293 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003562/0.3986, allocations: 347.1 kB / 0.494 GB, free: 8.898 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.3986, allocations: 0 / 0.494 GB, free: 8.898 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000558/0.3992, allocations: 388.4 kB / 0.4944 GB, free: 8.488 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000102/0.3993, allocations: 126.8 kB / 0.4945 GB, free: 8.34 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.3993, allocations: 4 kB / 0.4945 GB, free: 8.336 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.3993, allocations: 0 / 0.4945 GB, free: 8.336 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.732e-05/0.3993, allocations: 0 / 0.4945 GB, free: 8.336 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.3994, allocations: 3.938 kB / 0.4945 GB, free: 8.332 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001528/0.3995, allocations: 12 kB / 0.4945 GB, free: 8.32 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.981e-05/0.3996, allocations: 63.95 kB / 0.4946 GB, free: 8.258 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.0004004/0.4, allocations: 374.8 kB / 0.4949 GB, free: 7.859 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.402e-05/0.4001, allocations: 39.53 kB / 0.495 GB, free: 7.82 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001078/0.4002, allocations: 63.16 kB / 0.495 GB, free: 7.758 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.636e-06/0.4002, allocations: 3.938 kB / 0.495 GB, free: 7.754 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-06/0.4002, allocations: 0 / 0.495 GB, free: 7.754 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.4002, allocations: 0 / 0.495 GB, free: 7.754 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001033/0.4013, allocations: 0.8247 MB / 0.4958 GB, free: 6.852 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.4013, allocations: 0 / 0.4958 GB, free: 6.852 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.23e-06/0.4013, allocations: 0 / 0.4958 GB, free: 6.852 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.4013, allocations: 0 / 0.4958 GB, free: 6.852 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.125e-05/0.4013, allocations: 19.98 kB / 0.4959 GB, free: 6.832 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.4013, allocations: 0 / 0.4959 GB, free: 6.832 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.4013, allocations: 0 / 0.4959 GB, free: 6.832 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006835/0.402, allocations: 0.533 MB / 0.4964 GB, free: 6.258 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003384/0.4024, allocations: 248.3 kB / 0.4966 GB, free: 5.996 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.957e-05/0.4025, allocations: 16 kB / 0.4966 GB, free: 5.98 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001333/0.4026, allocations: 11.98 kB / 0.4966 GB, free: 5.969 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001045/0.4027, allocations: 27.97 kB / 0.4967 GB, free: 5.941 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.717e-05/0.4028, allocations: 59.88 kB / 0.4967 GB, free: 5.883 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004851/0.4033, allocations: 394.8 kB / 0.4971 GB, free: 5.504 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4033, allocations: 3.938 kB / 0.4971 GB, free: 5.5 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000304/0.4036, allocations: 40 kB / 0.4972 GB, free: 5.461 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.0001677/0.4038, allocations: 121.9 kB / 0.4973 GB, free: 5.328 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000536/0.4043, allocations: 433.7 kB / 0.4977 GB, free: 4.855 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.4043, allocations: 0 / 0.4977 GB, free: 4.855 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003606/0.4047, allocations: 381.6 kB / 0.498 GB, free: 4.434 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005806/0.4053, allocations: 102.9 kB / 0.4981 GB, free: 4.332 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001218/0.4065, allocations: 0.7311 MB / 0.4989 GB, free: 3.578 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004872/0.407, allocations: 0.8064 MB / 0.4996 GB, free: 2.746 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.645e-05/0.4071, allocations: 8.672 kB / 0.4997 GB, free: 2.734 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.544e-05/0.4071, allocations: 7.438 kB / 0.4997 GB, free: 2.727 MB / 378.7 MB Notification: Performance of SimCode: time 6.21e-07/0.4071, allocations: 0 / 0.4997 GB, free: 2.727 MB / 378.7 MB Notification: Performance of Templates: time 0.2083/0.6154, allocations: 4.088 MB / 0.5037 GB, free: 100.2 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/jenkins1/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