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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=5000,variableFilter="time|nRXFERGATE.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER") translateModel(Modelica.Electrical.Digital.Examples.NRXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nRXFERGATE.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001099/0.001099, allocations: 112.1 kB / 18.45 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001184/0.001184, allocations: 207.8 kB / 19.4 MB, free: 3.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.345/1.345, allocations: 227.4 MB / 247.6 MB, free: 10.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 67.89 kB / 359.4 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2842/0.2854, allocations: 50.54 MB / 409.9 MB, free: 1.598 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.002589/0.2881, allocations: 1.515 MB / 411.4 MB, free: 76 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001901/0.29, allocations: 0.8795 MB / 412.3 MB, free: 15.19 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.181e-05/0.2901, allocations: 3.938 kB / 412.3 MB, free: 15.19 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 8.688e-05/0.2902, allocations: 7.922 kB / 412.3 MB, free: 15.18 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.105e-05/0.2902, allocations: 15.86 kB / 412.3 MB, free: 15.16 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002217/0.2905, allocations: 51.88 kB / 412.4 MB, free: 15.11 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001914/0.2907, allocations: 147.7 kB / 412.5 MB, free: 14.97 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.699e-05/0.2908, allocations: 20.23 kB / 412.6 MB, free: 14.95 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006103/0.2914, allocations: 0.5732 MB / 413.1 MB, free: 14.37 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001265/0.2915, allocations: 71.7 kB / 413.2 MB, free: 14.3 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.421e-05/0.2916, allocations: 11.98 kB / 413.2 MB, free: 14.29 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.639e-05/0.2916, allocations: 12 kB / 413.2 MB, free: 14.27 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.26e-05/0.2917, allocations: 63.77 kB / 413.3 MB, free: 14.21 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001366/0.2919, allocations: 119.1 kB / 413.4 MB, free: 14.09 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003364/0.2922, allocations: 378.6 kB / 413.8 MB, free: 13.72 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.2922, allocations: 0 / 413.8 MB, free: 13.72 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.2922, allocations: 0 / 413.8 MB, free: 13.72 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.484e-06/0.2922, allocations: 0 / 413.8 MB, free: 13.72 MB / 334.1 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.0007378/0.293, allocations: 0.7122 MB / 414.5 MB, free: 12.94 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.293, allocations: 12.02 kB / 414.5 MB, free: 12.93 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.143e-05/0.2931, allocations: 36.56 kB / 414.5 MB, free: 12.89 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002929/0.2934, allocations: 270.3 kB / 414.8 MB, free: 12.59 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.227e-05/0.2934, allocations: 16.38 kB / 414.8 MB, free: 12.57 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.762e-05/0.2935, allocations: 8.375 kB / 414.8 MB, free: 12.57 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003053/0.2938, allocations: 129.9 kB / 414.9 MB, free: 12.43 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.809e-06/0.2938, allocations: 0 / 414.9 MB, free: 12.43 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.546e-05/0.2938, allocations: 4 kB / 415 MB, free: 12.43 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.2938, allocations: 11.86 kB / 415 MB, free: 12.42 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001348/0.294, allocations: 55.97 kB / 415 MB, free: 12.36 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006315/0.2946, allocations: 472.4 kB / 415.5 MB, free: 11.85 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001837/0.2948, allocations: 102.5 kB / 415.6 MB, free: 11.74 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001365/0.295, allocations: 80.89 kB / 415.7 MB, free: 11.66 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.077e-05/0.295, allocations: 0 / 415.7 MB, free: 11.66 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003286/0.2953, allocations: 206.6 kB / 415.9 MB, free: 11.43 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.533e-06/0.2953, allocations: 0 / 415.9 MB, free: 11.43 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007655/0.2961, allocations: 483.4 kB / 416.3 MB, free: 10.93 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.461e-05/0.2962, allocations: 170.2 kB / 416.5 MB, free: 10.73 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005766/0.2968, allocations: 0.5091 MB / 417 MB, free: 10.21 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.794e-05/0.2968, allocations: 29.7 kB / 417 MB, free: 10.17 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.794e-05/0.2969, allocations: 105.1 kB / 417.1 MB, free: 10.07 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.6e-05/0.2969, allocations: 19.72 kB / 417.2 MB, free: 10.05 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001062/0.2971, allocations: 89.31 kB / 417.2 MB, free: 9.953 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001228/0.2972, allocations: 326.8 kB / 417.6 MB, free: 9.625 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001249/0.2973, allocations: 63.97 kB / 417.6 MB, free: 9.562 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000122/0.2974, allocations: 65.69 kB / 417.7 MB, free: 9.492 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003318/0.2978, allocations: 347.2 kB / 418 MB, free: 9.098 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.2978, allocations: 0 / 418 MB, free: 9.098 MB / 334.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005084/0.2983, allocations: 388.4 kB / 418.4 MB, free: 8.688 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.115e-05/0.2984, allocations: 126.8 kB / 418.5 MB, free: 8.539 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.2984, allocations: 0 / 418.5 MB, free: 8.539 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.2984, allocations: 4.031 kB / 418.5 MB, free: 8.535 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.116e-05/0.2985, allocations: 128 / 418.5 MB, free: 8.535 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.704e-06/0.2985, allocations: 11.94 kB / 418.5 MB, free: 8.523 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001265/0.2986, allocations: 15.92 kB / 418.6 MB, free: 8.508 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.919e-05/0.2987, allocations: 55.94 kB / 418.6 MB, free: 8.453 MB / 334.1 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.0003089/0.299, allocations: 366.7 kB / 419 MB, free: 8.062 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.535e-05/0.2991, allocations: 39.53 kB / 419 MB, free: 8.023 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.499e-05/0.2992, allocations: 75.12 kB / 419.1 MB, free: 7.945 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.2992, allocations: 4 kB / 419.1 MB, free: 7.941 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.2992, allocations: 0 / 419.1 MB, free: 7.941 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.2992, allocations: 0 / 419.1 MB, free: 7.941 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009472/0.3001, allocations: 0.8135 MB / 419.9 MB, free: 7.047 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.3002, allocations: 3.938 kB / 419.9 MB, free: 7.043 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.39e-06/0.3002, allocations: 0 / 419.9 MB, free: 7.043 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.3002, allocations: 0 / 419.9 MB, free: 7.043 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.87e-05/0.3002, allocations: 19.98 kB / 419.9 MB, free: 7.023 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.506e-06/0.3002, allocations: 3.984 kB / 419.9 MB, free: 7.02 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.584e-06/0.3002, allocations: 3.938 kB / 419.9 MB, free: 7.016 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006289/0.3009, allocations: 0.5363 MB / 420.5 MB, free: 6.441 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003252/0.3012, allocations: 252.4 kB / 420.7 MB, free: 6.176 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.141e-05/0.3013, allocations: 12 kB / 420.7 MB, free: 6.164 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001294/0.3014, allocations: 8 kB / 420.7 MB, free: 6.156 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000108/0.3015, allocations: 31.91 kB / 420.8 MB, free: 6.125 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.531e-05/0.3016, allocations: 55.94 kB / 420.8 MB, free: 6.07 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004323/0.302, allocations: 390.9 kB / 421.2 MB, free: 5.691 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.302, allocations: 4 kB / 421.2 MB, free: 5.688 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002858/0.3023, allocations: 40 kB / 421.3 MB, free: 5.648 MB / 334.1 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.0001451/0.3025, allocations: 117.9 kB / 421.4 MB, free: 5.527 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005131/0.303, allocations: 433.5 kB / 421.8 MB, free: 5.055 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.303, allocations: 4 kB / 421.8 MB, free: 5.051 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003368/0.3033, allocations: 385.5 kB / 422.2 MB, free: 4.625 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006116/0.304, allocations: 117.3 kB / 422.3 MB, free: 4.523 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001042/0.305, allocations: 0.702 MB / 423 MB, free: 3.789 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004187/0.3054, allocations: 0.7944 MB / 423.8 MB, free: 2.969 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.695e-05/0.3055, allocations: 15.44 kB / 423.8 MB, free: 2.953 MB / 334.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3055, allocations: 0 / 423.8 MB, free: 2.953 MB / 334.1 MB Notification: Performance of Templates: time 0.004337/0.3098, allocations: 2.685 MB / 426.5 MB, free: 216 kB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER.makefile (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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER.pipe 2>&1) diffSimulationResults("Modelica_trunk_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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches