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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.00128/0.00128, allocations: 188.9 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.595/1.595, allocations: 222.9 MB / 240.9 MB, free: 10.99 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001186/0.001185, allocations: 105.7 kB / 291.2 MB, free: 10.94 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008341/0.0008344, allocations: 39.94 kB / 350 MB, free: 76 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.316/0.3168, allocations: 49.44 MB / 399.5 MB, free: 33.36 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.003593/0.3205, allocations: 1.561 MB / 401 MB, free: 31.8 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001869/0.3224, allocations: 0.8682 MB / 401.9 MB, free: 30.93 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.759e-05/0.3225, allocations: 0 / 401.9 MB, free: 30.93 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001631/0.3227, allocations: 11.36 kB / 401.9 MB, free: 30.93 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 8.773e-05/0.3228, allocations: 15.91 kB / 401.9 MB, free: 30.91 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003001/0.3231, allocations: 43.91 kB / 402 MB, free: 30.87 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001577/0.3233, allocations: 107.8 kB / 402.1 MB, free: 30.76 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001485/0.3234, allocations: 20.22 kB / 402.1 MB, free: 30.74 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005509/0.324, allocations: 0.5595 MB / 402.7 MB, free: 30.18 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001169/0.3241, allocations: 71.64 kB / 402.7 MB, free: 30.11 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.704e-05/0.3242, allocations: 4 kB / 402.7 MB, free: 30.11 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.314e-05/0.3242, allocations: 8 kB / 402.7 MB, free: 30.1 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001021/0.3243, allocations: 55.77 kB / 402.8 MB, free: 30.04 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001352/0.3245, allocations: 115.1 kB / 402.9 MB, free: 29.93 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000318/0.3248, allocations: 366.7 kB / 403.3 MB, free: 29.57 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.234e-06/0.3248, allocations: 0 / 403.3 MB, free: 29.57 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.3248, allocations: 0 / 403.3 MB, free: 29.57 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.992e-06/0.3248, allocations: 0 / 403.3 MB, free: 29.57 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.000769/0.3256, allocations: 0.7204 MB / 404 MB, free: 28.78 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.152e-05/0.3256, allocations: 8.031 kB / 404 MB, free: 28.77 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.726e-05/0.3257, allocations: 36.56 kB / 404 MB, free: 28.73 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002957/0.326, allocations: 274.3 kB / 404.3 MB, free: 28.43 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.317e-05/0.3261, allocations: 12.38 kB / 404.3 MB, free: 28.41 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.649e-05/0.3261, allocations: 12.38 kB / 404.3 MB, free: 28.4 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003289/0.3264, allocations: 133.9 kB / 404.4 MB, free: 28.27 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.3265, allocations: 0 / 404.4 MB, free: 28.27 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.376e-05/0.3265, allocations: 4 kB / 404.4 MB, free: 28.26 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.3265, allocations: 0 / 404.4 MB, free: 28.26 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001643/0.3267, allocations: 55.97 kB / 404.5 MB, free: 28.21 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006341/0.3273, allocations: 464.4 kB / 405 MB, free: 27.7 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001739/0.3275, allocations: 98.55 kB / 405.1 MB, free: 27.6 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001292/0.3276, allocations: 88.88 kB / 405.1 MB, free: 27.51 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.125e-06/0.3276, allocations: 0 / 405.1 MB, free: 27.51 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003445/0.328, allocations: 210.6 kB / 405.3 MB, free: 27.28 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.553e-06/0.328, allocations: 0 / 405.3 MB, free: 27.28 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.0007136/0.3287, allocations: 477.5 kB / 405.8 MB, free: 26.78 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.955e-05/0.3288, allocations: 178.1 kB / 406 MB, free: 26.57 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005525/0.3294, allocations: 0.5091 MB / 406.5 MB, free: 26.05 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.564e-05/0.3294, allocations: 29.7 kB / 406.5 MB, free: 26.02 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.453e-05/0.3295, allocations: 109 kB / 406.6 MB, free: 25.91 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.848e-05/0.3295, allocations: 23.66 kB / 406.7 MB, free: 25.89 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001121/0.3297, allocations: 81.42 kB / 406.7 MB, free: 25.8 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001222/0.3298, allocations: 326.8 kB / 407.1 MB, free: 25.47 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001249/0.3299, allocations: 63.97 kB / 407.1 MB, free: 25.41 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001291/0.3301, allocations: 73.66 kB / 407.2 MB, free: 25.33 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003463/0.3304, allocations: 351.2 kB / 407.5 MB, free: 24.93 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.3304, allocations: 0 / 407.5 MB, free: 24.93 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005533/0.331, allocations: 381.3 kB / 407.9 MB, free: 24.53 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001173/0.3311, allocations: 126.8 kB / 408 MB, free: 24.38 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.986e-06/0.3311, allocations: 0 / 408 MB, free: 24.38 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.378e-05/0.3312, allocations: 4.031 kB / 408 MB, free: 24.38 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.413e-05/0.3312, allocations: 3.938 kB / 408 MB, free: 24.38 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.74e-05/0.3312, allocations: 7.938 kB / 408 MB, free: 24.37 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001484/0.3314, allocations: 23.83 kB / 408.1 MB, free: 24.34 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.4e-05/0.3315, allocations: 55.94 kB / 408.1 MB, free: 24.29 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,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.000338/0.3318, allocations: 366.7 kB / 408.5 MB, free: 23.9 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.741e-05/0.3319, allocations: 35.62 kB / 408.5 MB, free: 23.86 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001113/0.332, allocations: 63.16 kB / 408.6 MB, free: 23.79 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.357e-06/0.332, allocations: 4 kB / 408.6 MB, free: 23.79 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.111e-05/0.332, allocations: 0 / 408.6 MB, free: 23.79 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.653e-06/0.332, allocations: 3.984 kB / 408.6 MB, free: 23.79 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009188/0.333, allocations: 0.8242 MB / 409.4 MB, free: 22.88 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.333, allocations: 3.938 kB / 409.4 MB, free: 22.88 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.671e-06/0.333, allocations: 0 / 409.4 MB, free: 22.88 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.333, allocations: 0 / 409.4 MB, free: 22.88 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.028e-05/0.333, allocations: 16.19 kB / 409.4 MB, free: 22.86 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.333, allocations: 4 kB / 409.4 MB, free: 22.86 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.333, allocations: 3.938 kB / 409.4 MB, free: 22.86 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001098/0.3341, allocations: 1.206 MB / 410.6 MB, free: 21.57 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003255/0.3345, allocations: 240.4 kB / 410.9 MB, free: 21.31 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001276/0.3346, allocations: 12 kB / 410.9 MB, free: 21.3 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001373/0.3348, allocations: 11.98 kB / 410.9 MB, free: 21.29 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000147/0.3349, allocations: 27.92 kB / 410.9 MB, free: 21.26 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.433e-05/0.335, allocations: 59.98 kB / 411 MB, free: 21.2 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0005123/0.3355, allocations: 386.9 kB / 411.4 MB, free: 20.82 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3355, allocations: 0 / 411.4 MB, free: 20.82 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003949/0.3359, allocations: 47.91 kB / 411.4 MB, free: 20.78 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.000201/0.3361, allocations: 117.9 kB / 411.5 MB, free: 20.65 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005349/0.3367, allocations: 437.5 kB / 412 MB, free: 20.18 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.3367, allocations: 0 / 412 MB, free: 20.18 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003095/0.337, allocations: 373.6 kB / 412.3 MB, free: 19.76 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006405/0.3377, allocations: 122 kB / 412.4 MB, free: 19.65 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001202/0.3389, allocations: 0.8848 MB / 413.3 MB, free: 18.73 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003449/0.3393, allocations: 0.8025 MB / 414.1 MB, free: 17.9 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.737e-05/0.3393, allocations: 16.62 kB / 414.1 MB, free: 17.88 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.659e-05/0.3393, allocations: 11.44 kB / 414.1 MB, free: 17.87 MB / 298.7 MB Notification: Performance of SimCode: time 5.41e-07/0.3393, allocations: 0 / 414.1 MB, free: 17.87 MB / 298.7 MB Notification: Performance of Templates: time 0.00693/0.3463, allocations: 4.518 MB / 418.7 MB, free: 13.29 MB / 298.7 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/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/NRXFER/NRXFER.csv","../files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches