Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001317/0.001317, allocations: 95.5 kB / 21.2 MB, free: 3.371 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00139/0.00139, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9508/0.9508, allocations: 177 MB / 204.8 MB, free: 5.574 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Digital.Examples.NRXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|nRXFERGATE.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER") translateModel(Modelica.Electrical.Digital.Examples.NRXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|nRXFERGATE.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.694e-06/1.694e-06, allocations: 0 / 272.9 MB, free: 1.449 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.68e-05/2.85e-05, allocations: 5.266 kB / 272.9 MB, free: 1.445 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.002583/0.002612, allocations: 1.537 MB / 274.4 MB, free: 15.89 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001931/0.004542, allocations: 0.8575 MB / 275.3 MB, free: 15.03 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.197e-05/0.004604, allocations: 3.938 kB / 275.3 MB, free: 15.03 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001253/0.004729, allocations: 15.92 kB / 275.3 MB, free: 15.01 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 7.898e-05/0.004808, allocations: 15.86 kB / 275.3 MB, free: 15 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000266/0.005074, allocations: 43.89 kB / 275.4 MB, free: 14.95 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001939/0.005268, allocations: 131.7 kB / 275.5 MB, free: 14.82 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001049/0.005373, allocations: 20.16 kB / 275.5 MB, free: 14.8 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005346/0.005908, allocations: 0.5927 MB / 276.1 MB, free: 14.21 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001453/0.006053, allocations: 71.73 kB / 276.2 MB, free: 14.14 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.055e-05/0.006094, allocations: 8 kB / 276.2 MB, free: 14.13 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.339e-05/0.006117, allocations: 8 kB / 276.2 MB, free: 14.12 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.685e-05/0.006184, allocations: 67.78 kB / 276.3 MB, free: 14.05 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.651e-05/0.00626, allocations: 55.78 kB / 276.3 MB, free: 14 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003175/0.006578, allocations: 294.8 kB / 276.6 MB, free: 13.71 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.006582, allocations: 0 / 276.6 MB, free: 13.71 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.006584, allocations: 0 / 276.6 MB, free: 13.71 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.63e-06/0.006589, allocations: 0 / 276.6 MB, free: 13.71 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.0006683/0.007258, allocations: 0.7785 MB / 277.4 MB, free: 12.87 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.007297, allocations: 11.98 kB / 277.4 MB, free: 12.86 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.478e-05/0.007372, allocations: 52.7 kB / 277.5 MB, free: 12.81 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000188/0.00756, allocations: 211 kB / 277.7 MB, free: 12.57 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.107e-05/0.007581, allocations: 8.375 kB / 277.7 MB, free: 12.57 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.824e-05/0.007599, allocations: 8.375 kB / 277.7 MB, free: 12.56 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002822/0.007881, allocations: 257.6 kB / 277.9 MB, free: 12.27 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.312e-06/0.007887, allocations: 192 / 277.9 MB, free: 12.27 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.616e-05/0.007904, allocations: 4.375 kB / 277.9 MB, free: 12.27 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.503e-06/0.00791, allocations: 3.938 kB / 277.9 MB, free: 12.27 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001085/0.008019, allocations: 162.8 kB / 278.1 MB, free: 12.08 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005329/0.008551, allocations: 0.4915 MB / 278.6 MB, free: 11.55 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000154/0.008705, allocations: 193.8 kB / 278.8 MB, free: 11.33 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001095/0.008815, allocations: 178.5 kB / 279 MB, free: 11.12 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.856e-06/0.008824, allocations: 11.94 kB / 279 MB, free: 11.11 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002301/0.009054, allocations: 335 kB / 279.3 MB, free: 10.73 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.243e-06/0.009055, allocations: 0 / 279.3 MB, free: 10.73 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005975/0.009653, allocations: 0.6776 MB / 280 MB, free: 9.977 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.933e-05/0.009732, allocations: 170.2 kB / 280.1 MB, free: 9.773 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005649/0.0103, allocations: 0.6232 MB / 280.8 MB, free: 9.137 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.395e-05/0.01032, allocations: 29.7 kB / 280.8 MB, free: 9.102 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.704e-05/0.01039, allocations: 151.8 kB / 280.9 MB, free: 8.945 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.273e-05/0.01042, allocations: 27.8 kB / 281 MB, free: 8.918 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.105e-05/0.0105, allocations: 95.16 kB / 281.1 MB, free: 8.816 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001205/0.01062, allocations: 0.4923 MB / 281.5 MB, free: 8.312 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001169/0.01074, allocations: 162.8 kB / 281.7 MB, free: 8.129 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001241/0.01086, allocations: 186.1 kB / 281.9 MB, free: 7.914 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001918/0.01105, allocations: 332.6 kB / 282.2 MB, free: 7.535 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.01106, allocations: 4 kB / 282.2 MB, free: 7.531 MB / 266.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003701/0.01143, allocations: 499 kB / 282.7 MB, free: 6.988 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.327e-05/0.01149, allocations: 129.9 kB / 282.8 MB, free: 6.84 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.0115, allocations: 4.031 kB / 282.8 MB, free: 6.836 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.01151, allocations: 4 kB / 282.8 MB, free: 6.832 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.22e-05/0.01154, allocations: 0 / 282.8 MB, free: 6.832 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.69e-06/0.01154, allocations: 0 / 282.8 MB, free: 6.832 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001026/0.01164, allocations: 11.94 kB / 282.9 MB, free: 6.82 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.162e-05/0.0117, allocations: 59.92 kB / 282.9 MB, free: 6.762 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.0002515/0.01195, allocations: 389.4 kB / 283.3 MB, free: 6.348 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.636e-05/0.01199, allocations: 55.7 kB / 283.3 MB, free: 6.293 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.244e-05/0.01207, allocations: 55.08 kB / 283.4 MB, free: 6.238 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.01207, allocations: 112 / 283.4 MB, free: 6.238 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.01207, allocations: 7.938 kB / 283.4 MB, free: 6.23 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.01208, allocations: 0 / 283.4 MB, free: 6.23 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007832/0.01286, allocations: 0.9633 MB / 284.4 MB, free: 5.176 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.01286, allocations: 0 / 284.4 MB, free: 5.176 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.456e-06/0.01287, allocations: 0 / 284.4 MB, free: 5.176 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.01288, allocations: 0 / 284.4 MB, free: 5.176 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.414e-05/0.0129, allocations: 19.98 kB / 284.4 MB, free: 5.156 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.0129, allocations: 0 / 284.4 MB, free: 5.156 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.0129, allocations: 0 / 284.4 MB, free: 5.156 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004775/0.01338, allocations: 0.7004 MB / 285.1 MB, free: 4.387 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002136/0.0136, allocations: 185.4 kB / 285.3 MB, free: 4.207 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.99e-05/0.01364, allocations: 15.98 kB / 285.3 MB, free: 4.191 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.977e-05/0.01371, allocations: 11.94 kB / 285.3 MB, free: 4.18 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.597e-05/0.01381, allocations: 27.97 kB / 285.3 MB, free: 4.152 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.035e-05/0.01385, allocations: 52 kB / 285.4 MB, free: 4.102 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003382/0.01419, allocations: 430.7 kB / 285.8 MB, free: 3.684 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01419, allocations: 0 / 285.8 MB, free: 3.684 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002006/0.01439, allocations: 40 kB / 285.8 MB, free: 3.645 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 0.0001261/0.01452, allocations: 118.4 kB / 286 MB, free: 3.516 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004021/0.01492, allocations: 0.6004 MB / 286.6 MB, free: 2.812 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.01492, allocations: 0 / 286.6 MB, free: 2.812 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002008/0.01512, allocations: 432 kB / 287 MB, free: 2.312 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004174/0.01554, allocations: 125.1 kB / 287.1 MB, free: 2.195 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007885/0.01633, allocations: 0.7486 MB / 287.8 MB, free: 1.395 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.647e-05/0.0164, allocations: 95.83 kB / 287.9 MB, free: 1.281 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.896e-05/0.01644, allocations: 12.69 kB / 288 MB, free: 1.27 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.815e-05/0.01647, allocations: 24.56 kB / 288 MB, free: 1.242 MB / 266.7 MB Notification: Performance of SimCode: time 1.202e-06/0.01647, allocations: 0 / 288 MB, free: 1.242 MB / 266.7 MB Notification: Performance of Templates: time 0.007049/0.02352, allocations: 5.219 MB / 293.2 MB, free: 11.98 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER.sim & ./Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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.7517632097005844]