Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER") translateModel(Modelica.Electrical.Digital.Examples.NRXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nRXFERGATE.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001027/0.001027, allocations: 173.6 kB / 17.36 MB, free: 4.32 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.858/1.858, allocations: 205.6 MB / 223.7 MB, free: 8.93 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008763/0.0008763, allocations: 90.55 kB / 272.1 MB, free: 8.117 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002989/0.0002989, allocations: 4 kB / 329 MB, free: 15.06 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2908/0.2911, allocations: 47.57 MB / 376.6 MB, free: 45.57 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.002324/0.2935, allocations: 1.205 MB / 377.8 MB, free: 44.61 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002316/0.2959, allocations: 1.185 MB / 379 MB, free: 43.57 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.344e-05/0.296, allocations: 0 / 379 MB, free: 43.57 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001153/0.2961, allocations: 6.359 kB / 379 MB, free: 43.57 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 9.322e-05/0.2962, allocations: 15.05 kB / 379 MB, free: 43.56 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003101/0.2965, allocations: 47.64 kB / 379 MB, free: 43.52 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002007/0.2967, allocations: 113.7 kB / 379.2 MB, free: 43.45 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000162/0.2969, allocations: 12.45 kB / 379.2 MB, free: 43.45 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009046/0.2978, allocations: 0.5386 MB / 379.7 MB, free: 43.24 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001478/0.298, allocations: 69.45 kB / 379.8 MB, free: 43.2 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.995e-05/0.298, allocations: 3 kB / 379.8 MB, free: 43.2 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.395e-05/0.2981, allocations: 3.125 kB / 379.8 MB, free: 43.2 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001364/0.2982, allocations: 70.12 kB / 379.9 MB, free: 43.16 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001675/0.2984, allocations: 136.6 kB / 380 MB, free: 43.05 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000433/0.2988, allocations: 349.6 kB / 380.3 MB, free: 42.79 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.838e-06/0.2988, allocations: 1 kB / 380.3 MB, free: 42.79 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.354e-06/0.2988, allocations: 0 / 380.3 MB, free: 42.79 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.135e-06/0.2989, allocations: 0 / 380.3 MB, free: 42.79 MB / 298.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.0008271/0.2997, allocations: 0.662 MB / 381 MB, free: 42.12 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.494e-05/0.2998, allocations: 9.125 kB / 381 MB, free: 42.12 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.224e-05/0.2999, allocations: 38.7 kB / 381 MB, free: 42.1 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003425/0.3002, allocations: 266.8 kB / 381.3 MB, free: 41.83 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.722e-05/0.3003, allocations: 12.47 kB / 381.3 MB, free: 41.82 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.281e-05/0.3003, allocations: 7.969 kB / 381.3 MB, free: 41.82 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004192/0.3007, allocations: 133.2 kB / 381.4 MB, free: 41.74 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.3008, allocations: 1.219 kB / 381.4 MB, free: 41.74 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.168e-05/0.3008, allocations: 4.156 kB / 381.5 MB, free: 41.74 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.3008, allocations: 0 / 381.5 MB, free: 41.74 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001585/0.301, allocations: 61.73 kB / 381.5 MB, free: 41.71 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007206/0.3017, allocations: 464.4 kB / 382 MB, free: 41.3 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001974/0.3019, allocations: 99.97 kB / 382.1 MB, free: 41.23 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001583/0.3021, allocations: 80.2 kB / 382.1 MB, free: 41.19 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.369e-05/0.3021, allocations: 4.844 kB / 382.1 MB, free: 41.18 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003709/0.3025, allocations: 214 kB / 382.4 MB, free: 41.01 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.553e-06/0.3025, allocations: 4 kB / 382.4 MB, free: 41 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.0008719/0.3034, allocations: 480.6 kB / 382.8 MB, free: 40.71 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.693e-05/0.3035, allocations: 169.2 kB / 383 MB, free: 40.52 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007497/0.3043, allocations: 0.5045 MB / 383.5 MB, free: 40.18 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.935e-05/0.3043, allocations: 33.86 kB / 383.5 MB, free: 40.15 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.367e-05/0.3044, allocations: 97.34 kB / 383.6 MB, free: 40.05 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.454e-05/0.3044, allocations: 27.34 kB / 383.7 MB, free: 40.04 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.757e-05/0.3044, allocations: 2.75 kB / 383.7 MB, free: 40.04 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.935e-05/0.3046, allocations: 333.7 kB / 384 MB, free: 39.7 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001386/0.3047, allocations: 59.16 kB / 384 MB, free: 39.68 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001482/0.3049, allocations: 76.31 kB / 384.1 MB, free: 39.63 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003559/0.3052, allocations: 346 kB / 384.5 MB, free: 39.3 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.3052, allocations: 0 / 384.5 MB, free: 39.3 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006682/0.3059, allocations: 382.2 kB / 384.8 MB, free: 39.06 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.043e-05/0.306, allocations: 125.5 kB / 384.9 MB, free: 38.92 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.306, allocations: 4.844 kB / 385 MB, free: 38.92 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.245e-05/0.306, allocations: 5.125 kB / 385 MB, free: 38.91 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.601e-05/0.3061, allocations: 5.062 kB / 385 MB, free: 38.91 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/0.3061, allocations: 1.344 kB / 385 MB, free: 38.91 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001771/0.3063, allocations: 10.16 kB / 385 MB, free: 38.91 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001036/0.3064, allocations: 65.23 kB / 385 MB, free: 38.9 MB / 298.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,$whenCondition1,$whenCondition2,e_table.y,x_table.y,nRXFERGATE.nextstate,nRXFERGATE.yy,$PRE.nRXFERGATE.inertialDelaySensitive.x,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: 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.0003451/0.3067, allocations: 361.3 kB / 385.4 MB, free: 38.58 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.447e-05/0.3068, allocations: 38.5 kB / 385.4 MB, free: 38.56 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001137/0.3069, allocations: 71.86 kB / 385.5 MB, free: 38.51 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.095e-06/0.3069, allocations: 5.188 kB / 385.5 MB, free: 38.51 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.307, allocations: 0 / 385.5 MB, free: 38.51 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.848e-06/0.307, allocations: 1.531 kB / 385.5 MB, free: 38.51 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00101/0.308, allocations: 0.8136 MB / 386.3 MB, free: 37.85 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.308, allocations: 1 kB / 386.3 MB, free: 37.85 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.039e-06/0.308, allocations: 4 kB / 386.3 MB, free: 37.85 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.308, allocations: 1.219 kB / 386.3 MB, free: 37.85 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.652e-05/0.3081, allocations: 18.38 kB / 386.3 MB, free: 37.84 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.993e-06/0.3081, allocations: 4.875 kB / 386.3 MB, free: 37.84 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.3081, allocations: 3.938 kB / 386.4 MB, free: 37.83 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007045/0.3088, allocations: 0.5291 MB / 386.9 MB, free: 37.46 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002864/0.3091, allocations: 249.8 kB / 387.1 MB, free: 37.24 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.779e-05/0.3091, allocations: 11.53 kB / 387.1 MB, free: 37.23 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001366/0.3093, allocations: 16.73 kB / 387.2 MB, free: 37.23 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001214/0.3094, allocations: 27.45 kB / 387.2 MB, free: 37.21 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.355e-05/0.3095, allocations: 66.36 kB / 387.2 MB, free: 37.17 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003886/0.3099, allocations: 378.9 kB / 387.6 MB, free: 36.8 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.3099, allocations: 0 / 387.6 MB, free: 36.8 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002591/0.3102, allocations: 44 kB / 387.7 MB, free: 36.76 MB / 298.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.0001496/0.3103, allocations: 122.6 kB / 387.8 MB, free: 36.63 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004286/0.3108, allocations: 441.5 kB / 388.2 MB, free: 36.15 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.3108, allocations: 0 / 388.2 MB, free: 36.15 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002226/0.311, allocations: 377.6 kB / 388.6 MB, free: 35.73 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005284/0.3115, allocations: 114.6 kB / 388.7 MB, free: 35.62 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009977/0.3126, allocations: 0.7615 MB / 389.4 MB, free: 34.84 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002915/0.3129, allocations: 0.8024 MB / 390.3 MB, free: 34.01 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.852e-05/0.3129, allocations: 12.64 kB / 390.3 MB, free: 34 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.167e-05/0.3129, allocations: 11.44 kB / 390.3 MB, free: 33.99 MB / 298.7 MB Notification: Performance of SimCode: time 5.71e-07/0.3129, allocations: 0 / 390.3 MB, free: 33.99 MB / 298.7 MB Notification: Performance of Templates: time 0.006101/0.319, allocations: 4.141 MB / 394.4 MB, free: 29.79 MB / 298.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER.sim & ./Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Digital/Examples/NRXFER/NRXFER.csv","../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches