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.001129/0.001129, allocations: 109.7 kB / 18.45 MB, free: 4.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001218/0.001218, allocations: 212.9 kB / 19.4 MB, free: 3.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.378/1.378, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001353/0.001353, allocations: 60.09 kB / 359.4 MB, free: 12.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3009/0.3023, allocations: 50.55 MB / 409.9 MB, free: 1.609 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.002677/0.305, allocations: 1.511 MB / 411.4 MB, free: 96 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002/0.307, allocations: 0.8795 MB / 412.3 MB, free: 15.21 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.064e-05/0.3071, allocations: 4 kB / 412.3 MB, free: 15.2 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.166e-05/0.3072, allocations: 15.8 kB / 412.3 MB, free: 15.19 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.24e-05/0.3074, allocations: 23.84 kB / 412.4 MB, free: 15.16 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000301/0.3077, allocations: 51.88 kB / 412.4 MB, free: 15.11 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002348/0.3079, allocations: 139.7 kB / 412.5 MB, free: 14.98 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001173/0.3081, allocations: 12.23 kB / 412.6 MB, free: 14.96 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000667/0.3087, allocations: 0.581 MB / 413.1 MB, free: 14.38 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001597/0.3089, allocations: 67.77 kB / 413.2 MB, free: 14.31 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.983e-05/0.309, allocations: 12 kB / 413.2 MB, free: 14.3 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.13e-05/0.309, allocations: 11.94 kB / 413.2 MB, free: 14.29 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.895e-05/0.3091, allocations: 63.77 kB / 413.3 MB, free: 14.23 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001381/0.3092, allocations: 119.1 kB / 413.4 MB, free: 14.11 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003608/0.3096, allocations: 378.6 kB / 413.8 MB, free: 13.74 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.3096, allocations: 0 / 413.8 MB, free: 13.74 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.3096, allocations: 0 / 413.8 MB, free: 13.74 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.074e-05/0.3097, allocations: 0 / 413.8 MB, free: 13.74 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.0009065/0.3106, allocations: 0.7121 MB / 414.5 MB, free: 12.96 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/0.3106, allocations: 16.03 kB / 414.5 MB, free: 12.94 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.575e-05/0.3107, allocations: 36.55 kB / 414.5 MB, free: 12.91 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003052/0.311, allocations: 270.3 kB / 414.8 MB, free: 12.6 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.528e-05/0.3111, allocations: 4.375 kB / 414.8 MB, free: 12.6 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.88e-05/0.3111, allocations: 8.375 kB / 414.8 MB, free: 12.59 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000331/0.3114, allocations: 141.5 kB / 415 MB, free: 12.45 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.3115, allocations: 0 / 415 MB, free: 12.45 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.636e-05/0.3115, allocations: 4 kB / 415 MB, free: 12.45 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.179e-06/0.3115, allocations: 3.938 kB / 415 MB, free: 12.44 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001611/0.3117, allocations: 67.94 kB / 415 MB, free: 12.38 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007931/0.3125, allocations: 468.4 kB / 415.5 MB, free: 11.87 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001935/0.3127, allocations: 94.55 kB / 415.6 MB, free: 11.77 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001525/0.3128, allocations: 84.88 kB / 415.7 MB, free: 11.68 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.208e-05/0.3129, allocations: 0 / 415.7 MB, free: 11.68 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000358/0.3132, allocations: 214.7 kB / 415.9 MB, free: 11.45 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.684e-06/0.3132, allocations: 0 / 415.9 MB, free: 11.45 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008268/0.3141, allocations: 479.8 kB / 416.3 MB, free: 10.95 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.042e-05/0.3142, allocations: 166.2 kB / 416.5 MB, free: 10.75 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006389/0.3148, allocations: 0.513 MB / 417 MB, free: 10.22 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.669e-05/0.3149, allocations: 29.7 kB / 417 MB, free: 10.18 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.113e-05/0.3149, allocations: 101.1 kB / 417.1 MB, free: 10.08 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.062e-05/0.315, allocations: 27.66 kB / 417.2 MB, free: 10.05 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001197/0.3151, allocations: 89.31 kB / 417.3 MB, free: 9.961 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.969e-05/0.3152, allocations: 326.8 kB / 417.6 MB, free: 9.633 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001351/0.3154, allocations: 55.97 kB / 417.6 MB, free: 9.578 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001394/0.3155, allocations: 73.69 kB / 417.7 MB, free: 9.5 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000321/0.3158, allocations: 347.2 kB / 418 MB, free: 9.105 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.3158, allocations: 0 / 418 MB, free: 9.105 MB / 334.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005607/0.3164, allocations: 388.4 kB / 418.4 MB, free: 8.695 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.568e-05/0.3165, allocations: 126.8 kB / 418.5 MB, free: 8.547 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.3165, allocations: 0 / 418.5 MB, free: 8.547 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.835e-05/0.3166, allocations: 4 kB / 418.5 MB, free: 8.543 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.18e-05/0.3166, allocations: 0 / 418.5 MB, free: 8.543 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.481e-06/0.3166, allocations: 0 / 418.5 MB, free: 8.543 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001334/0.3167, allocations: 15.92 kB / 418.6 MB, free: 8.527 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.118e-05/0.3168, allocations: 59.94 kB / 418.6 MB, free: 8.469 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.0003285/0.3172, allocations: 370.6 kB / 419 MB, free: 8.074 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.057e-05/0.3172, allocations: 43.53 kB / 419 MB, free: 8.031 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001/0.3173, allocations: 67.12 kB / 419.1 MB, free: 7.961 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.846e-06/0.3173, allocations: 0 / 419.1 MB, free: 7.961 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.3173, allocations: 0 / 419.1 MB, free: 7.961 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.3174, allocations: 4 kB / 419.1 MB, free: 7.957 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009661/0.3183, allocations: 0.817 MB / 419.9 MB, free: 7.062 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.3183, allocations: 3.938 kB / 419.9 MB, free: 7.059 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.789e-06/0.3183, allocations: 0 / 419.9 MB, free: 7.059 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.3184, allocations: 0 / 419.9 MB, free: 7.059 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.898e-05/0.3184, allocations: 12 kB / 419.9 MB, free: 7.047 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.3184, allocations: 4 kB / 419.9 MB, free: 7.043 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.3184, allocations: 4.125 kB / 419.9 MB, free: 7.039 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006479/0.3191, allocations: 0.5408 MB / 420.5 MB, free: 6.457 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003379/0.3194, allocations: 252.5 kB / 420.7 MB, free: 6.191 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.384e-05/0.3195, allocations: 11.98 kB / 420.7 MB, free: 6.18 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001374/0.3196, allocations: 8 kB / 420.7 MB, free: 6.172 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001137/0.3197, allocations: 27.91 kB / 420.8 MB, free: 6.145 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.246e-05/0.3198, allocations: 63.94 kB / 420.8 MB, free: 6.082 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000488/0.3203, allocations: 390.9 kB / 421.2 MB, free: 5.703 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3203, allocations: 0 / 421.2 MB, free: 5.703 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003101/0.3206, allocations: 44 kB / 421.3 MB, free: 5.66 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.0001397/0.3208, allocations: 109.9 kB / 421.4 MB, free: 5.547 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005114/0.3213, allocations: 437.5 kB / 421.8 MB, free: 5.07 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.3213, allocations: 0 / 421.8 MB, free: 5.07 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003076/0.3216, allocations: 377.6 kB / 422.2 MB, free: 4.652 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00064/0.3223, allocations: 125.5 kB / 422.3 MB, free: 4.543 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001088/0.3234, allocations: 0.6866 MB / 423 MB, free: 3.82 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003908/0.3238, allocations: 0.8061 MB / 423.8 MB, free: 2.988 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.317e-05/0.3238, allocations: 11.44 kB / 423.8 MB, free: 2.977 MB / 334.1 MB Notification: Performance of SimCode: time 1.593e-06/0.3238, allocations: 3.938 kB / 423.8 MB, free: 2.973 MB / 334.1 MB Notification: Performance of Templates: time 0.004204/0.328, allocations: 2.693 MB / 426.5 MB, free: 224 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