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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|nRXFERGATE.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001118/0.001118, allocations: 112.2 kB / 17.74 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001098/0.001099, allocations: 187.1 kB / 18.67 MB, free: 4.422 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.332/1.332, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001671/0.001671, allocations: 51.92 kB / 352 MB, free: 3.273 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2833/0.285, allocations: 49.44 MB / 401.4 MB, free: 8.762 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.003336/0.2884, allocations: 1.502 MB / 402.9 MB, free: 7.379 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002758/0.2912, allocations: 0.8481 MB / 403.8 MB, free: 6.527 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.6e-05/0.2913, allocations: 4 kB / 403.8 MB, free: 6.523 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001004/0.2914, allocations: 15.86 kB / 403.8 MB, free: 6.508 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.87e-05/0.2915, allocations: 15.86 kB / 403.8 MB, free: 6.492 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003008/0.2918, allocations: 51.88 kB / 403.8 MB, free: 6.441 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002773/0.2921, allocations: 139.7 kB / 404 MB, free: 6.305 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001255/0.2922, allocations: 28.22 kB / 404 MB, free: 6.273 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008543/0.2931, allocations: 0.5771 MB / 404.6 MB, free: 5.695 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001733/0.2933, allocations: 67.75 kB / 404.7 MB, free: 5.629 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.654e-05/0.2934, allocations: 12 kB / 404.7 MB, free: 5.617 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.828e-05/0.2934, allocations: 8 kB / 404.7 MB, free: 5.609 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001085/0.2935, allocations: 67.7 kB / 404.7 MB, free: 5.543 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001632/0.2937, allocations: 115.2 kB / 404.8 MB, free: 5.43 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005014/0.2942, allocations: 374.6 kB / 405.2 MB, free: 5.062 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.2943, allocations: 0 / 405.2 MB, free: 5.062 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.2943, allocations: 0 / 405.2 MB, free: 5.062 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.532e-06/0.2943, allocations: 0 / 405.2 MB, free: 5.062 MB / 318.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.0009794/0.2953, allocations: 0.72 MB / 405.9 MB, free: 4.273 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.2953, allocations: 12.03 kB / 405.9 MB, free: 4.262 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001003/0.2954, allocations: 36.47 kB / 406 MB, free: 4.227 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003609/0.2958, allocations: 270.3 kB / 406.2 MB, free: 3.922 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.895e-05/0.2958, allocations: 8.375 kB / 406.3 MB, free: 3.914 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.197e-05/0.2959, allocations: 8.375 kB / 406.3 MB, free: 3.906 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000416/0.2963, allocations: 137.8 kB / 406.4 MB, free: 3.766 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.2963, allocations: 3.938 kB / 406.4 MB, free: 3.762 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.501e-05/0.2964, allocations: 7.984 kB / 406.4 MB, free: 3.754 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.2964, allocations: 4 kB / 406.4 MB, free: 3.75 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002064/0.2966, allocations: 59.97 kB / 406.5 MB, free: 3.691 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008715/0.2975, allocations: 464.4 kB / 406.9 MB, free: 3.188 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002774/0.2978, allocations: 102.5 kB / 407 MB, free: 3.078 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002372/0.298, allocations: 80.89 kB / 407.1 MB, free: 2.996 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.2e-05/0.2981, allocations: 0 / 407.1 MB, free: 2.996 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004866/0.2986, allocations: 206.7 kB / 407.3 MB, free: 2.77 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.813e-06/0.2986, allocations: 0 / 407.3 MB, free: 2.77 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.00117/0.2998, allocations: 486.2 kB / 407.8 MB, free: 2.266 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001224/0.2999, allocations: 166.2 kB / 407.9 MB, free: 2.066 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009699/0.3009, allocations: 0.5129 MB / 408.5 MB, free: 1.539 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.283e-05/0.301, allocations: 29.7 kB / 408.5 MB, free: 1.504 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.07e-05/0.3011, allocations: 101.1 kB / 408.6 MB, free: 1.402 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.708e-05/0.3011, allocations: 27.72 kB / 408.6 MB, free: 1.375 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001756/0.3013, allocations: 85.31 kB / 408.7 MB, free: 1.285 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001413/0.3015, allocations: 330.7 kB / 409 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001986/0.3017, allocations: 59.97 kB / 409.1 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002137/0.3019, allocations: 73.75 kB / 409.1 MB, free: 0.8164 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005114/0.3024, allocations: 343.3 kB / 409.5 MB, free: 436 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.3024, allocations: 4 kB / 409.5 MB, free: 432 kB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0008429/0.3033, allocations: 387.1 kB / 409.9 MB, free: 16 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001356/0.3035, allocations: 126.8 kB / 410 MB, free: 15.87 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.3035, allocations: 0 / 410 MB, free: 15.87 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/0.3035, allocations: 4 kB / 410 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.286e-05/0.3035, allocations: 0 / 410 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.3035, allocations: 0 / 410 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001901/0.3037, allocations: 15.92 kB / 410 MB, free: 15.85 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.037e-05/0.3038, allocations: 52 kB / 410.1 MB, free: 15.8 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.0004892/0.3043, allocations: 374.8 kB / 410.4 MB, free: 15.4 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.118e-05/0.3044, allocations: 39.53 kB / 410.5 MB, free: 15.36 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001489/0.3046, allocations: 71.08 kB / 410.5 MB, free: 15.29 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.3046, allocations: 0 / 410.5 MB, free: 15.29 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.3046, allocations: 0 / 410.5 MB, free: 15.29 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.062e-06/0.3046, allocations: 4 kB / 410.5 MB, free: 15.29 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001485/0.3061, allocations: 0.8095 MB / 411.3 MB, free: 14.39 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.3061, allocations: 0 / 411.3 MB, free: 14.39 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.033e-06/0.3062, allocations: 0 / 411.3 MB, free: 14.39 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.357e-06/0.3062, allocations: 4 kB / 411.4 MB, free: 14.39 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.342e-05/0.3062, allocations: 20.09 kB / 411.4 MB, free: 14.37 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.3062, allocations: 3.938 kB / 411.4 MB, free: 14.37 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.3063, allocations: 7.875 kB / 411.4 MB, free: 14.36 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009946/0.3073, allocations: 0.5252 MB / 411.9 MB, free: 13.79 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004722/0.3078, allocations: 256.4 kB / 412.2 MB, free: 13.52 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.725e-05/0.3079, allocations: 12.19 kB / 412.2 MB, free: 13.51 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002291/0.3081, allocations: 12 kB / 412.2 MB, free: 13.5 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001438/0.3083, allocations: 31.91 kB / 412.2 MB, free: 13.46 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.127e-05/0.3084, allocations: 59.92 kB / 412.3 MB, free: 13.41 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0007326/0.3091, allocations: 390.9 kB / 412.7 MB, free: 13.03 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.3091, allocations: 0 / 412.7 MB, free: 13.03 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004699/0.3096, allocations: 44 kB / 412.7 MB, free: 12.98 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.0001714/0.3098, allocations: 117.8 kB / 412.8 MB, free: 12.86 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007387/0.3105, allocations: 441.5 kB / 413.2 MB, free: 12.38 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.3106, allocations: 4.062 kB / 413.2 MB, free: 12.38 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004809/0.311, allocations: 381.6 kB / 413.6 MB, free: 11.95 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009685/0.312, allocations: 107 kB / 413.7 MB, free: 11.86 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00159/0.3136, allocations: 0.6867 MB / 414.4 MB, free: 11.13 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006084/0.3143, allocations: 0.8058 MB / 415.2 MB, free: 10.3 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.012e-05/0.3143, allocations: 19.44 kB / 415.2 MB, free: 10.28 MB / 334.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3143, allocations: 0 / 415.2 MB, free: 10.28 MB / 334.1 MB Notification: Performance of Templates: time 0.006292/0.3206, allocations: 2.7 MB / 417.9 MB, free: 7.543 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER.makefile (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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches