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.0009956/0.0009956, allocations: 172.4 kB / 14.1 MB, free: 1.223 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.523/1.523, allocations: 205.2 MB / 219.8 MB, free: 14.2 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.0008721/0.0008721, allocations: 74.73 kB / 268 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.549e-05/2.551e-05, allocations: 4 kB / 322.4 MB, free: 17.35 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09462/0.09466, allocations: 47.58 MB / 370 MB, free: 1.711 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3197/0.4144, allocations: 81.26 MB / 451.3 MB, free: 12.01 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002238/0.4147, allocations: 68.41 kB / 451.3 MB, free: 11.97 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03236/0.4471, allocations: 16.53 MB / 467.9 MB, free: 13.05 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.4471, allocations: 0 / 467.9 MB, free: 13.05 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.426e-05/0.4472, allocations: 4 kB / 467.9 MB, free: 13.04 MB / 346.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.0006565/0.4478, allocations: 0.6174 MB / 468.5 MB, free: 12.36 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.533e-05/0.4479, allocations: 8.031 kB / 468.5 MB, free: 12.35 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.751e-05/0.448, allocations: 35.62 kB / 468.5 MB, free: 12.31 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003414/0.4483, allocations: 257.4 kB / 468.8 MB, free: 12.02 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.45e-05/0.4484, allocations: 12 kB / 468.8 MB, free: 12.01 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.207e-05/0.4484, allocations: 8 kB / 468.8 MB, free: 12 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002844/0.4487, allocations: 125.6 kB / 468.9 MB, free: 11.88 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.4487, allocations: 0 / 468.9 MB, free: 11.88 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.533e-05/0.4487, allocations: 11.92 kB / 468.9 MB, free: 11.86 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.4487, allocations: 0 / 468.9 MB, free: 11.86 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000124/0.4489, allocations: 55.98 kB / 469 MB, free: 11.81 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006785/0.4496, allocations: 472.4 kB / 469.5 MB, free: 11.3 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001609/0.4497, allocations: 94.56 kB / 469.6 MB, free: 11.2 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001272/0.4499, allocations: 80.91 kB / 469.6 MB, free: 11.11 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.269e-05/0.4499, allocations: 112 / 469.6 MB, free: 11.11 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002917/0.4502, allocations: 210.6 kB / 469.8 MB, free: 10.88 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 1.783e-06/0.4502, allocations: 0 / 469.8 MB, free: 10.88 MB / 346.7 MB Notification: Performance of matching and sorting (n=13): time 0.000618/0.4508, allocations: 404.1 kB / 470.2 MB, free: 10.46 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001112/0.451, allocations: 166.2 kB / 470.4 MB, free: 10.26 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005809/0.4516, allocations: 462.5 kB / 470.8 MB, free: 9.797 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.099e-05/0.4516, allocations: 37.69 kB / 470.9 MB, free: 9.754 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.173e-05/0.4517, allocations: 93.14 kB / 471 MB, free: 9.656 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.111e-05/0.4517, allocations: 31.64 kB / 471 MB, free: 9.625 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.526e-05/0.4517, allocations: 4 kB / 471 MB, free: 9.621 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001159/0.4519, allocations: 322.8 kB / 471.3 MB, free: 9.297 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001107/0.452, allocations: 56 kB / 471.4 MB, free: 9.242 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.659e-05/0.4521, allocations: 63.97 kB / 471.4 MB, free: 9.18 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001623/0.4523, allocations: 171.6 kB / 471.6 MB, free: 8.988 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.4523, allocations: 0 / 471.6 MB, free: 8.988 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004654/0.4527, allocations: 365.5 kB / 472 MB, free: 8.602 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.367e-05/0.4528, allocations: 122.8 kB / 472.1 MB, free: 8.457 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.4528, allocations: 0 / 472.1 MB, free: 8.457 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.4529, allocations: 0 / 472.1 MB, free: 8.457 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.912e-05/0.4529, allocations: 3.938 kB / 472.1 MB, free: 8.453 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/0.4529, allocations: 4 kB / 472.1 MB, free: 8.449 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000132/0.453, allocations: 19.98 kB / 472.1 MB, free: 8.43 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.985e-05/0.4531, allocations: 59.89 kB / 472.2 MB, free: 8.371 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.0001778/0.4533, allocations: 246 kB / 472.4 MB, free: 8.098 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.865e-05/0.4534, allocations: 39.53 kB / 472.4 MB, free: 8.059 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001034/0.4535, allocations: 67.42 kB / 472.5 MB, free: 7.992 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.4535, allocations: 0 / 472.5 MB, free: 7.992 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.4535, allocations: 0 / 472.5 MB, free: 7.992 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.4535, allocations: 7.984 kB / 472.5 MB, free: 7.984 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008869/0.4544, allocations: 0.7979 MB / 473.3 MB, free: 7.105 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.4544, allocations: 0 / 473.3 MB, free: 7.105 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.329e-06/0.4544, allocations: 0 / 473.3 MB, free: 7.105 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/0.4544, allocations: 0 / 473.3 MB, free: 7.105 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3e-05/0.4545, allocations: 15.94 kB / 473.3 MB, free: 7.09 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.4545, allocations: 0 / 473.3 MB, free: 7.09 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.4545, allocations: 0 / 473.3 MB, free: 7.09 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006147/0.4551, allocations: 0.5213 MB / 473.9 MB, free: 6.527 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003233/0.4554, allocations: 244.4 kB / 474.1 MB, free: 6.27 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.367e-05/0.4555, allocations: 12 kB / 474.1 MB, free: 6.258 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001489/0.4556, allocations: 19.97 kB / 474.1 MB, free: 6.238 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001068/0.4558, allocations: 23.97 kB / 474.2 MB, free: 6.215 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.668e-05/0.4558, allocations: 67.86 kB / 474.2 MB, free: 6.148 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0004477/0.4563, allocations: 380.9 kB / 474.6 MB, free: 5.781 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4563, allocations: 0 / 474.6 MB, free: 5.781 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002882/0.4566, allocations: 47.95 kB / 474.6 MB, free: 5.734 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.0001561/0.4568, allocations: 125.6 kB / 474.8 MB, free: 5.598 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004623/0.4572, allocations: 425.6 kB / 475.2 MB, free: 5.133 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.4572, allocations: 0 / 475.2 MB, free: 5.133 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003105/0.4576, allocations: 373.5 kB / 475.5 MB, free: 4.719 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004952/0.4581, allocations: 106.7 kB / 475.6 MB, free: 4.609 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008617/0.4589, allocations: 0.5232 MB / 476.2 MB, free: 4.062 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004849/0.4594, allocations: 0.8102 MB / 477 MB, free: 3.223 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 4.523e-05/0.4595, allocations: 13.3 kB / 477 MB, free: 3.207 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.516e-05/0.4595, allocations: 11.44 kB / 477 MB, free: 3.195 MB / 346.7 MB Notification: Performance of SimCode: time 2.61e-07/0.4595, allocations: 0 / 477 MB, free: 3.195 MB / 346.7 MB Notification: Performance of Templates: time 0.006787/0.4663, allocations: 4.08 MB / 481.1 MB, free: 15.03 MB / 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