Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NRXFER.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001077/0.001077, allocations: 80.8 kB / 21.49 MB, free: 2.992 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001173/0.001173, allocations: 168.8 kB / 24.91 MB, free: 9.199 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.995/0.995, allocations: 177.1 MB / 205.3 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Digital.Examples.NRXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|nRXFERGATE.y",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NRXFER") translateModel(Modelica.Electrical.Digital.Examples.NRXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|nRXFERGATE.y",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NRXFER") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 273.5 MB, free: 1.277 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.229e-05/1.386e-05, allocations: 2.312 kB / 273.5 MB, free: 1.273 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.001949/0.001963, allocations: 1.582 MB / 275.1 MB, free: 15.68 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001564/0.003526, allocations: 0.8613 MB / 275.9 MB, free: 14.82 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.441e-05/0.003581, allocations: 0 / 275.9 MB, free: 14.82 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 8.644e-05/0.003667, allocations: 15.86 kB / 275.9 MB, free: 14.8 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 7.902e-05/0.003746, allocations: 15.86 kB / 276 MB, free: 14.79 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002248/0.003971, allocations: 47.88 kB / 276 MB, free: 14.74 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001636/0.004135, allocations: 135.7 kB / 276.1 MB, free: 14.61 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.46e-05/0.004209, allocations: 16.17 kB / 276.2 MB, free: 14.59 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004507/0.00466, allocations: 0.542 MB / 276.7 MB, free: 14.04 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001123/0.004772, allocations: 63.81 kB / 276.8 MB, free: 13.98 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.873e-05/0.004801, allocations: 8 kB / 276.8 MB, free: 13.97 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.124e-05/0.004822, allocations: 12 kB / 276.8 MB, free: 13.96 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.065e-05/0.004883, allocations: 67.72 kB / 276.8 MB, free: 13.89 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.907e-05/0.004942, allocations: 47.8 kB / 276.9 MB, free: 13.85 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002136/0.005156, allocations: 294.8 kB / 277.2 MB, free: 13.56 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.295e-06/0.005158, allocations: 0 / 277.2 MB, free: 13.56 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.005159, allocations: 4 kB / 277.2 MB, free: 13.55 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.907e-06/0.005163, allocations: 0 / 277.2 MB, free: 13.55 MB / 266.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.0005074/0.00567, allocations: 0.6148 MB / 277.8 MB, free: 12.89 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.842e-05/0.005699, allocations: 8.031 kB / 277.8 MB, free: 12.88 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.038e-05/0.005749, allocations: 32.91 kB / 277.8 MB, free: 12.85 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001612/0.00591, allocations: 204.1 kB / 278 MB, free: 12.62 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.752e-05/0.005928, allocations: 12.36 kB / 278 MB, free: 12.61 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.715e-05/0.005945, allocations: 8.375 kB / 278.1 MB, free: 12.61 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002198/0.006165, allocations: 237.6 kB / 278.3 MB, free: 12.34 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.212e-06/0.006171, allocations: 192 / 278.3 MB, free: 12.34 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.277e-05/0.006184, allocations: 4.375 kB / 278.3 MB, free: 12.34 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.006189, allocations: 7.938 kB / 278.3 MB, free: 12.33 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.265e-05/0.006272, allocations: 150.8 kB / 278.4 MB, free: 12.16 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002551/0.006527, allocations: 216 kB / 278.7 MB, free: 11.93 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001173/0.006644, allocations: 169.3 kB / 278.8 MB, free: 11.73 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.714e-05/0.006731, allocations: 155.7 kB / 279 MB, free: 11.55 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.684e-06/0.006739, allocations: 4 kB / 279 MB, free: 11.55 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002409/0.00698, allocations: 297.4 kB / 279.3 MB, free: 11.21 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.203e-06/0.006981, allocations: 4 kB / 279.3 MB, free: 11.2 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003642/0.007345, allocations: 0.5137 MB / 279.8 MB, free: 10.61 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.122e-05/0.007406, allocations: 170.2 kB / 280 MB, free: 10.41 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003389/0.007745, allocations: 363.2 kB / 280.3 MB, free: 10.04 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.18e-05/0.007767, allocations: 29.7 kB / 280.3 MB, free: 10.01 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.662e-05/0.007804, allocations: 93.08 kB / 280.4 MB, free: 9.91 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.931e-05/0.007833, allocations: 31.83 kB / 280.5 MB, free: 9.879 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.687e-05/0.00791, allocations: 69.5 kB / 280.5 MB, free: 9.805 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.253e-05/0.007992, allocations: 322.8 kB / 280.8 MB, free: 9.48 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.551e-05/0.008078, allocations: 146.8 kB / 281 MB, free: 9.312 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.244e-05/0.00817, allocations: 176.4 kB / 281.2 MB, free: 9.109 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001736/0.008344, allocations: 315.3 kB / 281.5 MB, free: 8.746 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.008346, allocations: 0 / 281.5 MB, free: 8.746 MB / 266.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002363/0.008582, allocations: 355.1 kB / 281.8 MB, free: 8.348 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.234e-05/0.008644, allocations: 130.7 kB / 281.9 MB, free: 8.195 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.00865, allocations: 0 / 281.9 MB, free: 8.195 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.078e-05/0.008661, allocations: 0 / 281.9 MB, free: 8.195 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.514e-05/0.008676, allocations: 4 kB / 281.9 MB, free: 8.191 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.035e-06/0.008679, allocations: 4.031 kB / 281.9 MB, free: 8.188 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.634e-05/0.008766, allocations: 11.98 kB / 282 MB, free: 8.176 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.032e-05/0.008816, allocations: 55.94 kB / 282 MB, free: 8.121 MB / 266.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,nRXFERGATE.inertialDelaySensitive.t_next,nRXFERGATE.inertialDelaySensitive.lh,nRXFERGATE.inertialDelaySensitive.y_old,nRXFERGATE.inertialDelaySensitive.y_auxiliary,nRXFERGATE.inertialDelaySensitive.delayTime,nRXFERGATE.inertialDelaySensitive.y,nRXFERGATE.inertialDelaySensitive.x,$PRE.nRXFERGATE.inertialDelaySensitive.x,nRXFERGATE.yy,nRXFERGATE.nextstate,x_table.y,e_table.y,$whenCondition2,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002572/0.009073, allocations: 349.5 kB / 282.4 MB, free: 7.746 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.961e-05/0.009113, allocations: 35.91 kB / 282.4 MB, free: 7.711 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001775/0.00929, allocations: 55.08 kB / 282.4 MB, free: 7.656 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.888e-06/0.009294, allocations: 4 kB / 282.4 MB, free: 7.652 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.342e-06/0.009295, allocations: 0 / 282.4 MB, free: 7.652 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.009298, allocations: 0 / 282.4 MB, free: 7.652 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004305/0.009729, allocations: 0.5978 MB / 283 MB, free: 6.98 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.00973, allocations: 4 kB / 283 MB, free: 6.977 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.118e-06/0.009734, allocations: 112 / 283 MB, free: 6.977 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.009737, allocations: 7.875 kB / 283.1 MB, free: 6.969 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.623e-05/0.009753, allocations: 8 kB / 283.1 MB, free: 6.961 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.009755, allocations: 4 kB / 283.1 MB, free: 6.957 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.009756, allocations: 3.938 kB / 283.1 MB, free: 6.953 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002631/0.01002, allocations: 489 kB / 283.5 MB, free: 6.41 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001949/0.01021, allocations: 135.5 kB / 283.7 MB, free: 6.277 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.51e-05/0.01025, allocations: 12 kB / 283.7 MB, free: 6.266 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.908e-05/0.01033, allocations: 11.98 kB / 283.7 MB, free: 6.254 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.281e-05/0.01039, allocations: 15.98 kB / 283.7 MB, free: 6.238 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.329e-05/0.01043, allocations: 55.98 kB / 283.8 MB, free: 6.184 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001706/0.0106, allocations: 156.6 kB / 283.9 MB, free: 6.035 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.0106, allocations: 0 / 283.9 MB, free: 6.035 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000187/0.01079, allocations: 44 kB / 284 MB, free: 5.992 MB / 266.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.404e-05/0.01089, allocations: 95.41 kB / 284.1 MB, free: 5.891 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003592/0.01125, allocations: 0.5618 MB / 284.6 MB, free: 5.23 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.961e-06/0.01125, allocations: 4 kB / 284.6 MB, free: 5.227 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002004/0.01145, allocations: 412.2 kB / 285 MB, free: 4.746 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003338/0.01179, allocations: 132.1 kB / 285.2 MB, free: 4.629 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007837/0.01257, allocations: 0.734 MB / 285.9 MB, free: 3.844 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.572e-05/0.01264, allocations: 96.11 kB / 286 MB, free: 3.73 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.105e-05/0.01269, allocations: 8.719 kB / 286 MB, free: 3.723 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002814/0.01297, allocations: 171.2 kB / 286.2 MB, free: 3.555 MB / 266.7 MB Notification: Performance of SimCode: time 6.51e-07/0.01297, allocations: 0 / 286.2 MB, free: 3.555 MB / 266.7 MB Notification: Performance of Templates: time 0.006154/0.01912, allocations: 4.627 MB / 290.8 MB, free: 14.9 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NRXFER.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NRXFER.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NRXFER.sim & ./Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NRXFER -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NRXFER.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NRXFER_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Digital/Examples/NRXFER/NRXFER.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.54927528090775]