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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007637/0.0007637, allocations: 85.05 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008342/0.0008342, allocations: 147.8 kB / 24.9 MB, free: 8.266 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9876/0.9876, allocations: 173.3 MB / 201.5 MB, free: 9.191 MB / 186.7 MB " [Timeout remaining time 179] 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.Digital.Examples.NRXFER") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 268.5 MB, free: 6.156 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.364e-05/1.542e-05, allocations: 2.312 kB / 268.5 MB, free: 6.152 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.001852/0.001867, allocations: 1.559 MB / 270.1 MB, free: 4.578 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001406/0.003273, allocations: 0.8379 MB / 270.9 MB, free: 3.734 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.943e-05/0.003323, allocations: 4 kB / 270.9 MB, free: 3.73 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 9.618e-05/0.003419, allocations: 11.92 kB / 270.9 MB, free: 3.719 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 8.105e-05/0.0035, allocations: 27.72 kB / 270.9 MB, free: 3.691 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002297/0.00373, allocations: 51.83 kB / 271 MB, free: 3.641 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001723/0.003902, allocations: 135.7 kB / 271.1 MB, free: 3.508 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.533e-05/0.003977, allocations: 8.234 kB / 271.1 MB, free: 3.496 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004283/0.004406, allocations: 0.542 MB / 271.7 MB, free: 2.953 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001118/0.004517, allocations: 67.75 kB / 271.7 MB, free: 2.887 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.92e-05/0.004547, allocations: 8 kB / 271.7 MB, free: 2.879 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.292e-05/0.004569, allocations: 12 kB / 271.8 MB, free: 2.867 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.469e-05/0.004634, allocations: 63.78 kB / 271.8 MB, free: 2.805 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 7.401e-05/0.004708, allocations: 55.73 kB / 271.9 MB, free: 2.75 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00022/0.004928, allocations: 283 kB / 272.2 MB, free: 2.473 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.543e-06/0.00493, allocations: 0 / 272.2 MB, free: 2.473 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.00493, allocations: 0 / 272.2 MB, free: 2.473 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.158e-06/0.004935, allocations: 0 / 272.2 MB, free: 2.473 MB / 250.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.0004681/0.005403, allocations: 0.6187 MB / 272.8 MB, free: 1.805 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.463e-05/0.005437, allocations: 12.92 kB / 272.8 MB, free: 1.793 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.963e-05/0.005487, allocations: 28.91 kB / 272.8 MB, free: 1.766 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002179/0.005705, allocations: 216 kB / 273 MB, free: 1.527 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.526e-05/0.00572, allocations: 4.375 kB / 273 MB, free: 1.523 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.782e-05/0.005738, allocations: 16.36 kB / 273 MB, free: 1.508 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002638/0.006002, allocations: 233.6 kB / 273.3 MB, free: 1.246 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.684e-06/0.006009, allocations: 192 / 273.3 MB, free: 1.246 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.473e-05/0.006024, allocations: 4.375 kB / 273.3 MB, free: 1.242 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.603e-06/0.006031, allocations: 3.938 kB / 273.3 MB, free: 1.238 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.044e-05/0.006121, allocations: 150.8 kB / 273.4 MB, free: 1.066 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003152/0.006436, allocations: 208.2 kB / 273.6 MB, free: 0.8477 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001338/0.00657, allocations: 165.4 kB / 273.8 MB, free: 0.6523 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001032/0.006673, allocations: 159.7 kB / 273.9 MB, free: 480 kB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.813e-06/0.00668, allocations: 0 / 273.9 MB, free: 480 kB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000194/0.006874, allocations: 305.4 kB / 274.2 MB, free: 124 kB / 250.7 MB Notification: Performance of pre-optimization done (n=13): time 1.623e-06/0.006876, allocations: 3.938 kB / 274.3 MB, free: 120 kB / 250.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004705/0.007346, allocations: 0.5135 MB / 274.8 MB, free: 15.53 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.692e-05/0.007413, allocations: 166.2 kB / 274.9 MB, free: 15.33 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002916/0.007705, allocations: 363.2 kB / 275.3 MB, free: 14.96 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.084e-05/0.007726, allocations: 29.7 kB / 275.3 MB, free: 14.93 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.619e-05/0.007762, allocations: 97.08 kB / 275.4 MB, free: 14.83 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.926e-05/0.007791, allocations: 39.7 kB / 275.4 MB, free: 14.79 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.582e-05/0.007857, allocations: 69.55 kB / 275.5 MB, free: 14.71 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.878e-05/0.007936, allocations: 326.8 kB / 275.8 MB, free: 14.39 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.234e-05/0.008018, allocations: 146.8 kB / 276 MB, free: 14.22 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.778e-05/0.008106, allocations: 172 kB / 276.1 MB, free: 14.02 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001625/0.008268, allocations: 307.2 kB / 276.4 MB, free: 13.67 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.00827, allocations: 0 / 276.4 MB, free: 13.67 MB / 266.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002007/0.008471, allocations: 355.2 kB / 276.8 MB, free: 13.27 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.874e-05/0.008529, allocations: 126.7 kB / 276.9 MB, free: 13.12 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.008534, allocations: 4.031 kB / 276.9 MB, free: 13.11 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.00855, allocations: 4 kB / 276.9 MB, free: 13.11 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.558e-05/0.008565, allocations: 0 / 276.9 MB, free: 13.11 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.026e-06/0.008568, allocations: 0 / 276.9 MB, free: 13.11 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.375e-05/0.008642, allocations: 19.94 kB / 276.9 MB, free: 13.09 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.303e-05/0.008685, allocations: 52.05 kB / 277 MB, free: 13.04 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.0002221/0.008907, allocations: 345.3 kB / 277.3 MB, free: 12.66 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.523e-05/0.008942, allocations: 35.91 kB / 277.4 MB, free: 12.63 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.902e-05/0.009021, allocations: 59.08 kB / 277.4 MB, free: 12.56 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-06/0.009023, allocations: 4 kB / 277.4 MB, free: 12.56 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.302e-06/0.009024, allocations: 0 / 277.4 MB, free: 12.56 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.009027, allocations: 0 / 277.4 MB, free: 12.56 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003863/0.009414, allocations: 0.59 MB / 278 MB, free: 11.89 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-06/0.009415, allocations: 0 / 278 MB, free: 11.89 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.63e-06/0.00942, allocations: 0 / 278 MB, free: 11.89 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/0.009424, allocations: 3.938 kB / 278 MB, free: 11.89 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.531e-05/0.00944, allocations: 12 kB / 278 MB, free: 11.88 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.009441, allocations: 0 / 278 MB, free: 11.88 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.009442, allocations: 0 / 278 MB, free: 11.88 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002756/0.009717, allocations: 497 kB / 278.5 MB, free: 11.33 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001651/0.009883, allocations: 151.5 kB / 278.7 MB, free: 11.18 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.452e-05/0.009917, allocations: 19.98 kB / 278.7 MB, free: 11.16 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.441e-05/0.009981, allocations: 8 kB / 278.7 MB, free: 11.16 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.317e-05/0.01004, allocations: 23.92 kB / 278.7 MB, free: 11.13 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.911e-05/0.01008, allocations: 51.92 kB / 278.8 MB, free: 11.08 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001441/0.01023, allocations: 156.6 kB / 278.9 MB, free: 10.93 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01023, allocations: 0 / 278.9 MB, free: 10.93 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000155/0.01038, allocations: 40 kB / 279 MB, free: 10.89 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 8.578e-05/0.01047, allocations: 99.17 kB / 279.1 MB, free: 10.79 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003224/0.01079, allocations: 0.5576 MB / 279.6 MB, free: 10.13 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.449e-06/0.0108, allocations: 4 kB / 279.6 MB, free: 10.13 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001813/0.01098, allocations: 416 kB / 280 MB, free: 9.645 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002943/0.01127, allocations: 119.1 kB / 280.1 MB, free: 9.531 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00069/0.01196, allocations: 0.7373 MB / 280.9 MB, free: 8.742 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.785e-05/0.01203, allocations: 95.27 kB / 281 MB, free: 8.629 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.584e-05/0.01205, allocations: 8.781 kB / 281 MB, free: 8.621 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002852/0.01234, allocations: 167.2 kB / 281.1 MB, free: 8.457 MB / 266.7 MB Notification: Performance of SimCode: time 8.51e-07/0.01234, allocations: 0 / 281.1 MB, free: 8.457 MB / 266.7 MB Notification: Performance of Templates: time 0.005605/0.01795, allocations: 4.635 MB / 285.8 MB, free: 3.797 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER.makefile [Timeout 660] (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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER.pipe 2>&1) [Timeout 240] 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","",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.4078850261867046]